heheng
2024-11-20 2d27b24029adafdbfc5703b38a519d65beda6a68
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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
package com.gkhy.system.domain;
 
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.gkhy.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
 
import javax.validation.constraints.NotNull;
 
 
/**
 * 项目专家关联对象 project_expert
 *
 * @author expert
 * @date 2024-11-14
 */
@TableName(resultMap = "com.gkhy.system.mapper.ProjectExpertMapper.ProjectExpertResult")
@ApiModel(value = "项目专家关联对象", description = "项目专家关联对象表")
public class ProjectExpert extends BaseEntity {
    private static final long serialVersionUID = 1L;
 
    /**
     * $column.columnComment
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
 
    /**
     * 项目id
     */
    @ApiModelProperty(name = "项目名称",required = true)
    @NotNull(message = "项目不能为空")
    private Long projectId;
 
    /**
     * 专家id
     */
    @ApiModelProperty(name = "专家id",required = true)
    @NotNull(message = "选择专家")
    private Long expertId;
 
    /**
     * 总分
     */
    @ApiModelProperty(name = "总分")
    private Long score;
 
    /**
     * 评估状态0未评估1已评估
     */
    @ApiModelProperty(name = "评估状态0未评估1已评估")
    private Long evaluationState;
 
    /**
     * 选取方式1固定2随机
     */
    @ApiModelProperty(name = "选取方式1固定2随机",required = true)
    @NotNull(message = "选取方式不能为空")
    private Long selectionMode;
 
    /**
     * 是否组长0否1是
     */
    @ApiModelProperty(name = "是否组长0否1是",required = true)
    @NotNull(message = "是否组长不能为空")
    private Long teamLeader;
 
    /**
     * 删除标志(0代表存在,1代表删除,默认0)
     */
    private Long delFlag;
 
    public void setId(Long id) {
        this.id = id;
    }
 
    public Long getId() {
        return id;
    }
 
    public void setProjectId(Long projectId) {
        this.projectId = projectId;
    }
 
    public Long getProjectId() {
        return projectId;
    }
 
    public void setExpertId(Long expertId) {
        this.expertId = expertId;
    }
 
    public Long getExpertId() {
        return expertId;
    }
 
    public void setScore(Long score) {
        this.score = score;
    }
 
    public Long getScore() {
        return score;
    }
 
    public void setevaluationState(Long evaluationState) {
        this.evaluationState = evaluationState;
    }
 
    public Long getevaluationState() {
        return evaluationState;
    }
 
    public void setSelectionMode(Long selectionMode) {
        this.selectionMode = selectionMode;
    }
 
    public Long getSelectionMode() {
        return selectionMode;
    }
 
    public void setTeamLeader(Long teamLeader) {
        this.teamLeader = teamLeader;
    }
 
    public Long getTeamLeader() {
        return teamLeader;
    }
 
    public void setDelFlag(Long delFlag) {
        this.delFlag = delFlag;
    }
 
    public Long getDelFlag() {
        return delFlag;
    }
 
    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("projectId", getProjectId())
                .append("expertId", getExpertId())
                .append("score", getScore())
                .append("evaluationState", getevaluationState())
                .append("selectionMode", getSelectionMode())
                .append("teamLeader", getTeamLeader())
                .append("delFlag", getDelFlag())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .toString();
    }
}