¶Ô±ÈÐÂÎļþ |
| | |
| | | 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; |
| | | |
| | | //å·¥åºæå·¥æ¥id |
| | | @Excel(name = "æå±ä¸å¡id", 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; |
| | | } |