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/Cutter.java | 108 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 108 insertions(+), 0 deletions(-) diff --git a/lxzn-module-dnc/src/main/java/org/jeecg/modules/dnc/entity/Cutter.java b/lxzn-module-dnc/src/main/java/org/jeecg/modules/dnc/entity/Cutter.java new file mode 100644 index 0000000..cabeeb0 --- /dev/null +++ b/lxzn-module-dnc/src/main/java/org/jeecg/modules/dnc/entity/Cutter.java @@ -0,0 +1,108 @@ +package org.jeecg.modules.dnc.entity; + +import com.baomidou.mybatisplus.annotation.FieldFill; +import com.baomidou.mybatisplus.annotation.TableField; +import com.baomidou.mybatisplus.annotation.TableName; +import com.fasterxml.jackson.annotation.JsonFormat; +import com.fasterxml.jackson.annotation.JsonIgnore; +import io.swagger.annotations.Api; +import lombok.Data; +import lombok.NoArgsConstructor; +import org.jeecg.common.aspect.annotation.Dict; +import org.jeecgframework.poi.excel.annotation.Excel; + +import java.io.Serializable; +import java.util.Date; + +@Data +@NoArgsConstructor +@TableName(value = "nc_cutter") +@Api(value = "鍒�鍏�") +public class Cutter implements Serializable { + private static final long serialVersionUID = 1529244980533421687L; + + private String id; + + //宸ュ簭鎴栧伐姝d + @Excel(name = "鎵�灞炰笟鍔d", width = 15) + @TableField(value = "attribution_id") + private String attributionId; + + //宸ュ簭/宸ユ 5宸ュ簭 6宸ユ + @Excel(name = "鎵�灞炵被鍨�", width = 15) + @TableField(value = "attribution_type") + private Integer attributionType; + + //瀵瑰簲鏂囨。id + @Excel(name = "瀵瑰簲鏂囨。id", width = 15) + @TableField(value = "doc_id") + private String docId; + + //瀵瑰簲鍒�鍏峰簱id + @Excel(name = "瀵瑰簲鍒�鍏峰簱id", width = 15) + @TableField(value = "tools_id") + private String toolsId; + + //鍒�鍏峰悕绉� + @Excel(name = "鍒�鍏峰悕绉�", width = 15) + @TableField(value = "cutter_name") + private String cutterName; + + //鍒�鍏风紪鍙� + @Excel(name = "鍒�鍏风紪鍙�", width = 15) + @TableField(value = "cutter_code") + private String cutterCode; + + //鍒�鍏风畝绉� + @Excel(name = "鍒�鍏风畝绉�", width = 15,dicCode = "cutter_type") + @TableField(value = "cutter_type") + @Dict(dicCode = "cutter_type") + private String cutterType; + + //棰濆畾瀵垮懡 + @Excel(name = "棰濆畾瀵垮懡", width = 15) + @TableField(value = "lifetime") + private String lifetime; + + //鍒�浣� + @Excel(name = "鍒�浣�", width = 15) + @TableField(value = "cutter_spacing") + private String cutterSpacing; + + //鏁伴噺 + @Excel(name = "鏁伴噺", width = 15) + @TableField(value = "quantity") + private Integer quantity; + + //鍒�鍏疯鏍� + @Excel(name = "鍒�鍏疯鏍�", width = 15) + @TableField(value = "cutter_spec") + private String cutterSpec; + + //鎻忚堪 + @Excel(name = "鎻忚堪", width = 15) + @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; + + @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8") + @TableField(value = "update_time", fill = FieldFill.INSERT) + private Date updateTime; + + @JsonIgnore + @TableField(value = "create_by", select = false, fill = FieldFill.INSERT) + @Dict(dictTable = "sys_user", dicCode = "username", dicText = "realname") + private String createBy; + + @JsonIgnore + @TableField(value = "update_by", select = false, fill = FieldFill.UPDATE) + @Dict(dictTable = "sys_user", dicCode = "username", dicText = "realname") + private String updateBy; + + @JsonIgnore + @TableField(value = "delete_flag", select = false) + private Integer deleteFlag = 0; +} -- Gitblit v1.9.3