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
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;
    }
}