cjl
2023-12-14 6992aaf0587c09f7c511c1afd12e1519d91363d3
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
package com.moral.api.pojo.query.allocation;
 
import com.moral.api.entity.Allocation;
import com.moral.api.pojo.vo.file.FileVo;
import com.moral.api.utils.BeanConverts;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
 
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.Date;
import java.util.List;
 
/**
 * <p>
 * 交办单
 * </p>
 * deyt template generate
 * @author JI
 * @since 2023-09-25
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="Allocation - 更新对象", description="Allocation - 更新对象")
public class AllocationUpdateCond implements Serializable {
 
    @ApiModelProperty(value = "主键id")
    @NotNull(message = "主键id不能为空!")
    private Integer allocationId;
 
    @ApiModelProperty(value = "上报时间")
    @NotNull(message = "上报时间不能为空!")
    private Date escalationTime;
 
    @ApiModelProperty(value = "污染位置")
    @NotEmpty(message = "污染位置不能为空!")
    private String pollutePosition;
 
    @ApiModelProperty(value = "责任单位id")
    @NotNull(message = "责任单位不能为空!")
    private Integer unitId;
 
    @ApiModelProperty(value = "污染分类id")
    @NotNull(message = "污染分类不能为空!")
    private Integer polluteType;
 
    @ApiModelProperty(value = "纬度")
    private String latitude;
 
    @ApiModelProperty(value = "经度")
    private String longitude;
 
    @ApiModelProperty(value = "省市区地址")
    private String address;
 
    @ApiModelProperty(value = "详细地址")
    private String name;
    @ApiModelProperty(value = "整改类型id")
    @NotNull(message = "整改类型不能为空!")
    private Integer changeType;
 
    @ApiModelProperty(value = "期限天数")
    private Integer changeDay;
 
    @ApiModelProperty(value = "上报单位id")
    @NotNull(message = "上报单位不能为空!")
    private Integer escalationUnitId;
 
    @ApiModelProperty(value = "上报人")
    @NotEmpty(message = "上报人不能为空!")
    private String escalationName;
 
    @ApiModelProperty(value = "排查方式id")
    @NotNull(message = "排查方式不能为空!")
    private Integer investigationType;
 
    @ApiModelProperty(value = "问题描述")
    private String problemDescribe;
 
    @ApiModelProperty(value = "状态")
    @NotNull(message = "状态不能为空!")
    private Integer state;
 
    @ApiModelProperty(value = "基础附件")
    private List<FileVo> fileBaseList;
 
    @ApiModelProperty(value = "重点任务类型")
    private Integer keyPoint;
 
 
    public Allocation convert() {
        Allocation allocation = BeanConverts.convert(this, Allocation.class);
        return allocation;
    }
}