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 lombok.EqualsAndHashCode; import lombok.experimental.Accessors; 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.util.Date; /** * @Description: 损耗单明细 * @Author: jeecg-boot * @Date: 2025-05-21 * @Version: V1.0 */ @ApiModel(value = "tms_loss_bound_detail对象", description = "损耗单明细") @Data @TableName("tms_loss_bound_detail") public class ToolsLossBoundDetail implements Serializable { private static final long serialVersionUID = 1L; /** * 主键 */ @TableId(type = IdType.ASSIGN_ID) @ApiModelProperty(value = "主键") private String id; /** * 工具编码 */ @Excel(name = "toolCode", width = 15) @ApiModelProperty(value = "toolCode") private String toolCode; /** * 工具编号 */ @Excel(name = "toolId", width = 15) @ApiModelProperty(value = "toolId") private String toolId; /** * 报损原因 */ @Excel(name = "lossReason", width = 15) @ApiModelProperty(value = "lossReason") private String lossReason; /** * 报损数量 */ @Excel(name = "lossNumber", width = 15) @ApiModelProperty(value = "lossNumber") private java.math.BigDecimal lossNumber; /** * 存储位置(库位号) */ @Excel(name = "goodsShelvesId", width = 15) @ApiModelProperty(value = "goodsShelvesId") private String goodsShelvesId; /** * 入库时间 */ @Excel(name = "inStoreDate", width = 20, format = "yyyy-MM-dd HH:mm:ss") @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss") @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") @ApiModelProperty(value = "inStoreDate") private Date inStoreDate; /** * 租户号 */ @Excel(name = "tenantId", width = 15) @ApiModelProperty(value = "tenantId") private String tenantId; /** * 创建人 */ @Excel(name = "createBy", width = 15) @ApiModelProperty(value = "createBy") private String createBy; /** * 创建时间 */ @Excel(name = "createTime", width = 20, format = "yyyy-MM-dd HH:mm:ss") @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss") @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") @ApiModelProperty(value = "createTime") private Date createTime; /** * 更新人 */ @Excel(name = "updateBy", width = 15) @ApiModelProperty(value = "updateBy") private String updateBy; /** * 更新时间 */ @Excel(name = "updateTime", width = 20, format = "yyyy-MM-dd HH:mm:ss") @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss") @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") @ApiModelProperty(value = "updateTime") private Date updateTime; /** * 报损单号 */ @Excel(name = "lossBoundId", width = 15) @ApiModelProperty(value = "lossBoundId") private String lossBoundId; @Dict(dictTable = "tms_tools_classify" , dicText = "type_name", dicCode = "id") @TableField(exist = false) private String classifyId; @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 partMaterial; @TableField(exist = false) private String toolModel; /** * 库位号 */ @TableField(exist = false) private String positionCode; @TableField(exist = false) @Dict(dicCode = "application_type") private String applicationType; }