package com.yuanchu.mom.pojo;
|
|
import com.alibaba.excel.annotation.ExcelIgnore;
|
import com.alibaba.excel.annotation.ExcelProperty;
|
import com.baomidou.mybatisplus.annotation.*;
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
|
import io.swagger.annotations.ApiModelProperty;
|
import lombok.Data;
|
|
import java.io.Serializable;
|
import java.time.LocalDateTime;
|
|
/**
|
* 标准树下的检验项目
|
* @TableName standard_product_list
|
*/
|
@TableName(value ="standard_product_list")
|
@Data
|
public class StandardProductList implements Serializable {
|
/**
|
* 主键id
|
*/
|
@TableId(value = "id",type = IdType.ASSIGN_ID)
|
@JsonSerialize(using = ToStringSerializer.class)
|
@ExcelIgnore
|
private Long id;
|
|
/**
|
* 检验项
|
*/
|
@ApiModelProperty("检验项")
|
@ExcelProperty(value = "检测参数名称")
|
private String inspectionItem;
|
|
@ApiModelProperty("检验项EN")
|
@ExcelProperty(value = "检测参数名称(EN)")
|
private String inspectionItemEn;
|
|
/**
|
* 检验项小类
|
*/
|
@ApiModelProperty("检验项小类")
|
@ExcelProperty(value = "检测子项")
|
private String inspectionItemSubclass;
|
|
@ApiModelProperty("检验项小类EN")
|
@ExcelProperty(value = "检测子项(EN)")
|
private String inspectionItemSubclassEn;
|
|
/**
|
* 实验室
|
*/
|
@ApiModelProperty("实验室")
|
@ExcelIgnore
|
private String laboratory;
|
|
@ApiModelProperty("子实验室")
|
@ExcelProperty(value = "试验室")
|
private String sonLaboratory;
|
|
/**
|
* 计量单位
|
*/
|
@ApiModelProperty("计量单位")
|
@ExcelProperty(value = "计量单位")
|
private String unit;
|
|
/**
|
* 单价(元)
|
*/
|
@ApiModelProperty("单价")
|
@ExcelProperty(value = "单价")
|
private String price;
|
|
/**
|
* 工时(H)
|
*/
|
@ApiModelProperty("工时")
|
@ExcelProperty(value = "工时系数")
|
private String manHour;
|
|
/**
|
* 工时分组
|
*/
|
@ApiModelProperty("工时分组")
|
@ExcelProperty(value = "工时分组")
|
private String manHourGroup;
|
|
/**
|
* 检验项类型
|
*/
|
@ApiModelProperty("检验项类型")
|
@ExcelProperty(value = "检验项类型")
|
private String inspectionItemType;
|
|
/**
|
* 检验值类型
|
*/
|
@ApiModelProperty("检验值类型")
|
@ExcelProperty(value = "数据类型")
|
private String inspectionValueType;
|
|
/**
|
* 检验次数
|
*/
|
@ApiModelProperty("检验次数")
|
@ExcelIgnore
|
private Integer checkoutNumber;
|
|
/**
|
* 区间
|
*/
|
@ApiModelProperty("区间")
|
@ExcelIgnore
|
private String section;
|
|
/**
|
* 方法
|
*/
|
@ApiModelProperty("方法列表")
|
@ExcelIgnore
|
private String method;
|
|
@ApiModelProperty("方法")
|
@ExcelProperty(value = "方法名称")
|
private String methodS;
|
|
/**
|
* 预计时间(天)
|
*/
|
@ApiModelProperty("预计时间")
|
@ExcelProperty(value = "预计完成时间")
|
private Integer manDay;
|
|
/**
|
* 特殊标识
|
*/
|
@ApiModelProperty("特殊标识")
|
@ExcelProperty(value = "特殊标识")
|
private String bsm;
|
|
/**
|
* 要求值
|
*/
|
@ApiModelProperty("要求值")
|
@ExcelProperty(value = "判断要求")
|
private String ask;
|
|
@ApiModelProperty("要求描述")
|
@ExcelProperty(value = "标准显示")
|
private String tell;
|
|
/**
|
* 外键:标准方法id
|
*/
|
@ApiModelProperty("标准方法id")
|
@ExcelIgnore
|
private Integer standardMethodListId;
|
|
@ApiModelProperty("工厂")
|
@ExcelIgnore
|
private String factory;
|
|
@ApiModelProperty("样品分类")
|
@ExcelProperty(value = "测试对象")
|
private String sampleType;
|
|
@ApiModelProperty("样品")
|
@ExcelProperty(value = "产品")
|
private String sample;
|
|
@ApiModelProperty("型号")
|
@ExcelProperty(value = "型号")
|
private String model;
|
|
@ApiModelProperty("模版id")
|
@ExcelIgnore
|
private Integer templateId;
|
|
@ApiModelProperty("")
|
@TableField(fill = FieldFill.INSERT)
|
@ExcelIgnore
|
private Integer createUser;
|
/**
|
*
|
*/
|
@ApiModelProperty("创建时间")
|
@TableField(fill = FieldFill.INSERT)
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@ExcelIgnore
|
private LocalDateTime createTime;
|
/**
|
*
|
*/
|
@ApiModelProperty("")
|
@TableField(fill = FieldFill.INSERT_UPDATE)
|
@ExcelIgnore
|
private Integer updateUser;
|
/**
|
*
|
*/
|
@ApiModelProperty("修改时间")
|
@TableField(fill = FieldFill.INSERT_UPDATE)
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@ExcelIgnore
|
private LocalDateTime updateTime;
|
|
@ApiModelProperty("1:有效 0:无效")
|
@ExcelIgnore
|
private Integer state;
|
|
@ExcelIgnore
|
private String dic;
|
|
@ExcelIgnore
|
private String tree;
|
|
@ExcelIgnore
|
private Integer structureItemParameterId;
|
|
@ApiModelProperty(value = "检验项分类")
|
@ExcelIgnore
|
private String inspectionItemClass;
|
|
@ApiModelProperty(value = "检验项分类EN")
|
@ExcelIgnore
|
private String inspectionItemClassEn;
|
}
|