package com.yuanchu.limslaboratory.pojo;
|
|
import com.baomidou.mybatisplus.annotation.*;
|
|
import java.io.Serializable;
|
import java.util.Date;
|
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModelProperty;
|
import lombok.Data;
|
import lombok.EqualsAndHashCode;
|
|
import javax.validation.constraints.NotBlank;
|
import javax.validation.constraints.NotNull;
|
|
/**
|
* <p>
|
*
|
* </p>
|
*
|
* @author 江苏鵷雏网络科技有限公司
|
* @since 2023-08-03
|
*/
|
@Data
|
@EqualsAndHashCode(callSuper = false)
|
@ApiModel(value="LinkDetection对象", description="")
|
public class LinkDetection implements Serializable {
|
|
private static final long serialVersionUID = 1L;
|
|
@ApiModelProperty(value = "主键", hidden = true)
|
@TableId(value = "id", type = IdType.AUTO)
|
private Integer id;
|
|
@ApiModelProperty(value = "样品编号", required = true, example = "YPBH123456789")
|
private String sampleNumber;
|
|
@ApiModelProperty(value = "样品名称", required = true, example = "发动机")
|
private String sampleName;
|
|
@ApiModelProperty(value = "规格型号", required = true, example = "GGXH-AAAAA")
|
private String specificationsModels;
|
|
@NotBlank(message = "请填写单位!")
|
@ApiModelProperty(value = "单位", required = true, example = "百度")
|
private String unit;
|
|
@NotNull(message = "请填写样品数量!")
|
@ApiModelProperty(value = "样品数量", required = true, example = "20")
|
private Integer samplesNumber;
|
|
@NotBlank(message = "试验不能为空!")
|
@ApiModelProperty(value = "试验", required = true, example = "做梦")
|
private String experiment;
|
|
@ApiModelProperty(value = "备注", example = "通过了")
|
private String remarks;
|
|
@ApiModelProperty(value = "LinkBasicInformation对象Id", hidden = true)
|
private Integer linkBasicId;
|
|
|
@ApiModelProperty(value = "逻辑删除 正常>=1,删除<=0", hidden = true)
|
private Integer state;
|
|
@TableField(fill = FieldFill.INSERT)
|
@ApiModelProperty(value = "创建时间", hidden = true)
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
private Date createTime;
|
|
@TableField(fill = FieldFill.INSERT_UPDATE)
|
@ApiModelProperty(value = "更新时间", hidden = true)
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
private Date updateTime;
|
|
@ApiModelProperty(value = "检验日期", required = true,example = "2023-08-22")
|
private Date dateSurvey;
|
|
@ApiModelProperty(value = "检验状态", hidden = true)
|
private Integer inspectionStatus;
|
|
@ApiModelProperty(value = "规格型号名称", hidden = true)
|
private String speName;
|
}
|