value
2023-09-01 4800caf0bc511a26624da1b9a9cf34275b6c2c4a
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
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;
}