wlzboy
2025-09-21 b5b16a26de0d84d7b5fb69b584377bdc3582e3ab
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
package com.ruoyi.system.domain;
 
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
 
/**
 * 评价详情对象 evaluation_detail
 * 
 * @author ruoyi
 * @date 2025-01-27
 */
public class EvaluationDetail extends BaseEntity {
    private static final long serialVersionUID = 1L;
 
    /** 详情ID */
    private Long detailId;
 
    /** 评价ID */
    @Excel(name = "评价ID")
    private Long evaluationId;
 
    /** 维度ID */
    @Excel(name = "维度ID")
    private Long dimensionId;
 
    /** 评分(1-5星) */
    @Excel(name = "评分")
    private Integer score;
 
    /** 选项值(选择类型时使用) */
    @Excel(name = "选项值")
    private String optionValue;
 
    /** 文本内容(文本类型时使用) */
    @Excel(name = "文本内容")
    private String textContent;
 
    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;
 
    /** 维度信息 */
    private EvaluationDimension dimension;
 
    public void setDetailId(Long detailId) {
        this.detailId = detailId;
    }
 
    public Long getDetailId() {
        return detailId;
    }
 
    public void setEvaluationId(Long evaluationId) {
        this.evaluationId = evaluationId;
    }
 
    public Long getEvaluationId() {
        return evaluationId;
    }
 
    public void setDimensionId(Long dimensionId) {
        this.dimensionId = dimensionId;
    }
 
    public Long getDimensionId() {
        return dimensionId;
    }
 
    public void setScore(Integer score) {
        this.score = score;
    }
 
    public Integer getScore() {
        return score;
    }
 
    public void setOptionValue(String optionValue) {
        this.optionValue = optionValue;
    }
 
    public String getOptionValue() {
        return optionValue;
    }
 
    public void setTextContent(String textContent) {
        this.textContent = textContent;
    }
 
    public String getTextContent() {
        return textContent;
    }
 
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
 
    public Date getCreateTime() {
        return createTime;
    }
 
    public EvaluationDimension getDimension() {
        return dimension;
    }
 
    public void setDimension(EvaluationDimension dimension) {
        this.dimension = dimension;
    }
 
    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("detailId", getDetailId())
                .append("evaluationId", getEvaluationId())
                .append("dimensionId", getDimensionId())
                .append("score", getScore())
                .append("optionValue", getOptionValue())
                .append("textContent", getTextContent())
                .append("createTime", getCreateTime())
                .toString();
    }
}