package com.yuanchu.limslaboratory.pojo.vo;
|
|
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
import lombok.Data;
|
import org.springframework.format.annotation.DateTimeFormat;
|
import java.io.Serializable;
|
import java.util.Date;
|
//新增检验单
|
@Data
|
public class InspectionVo implements Serializable {
|
|
/**
|
*检验类型 0:原材料;1:产品;2:半成品;
|
**/
|
@JsonSerialize
|
private Integer type;
|
|
/**
|
* 来料日期
|
**/
|
@DateTimeFormat(pattern = "yyyy-MM-dd")
|
@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
|
private Date formTime;
|
|
/**
|
* 供应商
|
**/
|
@JsonSerialize
|
private String supplier;
|
|
/**
|
* 物料编码
|
**/
|
@JsonSerialize
|
private String mcode;
|
|
/**
|
* 物料名称
|
**/
|
@JsonSerialize
|
private String name;
|
|
/**
|
* 规格名称-型号名称
|
**/
|
@JsonSerialize
|
private String specifications;
|
|
/**
|
* 单位
|
**/
|
@JsonSerialize
|
private String unit;
|
|
/**
|
* 报检数量-物料数量
|
**/
|
@JsonSerialize
|
private Integer num;
|
|
/**
|
* 检验开始日期
|
**/
|
@DateTimeFormat(pattern = "yyyy-MM-dd")
|
@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
|
private Date startTime;
|
|
/**
|
* 检验结束日期
|
**/
|
@DateTimeFormat(pattern = "yyyy-MM-dd")
|
@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
|
private Date endTime;
|
}
|