From 8c945d42c6610abd9ef17bc153114024175bec2a Mon Sep 17 00:00:00 2001 From: houshuai <17802598606@163.com> Date: 星期四, 03 七月 2025 19:43:12 +0800 Subject: [PATCH] 线边库和订单 基本搭建 --- src/main/java/org/jeecg/modules/pms/entity/PmsProcessBillMaterials.java | 82 +++++++++++++++++++++++++++++++++++++++++ 1 files changed, 82 insertions(+), 0 deletions(-) diff --git a/src/main/java/org/jeecg/modules/pms/entity/PmsProcessBillMaterials.java b/src/main/java/org/jeecg/modules/pms/entity/PmsProcessBillMaterials.java new file mode 100644 index 0000000..95ea7ca --- /dev/null +++ b/src/main/java/org/jeecg/modules/pms/entity/PmsProcessBillMaterials.java @@ -0,0 +1,82 @@ +package org.jeecg.modules.pms.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.jeecgframework.poi.excel.annotation.Excel; +import org.springframework.format.annotation.DateTimeFormat; + +import java.io.Serializable; +import java.util.Date; + +/** + * @Description: 璁㈠崟BOM + * @Author: jeecg-boot + * @Date: 2025-07-01 + * @Version: V1.0 + */ +@Data +@TableName("pms_process_bill_materials") +@Accessors(chain = true) +@EqualsAndHashCode(callSuper = false) +@ApiModel(value="pms_process_bill_materials瀵硅薄", description="璁㈠崟BOM") +public class PmsProcessBillMaterials 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; + /**鐗╂枡缂栫爜*/ + @Excel(name = "鐗╂枡缂栫爜", width = 15) + @ApiModelProperty(value = "鐗╂枡缂栫爜") + private String materialNumber; + /**鐗╂枡鍚嶇О*/ + @Excel(name = "鐗╂枡鍚嶇О", width = 15) + @ApiModelProperty(value = "鐗╂枡鍚嶇О") + private String materialName; + /**BOM浠g爜*/ + @Excel(name = "BOM浠g爜", width = 15) + @ApiModelProperty(value = "BOM浠g爜") + private String billMaterialsCode; + /**鍩烘湰鍗曚綅*/ + @Excel(name = "鍩烘湰鍗曚綅", width = 15) + @ApiModelProperty(value = "鍩烘湰鍗曚綅") + private String productionUnit; + /**璁㈠崟鏁伴噺*/ + @Excel(name = "璁㈠崟鏁伴噺", width = 15) + @ApiModelProperty(value = "璁㈠崟鏁伴噺") + private Double productionQuantity; +} -- Gitblit v1.9.3