package com.ruoyi.quality.pojo; import com.baomidou.mybatisplus.annotation.*; 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; /** * '质量管理--检验记录 * quality_inspect_param */ @TableName(value = "quality_inspect_param") @Data public class QualityInspectParam 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; /** * 检验值 */ @Excel(name = "检验值") private String testValue; /** * 检验ID */ @Excel(name = "检验ID") @NotBlank(message = "检验id不能为空") private Long inspectId; @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; }