package org.jeecg.modules.dnc.entity;
|
|
import com.baomidou.mybatisplus.annotation.*;
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
import com.fasterxml.jackson.annotation.JsonIgnore;
|
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_parts_info")
|
public class PartsInfo {
|
@TableId(value = "parts_id")
|
private String partsId;
|
@TableField(value = "parts_name")
|
private String partsName;
|
@TableField(value = "product_id")
|
private String productId;
|
@TableField(value = "component_id")
|
private String componentId;
|
@TableField(value = "materiel_code")
|
private String materielCode;
|
@TableField(value = "materiel_desp")
|
private String materielDesp;
|
@TableField(value = "parts_model")
|
private String partsModel;
|
@TableField(value = "parts_scale")
|
private String partsScale;
|
@TableField(value = "parts_weight")
|
private BigDecimal partsWeight;
|
@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 = "parts_code")
|
private String partsCode;
|
@TableField(value = "parts_status")
|
private Integer partsStatus;
|
@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;
|
//创建人
|
private transient String createName;
|
//更新人
|
private transient String updateName;
|
}
|