package com.ruoyi.quality.pojo;
|
|
import com.baomidou.mybatisplus.annotation.*;
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
|
import io.swagger.annotations.ApiModelProperty;
|
import lombok.Data;
|
|
import javax.validation.constraints.NotBlank;
|
import java.io.Serializable;
|
import java.time.LocalDateTime;
|
import java.util.Date;
|
|
/**
|
* 质量管理--检测指标维护
|
* quality_test_standard
|
*/
|
@TableName(value = "quality_test_standard")
|
@Data
|
public class QualityTestStandard implements Serializable {
|
private static final long serialVersionUID = 1L;
|
|
/**
|
* 序号
|
*/
|
@TableId(type = IdType.AUTO)
|
private Long id;
|
|
|
/**
|
* 指标
|
*/
|
@Excel(name = "指标")
|
private String parameterItem;
|
|
/**
|
* 单位
|
*/
|
@Excel(name = "单位")
|
private String unit;
|
|
/**
|
* 标准值
|
*/
|
@Excel(name = "标准值")
|
private String standardValue;
|
|
/**
|
* 内控值
|
*/
|
@Excel(name = "内控值")
|
private String controlValue;
|
|
/**
|
* 关联产品id
|
*/
|
@NotBlank(message = "产品id不能为空!")
|
@Excel(name = "关联产品id")
|
private Long productId;
|
|
|
|
@ApiModelProperty(value = "创建时间")
|
@TableField(fill = FieldFill.INSERT)
|
private LocalDateTime createTime;
|
|
@ApiModelProperty(value = "创建用户")
|
@TableField(fill = FieldFill.INSERT)
|
private Integer createUser;
|
|
@ApiModelProperty(value = "修改时间")
|
@TableField(fill = FieldFill.INSERT_UPDATE)
|
private LocalDateTime updateTime;
|
|
@ApiModelProperty(value = "修改用户")
|
@TableField(fill = FieldFill.INSERT_UPDATE)
|
private Integer updateUser;
|
|
@ApiModelProperty(value = "租户ID")
|
@TableField(fill = FieldFill.INSERT)
|
private Long tenantId;
|
|
|
}
|