package org.jeecg.modules.tms.entity; import com.baomidou.mybatisplus.annotation.IdType; import com.baomidou.mybatisplus.annotation.TableField; import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.annotation.TableName; import com.fasterxml.jackson.annotation.JsonFormat; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import lombok.Data; import org.jeecg.common.aspect.annotation.Dict; import org.jeecgframework.poi.excel.annotation.Excel; import org.springframework.format.annotation.DateTimeFormat; import java.io.Serializable; import java.math.BigDecimal; /** * @Description: 盘点单明细 * @Author: houjie * @Date: 2025-05-16 * @Version: V1.0 */ @ApiModel(value="tms_stocktaking_bound_detail对象", description="盘点单明细") @Data @TableName("tms_stocktaking_bound_detail") public class ToolsStocktakingBoundDetail implements Serializable { private static final long serialVersionUID = 1L; /**主键*/ @TableId(type = IdType.ASSIGN_ID) @ApiModelProperty(value = "主键") private String id; /**盘点单id*/ @ApiModelProperty(value = "盘点单id") private String stocktakingBoundId; /**创建人*/ @ApiModelProperty(value = "创建人") private String createBy; /**创建日期*/ @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss") @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss") @ApiModelProperty(value = "创建日期") private java.util.Date createTime; /**更新人*/ @ApiModelProperty(value = "更新人") private String updateBy; /**更新日期*/ @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss") @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss") @ApiModelProperty(value = "更新日期") private java.util.Date updateTime; /**工具编码*/ @Excel(name = "工具编码", width = 15) @ApiModelProperty(value = "工具编码") private String toolCode; /**工具编号*/ @Excel(name = "工具编号", width = 15) @ApiModelProperty(value = "工具编号") private String toolId; /**库存号*/ @ApiModelProperty(value = "库存号") private String goodsShelvesId; /**账号数量*/ @Excel(name = "账面数量", width = 15) @ApiModelProperty(value = "账面数量") private java.math.BigDecimal bookQuantity; /**可用数量*/ @Excel(name = "可用数量", width = 15) @ApiModelProperty(value = "可用数量") private java.math.BigDecimal availableQuantity; /**实盘数量*/ @Excel(name = "实盘数量", width = 15) @ApiModelProperty(value = "实盘数量") private java.math.BigDecimal practicalQuantity; /**盘亏盘盈*/ @Dict(dicCode = "surplusDeficit") @Excel(name = "盘亏盘盈", width = 15) @ApiModelProperty(value = "盘亏盘盈") private String surplusDeficit; /**盘库时间*/ @Excel(name = "盘库时间", width = 20, format = "yyyy-MM-dd") @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd") @DateTimeFormat(pattern="yyyy-MM-dd") @ApiModelProperty(value = "盘库时间") private java.util.Date stocktakingDate; /**租户号*/ @Excel(name = "租户号", width = 15) @ApiModelProperty(value = "租户号") private String tenantId; /**备注*/ @Excel(name = "备注", width = 15) @ApiModelProperty(value = "备注") private String remark; /**差异值*/ @Excel(name = "差异值", width = 15) @ApiModelProperty(value = "差异值") private String differenceValue; @TableField(exist = false) private String paramaTableName; @TableField(exist = false) private String foreignLanguageName; @TableField(exist = false) private String chineseName; @TableField(exist = false) private String supplierId; @TableField(exist = false) private String storageLocation; @TableField(exist = false) private String toolMaterial; @TableField(exist = false) private String toolModel; /** * 库位号 */ @TableField(exist = false) private String positionCode; @Dict(dictTable = "tms_tools_classify" , dicText = "type_name", dicCode = "id") @TableField(exist = false) private String classifyId; }