heheng
2024-11-21 b3631dd074d7fa5520f7afcf2cdc1ab681700e7c
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
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;
 
 
/**
 * 项目专家关联对象 project_expert
 *
 * @author expert
 * @date 2024-11-14
 */
@ApiModel(value = "项目专家关联对象新增编辑", description = "项目专家关联对象新增编辑")
@Data
public class ProjectExpertSaveReqDto implements Serializable {
    private static final long serialVersionUID = 1L;
 
    @ApiModelProperty(value = "id")
    private Long id;
 
//    /**
//     * 项目id
//     */
//    @ApiModelProperty(name = "项目名称",required = true)
//    @NotNull(message = "项目不能为空")
//    private Long projectId;
    @ApiModelProperty(value = "专家id",required = true)
    @NotNull(message = "选择专家")
    private Long expertId;
 
    @ApiModelProperty(value = "专家名称",required = true)
    @NotBlank(message = "选择专家名称")
    private String expertName;
 
//    /**
//     * 总分
//     */
//    @Excel(name = "总分")
//    private Long score;
 
//    /**
//     * 评估状态0未评估1已评估
//     */
//    @ApiModelProperty(name = "评估状态0未评估1已评估")
//    private Long evaluationState;
 
    @ApiModelProperty(value = "选取方式1固定2随机",required = true)
    @NotNull(message = "选取方式不能为空")
    private Long selectionMode;
 
    @ApiModelProperty(value = "是否组长0否1是",required = true)
    @NotNull(message = "是否组长不能为空")
    private Long teamLeader;
 
 
}