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 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
|
@TableField(value = "process_step_id")
|
private String processStepId;
|
|
//工序/工步 1工序 2工步
|
@TableField(value = "type")
|
private Integer type;
|
|
//刀具名称
|
@TableField(value = "cutter_name")
|
private String cutterName;
|
|
//刀具编号
|
@TableField(value = "cutter_code")
|
private String cutterCode;
|
|
//刀具类型
|
@TableField(value = "cutter_type")
|
private String cutterType;
|
|
//额定寿命
|
@TableField(value = "lifetime")
|
private String lifetime;
|
|
//刀位
|
@TableField(value = "cutter_position")
|
private String cutterSpacing;
|
|
//数量
|
@TableField(value = "quantity")
|
private Integer quantity;
|
|
//描述
|
@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;
|
}
|