package com.gkhy.system.domain.vo.request;
|
|
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModelProperty;
|
import lombok.Data;
|
|
import javax.validation.constraints.NotBlank;
|
import javax.validation.constraints.NotNull;
|
import java.io.Serializable;
|
import java.util.List;
|
|
@ApiModel(value = "项目专家人员考评分数" , description = "项目专家人员考评分数")
|
@Data
|
public class ProjectExpertScoreSaveReq implements Serializable {
|
private static final long serialVersionUID = 1L;
|
|
@ApiModelProperty(value = "考评保存数据")
|
private List<Score> saveData;
|
|
@ApiModelProperty(value = "删除数据")
|
private List<Long> delData;
|
|
@ApiModelProperty(value = "项目专家id",required = true)
|
@NotNull
|
private Long projectExpertId;
|
|
@ApiModelProperty(value = "总分",required = true)
|
@NotNull(message = "得分不能为空")
|
private Long score;
|
|
@Data
|
static public class Score {
|
|
@ApiModelProperty(value = "数据id",required = false)
|
private Long id;
|
|
@ApiModelProperty(value = "评分",required = true)
|
@NotNull(message = "分数不能为空")
|
private Long score;
|
|
@ApiModelProperty(value = "类型1加分项2扣分项",required = true)
|
@NotBlank(message = "类型不能为空")
|
private String scoreType;
|
|
@ApiModelProperty(value = "评分内容",required = true)
|
@NotBlank(message = "内容不能为空")
|
private String content;
|
}
|
}
|