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.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 javax.validation.constraints.NotBlank;
|
import javax.validation.constraints.NotNull;
|
|
|
/**
|
* 项目专家得分明细对象 project_expert_detail
|
*
|
* @author expert
|
* @date 2024-11-14
|
*/
|
@TableName(resultMap = "com.gkhy.system.mapper.ProjectExpertDetailMapper.ProjectExpertDetailResult")
|
@ApiModel(value = "项目专家得分明细对象", description = "项目专家得分明细对象表")
|
public class ProjectExpertDetail extends BaseEntity {
|
private static final long serialVersionUID = 1L;
|
|
/**
|
* $column.columnComment
|
*/
|
@TableId(value = "id", type = IdType.AUTO)
|
private Long id;
|
|
/**
|
* 项目专家表id
|
*/
|
@Excel(name = "项目专家表id")
|
@ApiModelProperty(value = "项目专家表id",required = true)
|
@NotNull(message = "参数不能为空")
|
private Long projectExpertId;
|
|
/**
|
* 内容
|
*/
|
@Excel(name = "内容")
|
@NotBlank(message = "内容不能为空")
|
@ApiModelProperty(value = "内容",required = true)
|
private String content;
|
|
/**
|
* 分值
|
*/
|
@ApiModelProperty(value = "分值")
|
@NotNull(message = "分值不能为空")
|
private Long score;
|
|
@NotBlank(message = "评分类型不能为空")
|
@ApiModelProperty(value = "类型1加分项2扣分项",required = true)
|
private String scoreType;
|
|
/**
|
* 删除标志(0代表存在,1代表删除,默认0)
|
*/
|
private Long delFlag;
|
|
public void setId(Long id) {
|
this.id = id;
|
}
|
|
public Long getId() {
|
return id;
|
}
|
|
public void setProjectExpertId(Long projectExpertId) {
|
this.projectExpertId = projectExpertId;
|
}
|
|
public Long getProjectExpertId() {
|
return projectExpertId;
|
}
|
|
public void setContent(String content) {
|
this.content = content;
|
}
|
|
public String getContent() {
|
return content;
|
}
|
|
public void setScore(Long score) {
|
this.score = score;
|
}
|
|
public Long getScore() {
|
return score;
|
}
|
|
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("projectExpert", getProjectExpertId())
|
.append("content", getContent())
|
.append("score", getScore())
|
.append("delFlag", getDelFlag())
|
.append("createBy", getCreateBy())
|
.append("createTime", getCreateTime())
|
.append("updateBy", getUpdateBy())
|
.append("updateTime", getUpdateTime())
|
.toString();
|
}
|
|
public String getScoreType() {
|
return scoreType;
|
}
|
|
public void setScoreType( String scoreType) {
|
this.scoreType = scoreType;
|
}
|
}
|