XiaoRuby
2023-09-11 e2c14ffb0a6237bb5c397f5d0baaa4fa70cfe3b0
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
103
104
105
106
107
108
109
110
package com.yuanchu.mom.pojo;
 
import com.baomidou.mybatisplus.annotation.*;
 
import java.io.Serializable;
import java.util.Date;
 
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;
 
/**
 * 原材料申请表
 * @TableName raw_inspect
 */
@TableName(value ="raw_inspect")
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class RawInspect implements Serializable {
    /**
     * 检验单id
     */
    @TableId(type = IdType.AUTO)
    private Integer id;
 
    /**
     * 原材料编码
     */
    private String code;
 
    /**
     * 原材料名称
     */
    private String name;
 
    /**
     * 型号规格
     */
    private String specifications;
 
    /**
     * 单位
     */
    private String unit;
 
    /**
     * 数量
     */
    private Integer number;
 
    /**
     * 供应商
     */
    private String supplier;
 
    /**
     * 检验状态 0:未检验;1:已检验
     */
    private Integer insState;
 
    /**
     * 合格状态 0:不合格;1:合格
     */
    private Integer judgeState;
 
    /**
     * 检验日期
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date insTime;
 
    /**
     * 报检人(当前用户名)
     */
    private String userName;
 
    @ApiModelProperty(value = "逻辑删除 正常>=1,删除<=0", hidden = true)
    private Integer state;
 
    /**
     * 报检日期
     */
    @TableField(fill = FieldFill.INSERT)
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date createTime;
 
 
    @TableField(fill = FieldFill.INSERT_UPDATE)
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date updateTime;
 
    /**
     * 来料日期
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date formTime;
 
    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}