cjl
2023-09-26 c0c80bebcc93e90834e06404d6056322e51b02dd
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
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 AllocationChangeCond implements Serializable {
 
    @ApiModelProperty(value = "主键id")
    @NotNull(message = "主键id不能为空!")
    private Integer allocationId;
 
    @ApiModelProperty(value = "是否整改")
    @NotNull(message = "是否整改不能为空!")
    private Integer isChange;
 
    @ApiModelProperty(value = "整改反馈")
    private String changeDescribe;
 
    @ApiModelProperty(value = "整改人性名")
    @NotEmpty(message = "整改人性名不能为空!")
    private String changeName;
 
    @ApiModelProperty(value = "状态")
    @NotNull(message = "状态不能为空!")
    private Integer state;
 
    @ApiModelProperty(value = "整改附件")
    private List<FileVo> fileChangeList;
 
    public Allocation convert() {
        Allocation allocation = BeanConverts.convert(this, Allocation.class);
        return allocation;
    }
}