value
2024-05-30 2e89bb115815ca329c6fd54d6d987779791c657c
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
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
package com.yuanchu.mom.pojo;
 
import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.yuanchu.mom.annotation.ValueTableShow;
import com.yuanchu.mom.common.OrderBy;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.Length;
 
import javax.validation.constraints.Size;
import java.io.Serializable;
import java.time.LocalDate;
import java.time.LocalDateTime;
 
/**
* 检验下单
* @TableName ins_order
*/
@Data
@TableName("ins_order")
public class InsOrder extends OrderBy implements Serializable {
 
    @ApiModelProperty(value = "主键")
    @TableId(type = IdType.AUTO)
    private Integer id;
 
    /**
    * 委托编号
    */
    @ValueTableShow(1)
    @Size(max= 255,message="编码长度不能超过255")
    @ApiModelProperty(value = "委托编号")
    @Length(max= 255,message="编码长度不能超过255")
    private String entrustCode;
 
    @Size(max= 255,message="编码长度不能超过255")
    @ApiModelProperty(value = "检验类别")
    @Length(max= 255,message="编码长度不能超过255")
    private String orderType;
 
    /**
    * 下单客户
    */
    @ValueTableShow(5)
    @Size(max= 255,message="编码长度不能超过255")
    @ApiModelProperty("委托人")
    @Length(max= 255,message="编码长度不能超过255")
    private String custom;
 
    /**
    * 下单单位
    */
    @ValueTableShow(2)
    @Size(max= 255,message="编码长度不能超过255")
    @ApiModelProperty("委托单位")
    @Length(max= 255,message="编码长度不能超过255")
    private String company;
 
    @Size(max= 255,message="编码长度不能超过255")
    @ApiModelProperty("联系方式")
    @Length(max= 255,message="编码长度不能超过255")
    private String phone;
 
    /**
    * 工厂域
    */
    @Size(max= 255,message="编码长度不能超过255")
    @ApiModelProperty("工厂域")
    @Length(max= 255,message="编码长度不能超过255")
    private String code;
 
    /**
    * 紧急程度 (0普通 1优先 2紧急)
    */
    @ValueTableShow(value = 6, name = "紧急程度")
    @ApiModelProperty("紧急程度 (0普通 1优先 2紧急)")
    private Integer type;
 
    /**
    * 约定时间
    */
    @ValueTableShow(7)
    @ApiModelProperty("约定时间")
    @TableField(fill = FieldFill.INSERT)
    @JsonFormat(pattern = "yyyy-MM-dd")
    private LocalDate appointed;
 
    @ApiModelProperty("检验结果")
    private Integer insResult;
 
    @ApiModelProperty("样品处理方式")
    private Integer processing;
 
    @ApiModelProperty("是否留样")
    private Integer isLeave;
 
    /**
    * 1:检验处理 0:待审核 2:退回 3:撤销
    */
    @ApiModelProperty("状态")
    private Integer state;
 
    /**
    * 备注
    */
    @ValueTableShow(6)
    @Size(max= 255,message="编码长度不能超过255")
    @ApiModelProperty("备注")
    @Length(max= 255,message="编码长度不能超过255")
    private String remark;
 
    /**
    * OTC订单号
    */
    @Size(max= 255,message="编码长度不能超过255")
    @ApiModelProperty("OTC订单号")
    @Length(max= 255,message="编码长度不能超过255")
    private String otcCode;
 
    @ValueTableShow(11)
    @ApiModelProperty("下单人")
    @TableField(fill = FieldFill.INSERT)
    private Integer createUser;
    /**
     *
     */
    @ValueTableShow(12)
    @ApiModelProperty("下单时间")
    @TableField(fill = FieldFill.INSERT)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;
 
    @ValueTableShow(13)
    @ApiModelProperty("下发时间")
    @TableField(fill = FieldFill.INSERT)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime sendTime;
 
    /**
     *
     */
    @ApiModelProperty("")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Integer updateUser;
 
    /**
     *
     */
    @ApiModelProperty("修改时间")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime updateTime;
 
    private Integer userId;
 
    private Integer mating;
 
    @ApiModelProperty("检验状态(0:待检验 1:检验中 2:已检验 3:待复核 4:复核未通过 5:复核通过)")
    private Integer insState;
 
    /**
     * 检验工厂
     */
    private String factory;
 
    /**
     * 实验室名称
     */
    private String laboratory;
 
    /**
     * 样品类型
     */
    private String sampleType;
 
    /**
     * 样品名称
     */
    private String sample;
 
    @ApiModelProperty("检验时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime insTime;
 
    @ValueTableShow(value = 14, name = "退回理由")
    private String tell;
 
    private Integer send;
 
    private String formType;
 
    @ApiModelProperty("审核时间")
    private LocalDateTime examineTime;
 
    private String engineering;
 
    private String engineeringEn;
 
    private String production;
 
    private String productionEn;
 
    private Long companyId;
 
}