XiaoRuby
2023-08-29 2b8767a3b089e8b69d2dd59795593b096ea699a5
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
package com.yuanchu.limslaboratory.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;
 
/**
 * <p>
 *
 * </p>
 *
 * @author 江苏鵷雏网络科技有限公司
 * @since 2023-07-28
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "RawMaterial对象", description = "")
public class RawMaterial 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 = "江苏鵷雏")
    private String supplierName;
 
    @ApiModelProperty(value = "材料编码", required = true, example = "YCL202308290000002")
    private String materialCoding;
 
    @ApiModelProperty(value = "材料名称", required = true, example = "光纤")
    private String materialName;
 
    @ApiModelProperty(value = "规格型号", required = true, example = "GGXH2023")
    private String specificationsModels;
 
    @ApiModelProperty(value = "单位", required = true, example = "KB")
    private String unit;
 
    @ApiModelProperty(value = "数量", example = "100", required = true)
    private Integer quantity;
 
    @ApiModelProperty(value = "报检日期", example = "2023-08-29", required = true, dataType = "date")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date inspectionDate;
 
    @ApiModelProperty(value = "检验人", example = "李华", required = true)
    private String surveyor;
 
    @ApiModelProperty(value = "检验日期", required = true, example = "2023-08-29", dataType = "date")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date dateSurvey;
 
    @ApiModelProperty(value = "状态0:待检测;1:已检测", required = true, example = "1")
    private Integer type;
 
    @ApiModelProperty(value = "逻辑删除 正常>=1,删除<=0", hidden = true)
    private Integer state;
 
    @TableField(fill = FieldFill.INSERT)
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @ApiModelProperty(value = "创建时间", hidden = true)
    private Date createTime;
 
    @TableField(fill = FieldFill.INSERT_UPDATE)
    @ApiModelProperty(value = "更新时间", hidden = true)
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date updateTime;
 
    @ApiModelProperty(value = "乐观锁", hidden = true)
    private Integer version;
 
 
}