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/MesWorkReporting.java | 102 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 102 insertions(+), 0 deletions(-) diff --git a/src/main/java/org/jeecg/modules/mes/entity/MesWorkReporting.java b/src/main/java/org/jeecg/modules/mes/entity/MesWorkReporting.java new file mode 100644 index 0000000..36fb341 --- /dev/null +++ b/src/main/java/org/jeecg/modules/mes/entity/MesWorkReporting.java @@ -0,0 +1,102 @@ +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_work_reporting") +@Accessors(chain = true) +@EqualsAndHashCode(callSuper = false) +@ApiModel(value="mes_work_reporting瀵硅薄", description="宸ュ崟鎶ュ伐") +public class MesWorkReporting 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; + /**璁㈠崟ID*/ + @Excel(name = "璁㈠崟ID", width = 15) + @ApiModelProperty(value = "璁㈠崟ID") + private String orderId; + /**宸ュ崟ID*/ + @Excel(name = "宸ュ崟ID", width = 15) + @ApiModelProperty(value = "宸ュ崟ID") + private String workOrderId; + /**浜х嚎ID*/ + @Excel(name = "浜х嚎ID", width = 15) + @ApiModelProperty(value = "浜х嚎ID") + private String factoryId; + /**鎵规鍙�*/ + @Excel(name = "鎵规鍙�", width = 15) + @ApiModelProperty(value = "鎵规鍙�") + private String batchNumber; + /**鎵樺彿*/ + @Excel(name = "鎵樺彿", width = 15) + @ApiModelProperty(value = "鎵樺彿") + private String palletNumber; + /**鏁伴噺*/ + @Excel(name = "鏁伴噺", width = 15) + @ApiModelProperty(value = "鏁伴噺") + private Double quantity; + /**鎶ュ伐浜�*/ + @Excel(name = "鎶ュ伐浜�", width = 15) + @ApiModelProperty(value = "鎶ュ伐浜�") + private String reporter; + /**鎶ュ伐鏃堕棿*/ + @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 reportTime; + /**绾胯竟浠揑D*/ + @Excel(name = "绾胯竟浠揑D", width = 15) + @ApiModelProperty(value = "绾胯竟浠揑D") + private String warehouseId; + /**鎴愬搧涓嬬嚎鎵撳嵃鐘舵��*/ + @Excel(name = "鎴愬搧涓嬬嚎鎵撳嵃鐘舵��", width = 15, dicCode = "print_status") + @Dict(dicCode = "print_status") + @ApiModelProperty(value = "鎴愬搧涓嬬嚎鎵撳嵃鐘舵��") + private String printStatus; +} -- Gitblit v1.9.3