package org.jeecg.modules.mes.entity; import com.baomidou.mybatisplus.annotation.*; 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.math.BigDecimal; import java.util.Date; /** * @Description: 上料 * @Author: jeecg-boot * @Date: 2025-07-07 * @Version: V1.0 */ @Data @TableName("mes_material_loading") @Accessors(chain = true) @EqualsAndHashCode(callSuper = false) @ApiModel(value = "mes_material_loading对象", description = "上料") public class MesMaterialLoading implements Serializable { private static final long serialVersionUID = 1L; /**主键*/ @TableId(type = IdType.ASSIGN_ID) @ApiModelProperty(value = "主键") private String id; /**创建人*/ @ApiModelProperty(value = "创建人") @Dict(dictTable = "sys_user", dicText = "realname", dicCode = "username") 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 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 Date updateTime; /**删除标记*/ @Excel(name = "删除标记", width = 15) @ApiModelProperty(value = "删除标记") @TableLogic private Integer delFlag; /**产线ID*/ @Excel(name = "产线ID", width = 15) @ApiModelProperty(value = "产线ID") @Dict(dictTable = "base_factory", dicCode = "id", dicText = "factory_name") private String factoryId; /**库存地ID*/ @Excel(name = "库存地ID", width = 15) @ApiModelProperty(value = "库存地ID") @Dict(dictTable = "base_line_side_warehouse", dicCode = "id", dicText = "warehouse_name") private String warehouseId; /**物料编码*/ @Excel(name = "物料编码", width = 15) @ApiModelProperty(value = "物料编码") private String materialNumber; /**物料名称*/ @Excel(name = "物料名称", width = 15) @ApiModelProperty(value = "物料名称") private String materialName; /**批次号*/ @Excel(name = "批次号", width = 15) @ApiModelProperty(value = "批次号") private String batchNumber; /**钢球尺寸*/ @Excel(name = "钢球尺寸", width = 15) @ApiModelProperty(value = "钢球尺寸") @Dict(dicCode = "steel_ball_size") private String steelBallSize; /**数量*/ @Excel(name = "数量", width = 15) @ApiModelProperty(value = "数量") private BigDecimal quantity; /**剩余数量*/ @Excel(name = "剩余数量", width = 15) @ApiModelProperty(value = "剩余数量") private BigDecimal remainingQuantity; /**下料标记*/ @Excel(name = "下料标记", width = 15) @ApiModelProperty(value = "下料标记") private String unloadingFlag; /** 分类 */ @TableField(exist = false) private String category; /** 下料数量 */ @TableField(exist = false) private BigDecimal unloadingQuantity; }