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.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 AllocationCheckCond implements Serializable {
|
|
@ApiModelProperty(value = "主键id")
|
@NotNull(message = "主键id不能为空!")
|
private Integer allocationId;
|
|
@ApiModelProperty(value = "考核分值")
|
@NotNull(message = "考核分值不能为空!")
|
private Integer checkScore;
|
|
@ApiModelProperty(value = "考核理由")
|
private String checkDescribe;
|
|
@ApiModelProperty(value = "状态")
|
@NotNull(message = "状态不能为空!")
|
private Integer state;
|
|
@ApiModelProperty(value = "审批附件")
|
private List<FileVo> fileApproveList;
|
|
public Allocation convert() {
|
Allocation allocation = BeanConverts.convert(this, Allocation.class);
|
return allocation;
|
}
|
}
|