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/MesProductionOrder.java | 134 ++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 134 insertions(+), 0 deletions(-) diff --git a/src/main/java/org/jeecg/modules/mes/entity/MesProductionOrder.java b/src/main/java/org/jeecg/modules/mes/entity/MesProductionOrder.java new file mode 100644 index 0000000..47573aa --- /dev/null +++ b/src/main/java/org/jeecg/modules/mes/entity/MesProductionOrder.java @@ -0,0 +1,134 @@ +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: SAP鐢熶骇璁㈠崟 + * @Author: jeecg-boot + * @Date: 2025-07-04 + * @Version: V1.0 + */ +@Data +@TableName("mes_production_order") +@Accessors(chain = true) +@EqualsAndHashCode(callSuper = false) +@ApiModel(value="mes_production_order瀵硅薄", description="SAP鐢熶骇璁㈠崟") +public class MesProductionOrder 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 orderCode; + /**璁㈠崟绫诲瀷*/ + @Excel(name = "璁㈠崟绫诲瀷", width = 15) + @ApiModelProperty(value = "璁㈠崟绫诲瀷") + private String orderCategory; + /**鐗╂枡缂栧彿*/ + @Excel(name = "鐗╂枡缂栧彿", width = 15) + @ApiModelProperty(value = "鐗╂枡缂栧彿") + private String materialNumber; + /**鐗╂枡鍚嶇О*/ + @Excel(name = "鐗╂枡鍚嶇О", width = 15) + @ApiModelProperty(value = "鐗╂枡鍚嶇О") + private String materialName; + /**璁″垝寮�濮嬫棩鏈�*/ + @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 planStart; + /**璁″垝缁撴潫鏃ユ湡*/ + @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 planEnd; + /**璁㈠崟鏁伴噺*/ + @Excel(name = "璁㈠崟鏁伴噺", width = 15) + @ApiModelProperty(value = "璁㈠崟鏁伴噺") + private Double orderQuantity; + /**浜у搧鍗曚綅*/ + @Excel(name = "浜у搧鍗曚綅", width = 15, dicCode = "production_unit") + @Dict(dicCode = "production_unit") + @ApiModelProperty(value = "浜у搧鍗曚綅") + private String productionUnit; + /**璁㈠崟鐘舵��*/ + @Excel(name = "璁㈠崟鐘舵��", width = 15, dicCode = "order_status") + @Dict(dicCode = "order_status") + @ApiModelProperty(value = "璁㈠崟鐘舵��") + private String orderStatus; + /**浼樺厛绾�*/ + @Excel(name = "浼樺厛绾�", width = 15, dicCode = "priority") + @Dict(dicCode = "priority") + @ApiModelProperty(value = "浼樺厛绾�") + private String priority; + /**璁″垝宸ヨ壓璺嚎*/ + @Excel(name = "璁″垝宸ヨ壓璺嚎", width = 15) + @ApiModelProperty(value = "璁″垝宸ヨ壓璺嚎") + private String processRoute; + /**璁″垝鐗╂枡娓呭崟*/ + @Excel(name = "璁″垝鐗╂枡娓呭崟", width = 15) + @ApiModelProperty(value = "璁″垝鐗╂枡娓呭崟") + private String materialListCode; + /**宸ュ巶缂栫爜*/ + @Excel(name = "宸ュ巶缂栫爜", width = 15) + @ApiModelProperty(value = "宸ュ巶缂栫爜") + private String factoryCode; + /**宸ュ巶鍚嶇О*/ + @Excel(name = "宸ュ巶鍚嶇О", width = 15) + @ApiModelProperty(value = "宸ュ巶鍚嶇О") + private String factoryName; + /**瀹㈡埛鍨嬪彿*/ + @Excel(name = "瀹㈡埛鍨嬪彿", width = 15) + @ApiModelProperty(value = "瀹㈡埛鍨嬪彿") + private String customerOrderModel; + /**瀹㈡埛鍚嶇О*/ + @Excel(name = "瀹㈡埛鍚嶇О", width = 15) + @ApiModelProperty(value = "瀹㈡埛鍚嶇О") + private String customer; + /**澶囨敞*/ + @Excel(name = "澶囨敞", width = 15) + @ApiModelProperty(value = "澶囨敞") + private String remark; +} -- Gitblit v1.9.3