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;
|
}
|
}
|