package com.yuanchu.mom.pojo;
|
|
import com.baomidou.mybatisplus.annotation.*;
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
import io.swagger.annotations.ApiModelProperty;
|
import lombok.*;
|
import lombok.experimental.Accessors;
|
import org.springframework.format.annotation.DateTimeFormat;
|
|
import java.util.Date;
|
import java.io.Serializable;
|
|
/**
|
* 编制物料清单表(ManualMbom)表实体类
|
*
|
* @author zss
|
* @since 2023-09-21 13:20:48
|
*/
|
@Data
|
@Accessors(chain = true)
|
@AllArgsConstructor
|
@NoArgsConstructor
|
@EqualsAndHashCode(callSuper = false)
|
@Builder
|
@TableName("manual_mbom")
|
public class ManualMbom implements Serializable {
|
private static final long serialVersionUID = 1L;
|
|
/**
|
* 主键
|
**/
|
@TableId(type = IdType.AUTO)
|
private Integer id;
|
|
/**
|
* 原材料名称
|
**/
|
private String name;
|
|
/**
|
* 单位
|
**/
|
private String unit;
|
|
/**
|
* 数量
|
**/
|
private Integer num;
|
|
/**
|
* 质量追溯号
|
**/
|
private String qualityTraceability;
|
|
/**
|
* (原材料的)规格型号
|
**/
|
private String specifications;
|
|
/**
|
* 关联 编制工艺表id
|
**/
|
private Integer manualTechnologyId;
|
|
@ApiModelProperty(value = "逻辑删除 正常>=1,删除<=0", hidden = true)
|
private Integer state;
|
|
@TableField(fill = FieldFill.INSERT)
|
@DateTimeFormat(pattern = "yyyy-MM-dd")
|
@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
|
private Date createTime;
|
|
@TableField(fill = FieldFill.INSERT_UPDATE)
|
@DateTimeFormat(pattern = "yyyy-MM-dd")
|
@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
|
private Date updateTime;
|
}
|