From e40e3e8cd0c19a38458a5804d570361302bf2acd Mon Sep 17 00:00:00 2001 From: houshuai <17802598606@163.com> Date: 星期五, 04 七月 2025 15:56:08 +0800 Subject: [PATCH] 生产管控模块 基本搭建 --- src/main/java/org/jeecg/modules/mes/entity/MesProductionWorkOrder.java | 122 ++++++++++++++++++++++++++++++++++++++++ 1 files changed, 122 insertions(+), 0 deletions(-) diff --git a/src/main/java/org/jeecg/modules/mes/entity/MesProductionWorkOrder.java b/src/main/java/org/jeecg/modules/mes/entity/MesProductionWorkOrder.java new file mode 100644 index 0000000..2013fab --- /dev/null +++ b/src/main/java/org/jeecg/modules/mes/entity/MesProductionWorkOrder.java @@ -0,0 +1,122 @@ +package org.jeecg.modules.mes.entity; + +import com.baomidou.mybatisplus.annotation.IdType; +import com.baomidou.mybatisplus.annotation.TableId; +import com.baomidou.mybatisplus.annotation.TableLogic; +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-07-04 + * @Version: V1.0 + */ +@Data +@TableName("mes_production_work_order") +@Accessors(chain = true) +@EqualsAndHashCode(callSuper = false) +@ApiModel(value="mes_production_work_order瀵硅薄", description="鎺掍骇宸ュ崟") +public class MesProductionWorkOrder implements Serializable { + private static final long serialVersionUID = 1L; + + /**涓婚敭*/ + @TableId(type = IdType.ASSIGN_ID) + @ApiModelProperty(value = "涓婚敭") + private String id; + /**鍒涘缓浜�*/ + @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 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; + /**宸ュ崟鍙�(浠诲姟鍙�)*/ + @Excel(name = "宸ュ崟鍙�(浠诲姟鍙�)", width = 15) + @ApiModelProperty(value = "宸ュ崟鍙�(浠诲姟鍙�)") + private String workOrderCode; + /**鐗╂枡缂栫爜*/ + @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 Double planQuantity; + /**浜х嚎ID(鍐椾綑)*/ + @Excel(name = "浜х嚎ID(鍐椾綑)", width = 15) + @ApiModelProperty(value = "浜х嚎ID(鍐椾綑)") + private String factoryId; + /**鐝粍ID*/ + @Excel(name = "鐝粍ID", width = 15) + @ApiModelProperty(value = "鐝粍ID") + private String groupId; + /**鐝ID(鍐椾綑)*/ + @Excel(name = "鐝ID(鍐椾綑)", width = 15) + @ApiModelProperty(value = "鐝ID(鍐椾綑)") + private String shiftId; + /**鎺掍骇鏃ユ湡*/ + @Excel(name = "鎺掍骇鏃ユ湡", 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 = "鎺掍骇鏃ユ湡") + private Date workOrderDate; + /**宸ュ崟鐘舵��*/ + @Excel(name = "宸ュ崟鐘舵��", width = 15, dicCode = "work_order_status") + @Dict(dicCode = "work_order_status") + @ApiModelProperty(value = "宸ュ崟鐘舵��") + private String workOrderStatus; + /**瀹為檯鎶ュ伐鏁伴噺*/ + @Excel(name = "瀹為檯鎶ュ伐鏁伴噺", width = 15) + @ApiModelProperty(value = "瀹為檯鎶ュ伐鏁伴噺") + private Double actualQuantity; + /**鍙戝竷浜�*/ + @Excel(name = "鍙戝竷浜�", width = 15) + @ApiModelProperty(value = "鍙戝竷浜�") + private String publisher; + /**鍙戝竷鏃堕棿*/ + @Excel(name = "鍙戝竷鏃堕棿", 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 = "鍙戝竷鏃堕棿") + private Date publishTime; + /**閲嶅彂甯冧汉*/ + @Excel(name = "閲嶅彂甯冧汉", width = 15) + @ApiModelProperty(value = "閲嶅彂甯冧汉") + private String republisher; + /**閲嶅彂甯冩椂闂�*/ + @Excel(name = "閲嶅彂甯冩椂闂�", 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 = "閲嶅彂甯冩椂闂�") + private Date republishTime; +} -- Gitblit v1.9.3