XiaoRuby
2023-09-04 f1400115f582ae795913e360c0f5a70ea4513544
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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
package com.yuanchu.mom.pojo;
 
import com.baomidou.mybatisplus.annotation.*;
 
import java.time.LocalDateTime;
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-01
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="FinishedInspect对象", description="")
public class FinishedInspect implements Serializable {
 
    private static final long serialVersionUID = 1L;
 
    @ApiModelProperty(value = "主键", hidden = true)
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
 
    @NotBlank(message = "订单号不允许为空!")
    @ApiModelProperty(value = "订单号", required = true, example = "DDH202308010001")
    private String orderNumber;
 
    @NotBlank(message = "客户名称不允许为空!")
    @ApiModelProperty(value = "客户名称", required = true, example = "懒洋洋")
    private String customerName;
 
    @NotBlank(message = "工程名称不允许为空!")
    @ApiModelProperty(value = "工程名称", required = true, example = "液体硅橡胶")
    private String projectName;
 
    @NotBlank(message = "质量追溯号不允许为空!")
    @ApiModelProperty(value = "质量追溯号", required = true, example = "ZLZSH202308010001")
    private String qualityTraceability;
 
    @ApiModelProperty(value = "0:成品;1:过程;", hidden = true)
    private Integer type;
 
    @NotBlank(message = "单位不允许为空!")
    @ApiModelProperty(value = "单位", required = true, example = "吨")
    private String unit;
 
    @NotNull(message = "请输入数量!")
    @ApiModelProperty(value = "数量", required = true, example = "50")
    private Integer quantity;
 
    @NotNull(message = "请选择规格型号!")
    @ApiModelProperty(value = "规格型号拼接字符", required = true, example = "8.7/15kV JLS-3.2")
    private String specificationsModel;
 
    @NotNull(message = "请选择型号ID!")
    @TableField(exist = false)
    @ApiModelProperty(value = "型号ID", required = true, example = "1")
    private Integer specificationsId;
 
    @ApiModelProperty(value = "项目编码", required = true, example = "GX20230807")
    private String materialCode;
 
    @NotNull(message = "请选择项目名称!")
    @ApiModelProperty(value = "项目名称", required = true, example = "光纤")
    private String material;
 
    @NotNull(message = "请选择主机工!")
    @ApiModelProperty(value = "主机工:用户id", required = true, example = "1")
    private Integer userId;
 
    @ApiModelProperty(value = "检验结论", hidden = true, required = true, example = "DDH202308010001")
    private Integer result;
 
    @ApiModelProperty(value = "逻辑删除 正常>=1,删除<=0", hidden = true)
    @TableLogic(value = "1", delval = "0")
    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;
 
 
}