From 23855599412c4d61b38d78f0f3abd3430a48b5b1 Mon Sep 17 00:00:00 2001 From: zhangherong <571457620@qq.com> Date: 星期三, 25 六月 2025 11:51:38 +0800 Subject: [PATCH] Merge branch 'mdc_hyjs_master' --- lxzn-module-dnc/src/main/java/org/jeecg/modules/dnc/entity/ComponentInfo.java | 81 ++++++++++++++++++++++++++++++++++++++++ 1 files changed, 81 insertions(+), 0 deletions(-) diff --git a/lxzn-module-dnc/src/main/java/org/jeecg/modules/dnc/entity/ComponentInfo.java b/lxzn-module-dnc/src/main/java/org/jeecg/modules/dnc/entity/ComponentInfo.java new file mode 100644 index 0000000..0719e35 --- /dev/null +++ b/lxzn-module-dnc/src/main/java/org/jeecg/modules/dnc/entity/ComponentInfo.java @@ -0,0 +1,81 @@ +package org.jeecg.modules.dnc.entity; + +import com.baomidou.mybatisplus.annotation.*; +import com.fasterxml.jackson.annotation.JsonFormat; +import com.fasterxml.jackson.annotation.JsonIgnore; +import io.swagger.annotations.ApiModel; +import lombok.Data; +import lombok.NoArgsConstructor; +import org.jeecg.common.aspect.annotation.Dict; + +import java.math.BigDecimal; +import java.util.Date; +/** + * @Description: 閮ㄤ欢 + * @author clown + */ +@Data +@NoArgsConstructor +@TableName(value = "nc_component_info") +@ApiModel(value = "閮ㄤ欢绠$悊") +public class ComponentInfo { + @TableId(value = "component_id") + private String componentId; + @TableField(value = "parent_id") + private String parentId; + @TableField(value = "product_id") + private String productId; + @TableField(value = "component_name") + private String componentName; + @TableField(value = "materiel_code") + private String materielCode; + @TableField(value = "materiel_desp") + private String materielDesp; + @TableField(value = "component_model") + private String componentModel; + @TableField(value = "component_scale") + private String componentScale; + @TableField(value = "component_weight") + private BigDecimal componentWeight; + @TableField(value = "rank_level") + private Integer rankLevel; + @TableField(value = "assemble_type") + private Integer assembleType; + @TableField(value = "produce_type") + private Integer produceType; + @TableField(value = "process_type") + private Integer processType; + @TableField(value = "structure_type") + private String structureType; + @TableField(value = "component_code") + private String componentCode; + @TableField(value = "component_status") + private Integer componentStatus; + @TableField(value = "description") + private String description; + + @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8") + @TableField(value = "create_time", fill = FieldFill.INSERT) + private Date createTime; + @TableField(value = "update_time", fill = FieldFill.UPDATE) + @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8") + private Date updateTime; + @TableField(value = "create_by",fill = FieldFill.INSERT) + @Dict(dictTable = "sys_user", dicCode = "username", dicText = "realname") + private String createBy; + @TableField(value = "update_by", fill = FieldFill.UPDATE) + @Dict(dictTable = "sys_user", dicCode = "username", dicText = "realname") + private String updateBy; + @JsonIgnore + @TableLogic + @TableField(value = "delete_flag", select = false) + private Integer deleteFlag = 0; + //琚�熺敤id + @TableField(value = "borrow_id") + private String borrowId; + + //鍒涘缓浜� + private transient String createName; + //鏇存柊浜� + private transient String updateName; +} -- Gitblit v1.9.3