| | |
| | | package com.gkhy.system.domain; |
| | | package com.gkhy.system.domain.vo.request; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.IdType; |
| | | import com.baomidou.mybatisplus.annotation.TableId; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import com.gkhy.common.annotation.Excel; |
| | | 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 lombok.Data; |
| | | |
| | | import javax.validation.constraints.NotBlank; |
| | | import javax.validation.constraints.NotNull; |
| | | import java.io.Serializable; |
| | | |
| | | |
| | | /** |
| | |
| | | * @author expert |
| | | * @date 2024-11-14 |
| | | */ |
| | | @TableName(resultMap = "com.gkhy.system.mapper.ProjectExpertMapper.ProjectExpertResult") |
| | | @ApiModel(value = "项目专家关联对象", description = "项目专家关联对象表") |
| | | public class ProjectExpert extends BaseEntity { |
| | | @ApiModel(value = "项目专家关联对象新增编辑", description = "项目专家关联对象新增编辑") |
| | | @Data |
| | | public class ProjectExpertSaveReqDto implements Serializable { |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | /** |
| | | * $column.columnComment |
| | | */ |
| | | @TableId(value = "id", type = IdType.AUTO) |
| | | @ApiModelProperty(value = "id") |
| | | private Long id; |
| | | |
| | | /** |
| | | * 项目id |
| | | */ |
| | | @ApiModelProperty(name = "项目名称",required = true) |
| | | @NotNull(message = "项目不能为空") |
| | | private Long projectId; |
| | | |
| | | /** |
| | | * 专家id |
| | | */ |
| | | // /** |
| | | // * 项目id |
| | | // */ |
| | | // @ApiModelProperty(name = "项目名称",required = true) |
| | | // @NotNull(message = "项目不能为空") |
| | | // private Long projectId; |
| | | @ApiModelProperty(name = "专家id",required = true) |
| | | @NotNull(message = "选择专家") |
| | | private Long expertId; |
| | | |
| | | /** |
| | | * 总分 |
| | | */ |
| | | @Excel(name = "总分") |
| | | private Long score; |
| | | @ApiModelProperty(name = "专家名称",required = true) |
| | | @NotBlank(message = "选择专家名称") |
| | | private String expertName; |
| | | |
| | | /** |
| | | * 评估状态0未评估1已评估 |
| | | */ |
| | | @ApiModelProperty(name = "评估状态0未评估1已评估") |
| | | private Long envaluationState; |
| | | // /** |
| | | // * 总分 |
| | | // */ |
| | | // @Excel(name = "总分") |
| | | // private Long score; |
| | | |
| | | /** |
| | | * 选取方式1固定2随机 |
| | | */ |
| | | // /** |
| | | // * 评估状态0未评估1已评估 |
| | | // */ |
| | | // @ApiModelProperty(name = "评估状态0未评估1已评估") |
| | | // private Long evaluationState; |
| | | |
| | | @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 setEnvaluationState(Long envaluationState) { |
| | | this.envaluationState = envaluationState; |
| | | } |
| | | |
| | | public Long getEnvaluationState() { |
| | | return envaluationState; |
| | | } |
| | | |
| | | 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("envaluationState", getEnvaluationState()) |
| | | .append("selectionMode", getSelectionMode()) |
| | | .append("teamLeader", getTeamLeader()) |
| | | .append("delFlag", getDelFlag()) |
| | | .append("createBy", getCreateBy()) |
| | | .append("createTime", getCreateTime()) |
| | | .append("updateBy", getUpdateBy()) |
| | | .append("updateTime", getUpdateTime()) |
| | | .toString(); |
| | | } |
| | | } |