package com.yuanchu.limslaboratory.pojo;
|
|
import com.baomidou.mybatisplus.annotation.*;
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
import lombok.*;
|
import lombok.experimental.Accessors;
|
import org.springframework.format.annotation.DateTimeFormat;
|
|
import java.util.Date;
|
import java.io.Serializable;
|
|
/**
|
* (样品)检验单里面的物料(InspectionMaterial)表实体类
|
*
|
* @author zss
|
* @since 2023-08-03 13:04:28
|
*/
|
@Data
|
@Accessors(chain = true)
|
@AllArgsConstructor
|
@NoArgsConstructor
|
@EqualsAndHashCode(callSuper = false)
|
@Builder
|
@TableName("inspection_material")
|
public class InspectionMaterial implements Serializable {
|
private static final long serialVersionUID = 1L;
|
|
/**
|
* id
|
**/
|
@TableId(type = IdType.AUTO)
|
private Integer id;
|
|
/**
|
* 物料编码
|
**/
|
private String code;
|
|
/**
|
* 物料名称
|
**/
|
private String name;
|
|
/**
|
* 报检数量-物料数量
|
**/
|
private Integer num;
|
|
/**
|
* 单位
|
**/
|
private String unit;
|
|
/**
|
* 供应商
|
**/
|
private String supplier;
|
|
/**
|
* 规格名称-型号名称
|
**/
|
private String specifications;
|
|
/**
|
* 来料日期
|
**/
|
@DateTimeFormat(pattern = "yyyy-MM-dd")
|
@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
|
private Date formTime;
|
|
/**
|
* ${column.comment}
|
**/
|
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;
|
|
/**
|
* 关联 申请单id
|
**/
|
private Integer inspectionId;
|
|
/**
|
* 备注
|
*/
|
private String notes;
|
}
|