wangrong
2021-11-24 130b72d6c5734f8acaac0214b6dfe5c8bfa319c3
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
package com.example.demo.model;
 
/*
 * Copyright © 2020-2035 erupt.xyz All rights reserved.
 * Author: YuePeng (erupts@126.com)
 */
 
import javax.persistence.*;
import xyz.erupt.annotation.*;
import xyz.erupt.annotation.sub_field.*;
import xyz.erupt.annotation.sub_field.sub_edit.*;
import xyz.erupt.jpa.model.BaseModel;
@Erupt(name = "压制评分")
@Table(name = "t_dict_freq_press")
@Entity
public class FreqSuppressValue extends BaseModel {
 
    @EruptField(
            views = @View(
                    title = "评分等级"
            ),
            edit = @Edit(
                    title = "评分等级",
                    type = EditType.NUMBER, search = @Search, notNull = true,
                    numberType = @NumberType
            )
    )
    private Integer suppress_level;
 
    @EruptField(
            views = @View(
                    title = "等级命名"
            ),
            edit = @Edit(
                    title = "等级命名",
                    type = EditType.INPUT, search = @Search, notNull = true,
                    inputType = @InputType
            )
    )
    private String level_name;
 
    @EruptField(
            views = @View(
                    title = "备注"
            ),
            edit = @Edit(
                    title = "备注",
                    type = EditType.INPUT, search = @Search,
                    inputType = @InputType
            )
    )
    private String remarks;
 
    @EruptField(
            views = @View(
                    title = "颜色标记"
            ),
            edit = @Edit(
                    title = "颜色",
                    type = EditType.INPUT, search = @Search,
                    inputType = @InputType
            )
    )
    private String color;
 
    public Integer getSuppress_level() {
        return suppress_level;
    }
 
    public void setSuppress_level(Integer suppress_level) {
        this.suppress_level = suppress_level;
    }
 
    public String getLevel_name() {
        return level_name;
    }
 
    public void setLevel_name(String level_name) {
        this.level_name = level_name;
    }
 
    public String getRemarks() {
        return remarks;
    }
 
    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }
 
    public String getColor() {
        return color;
    }
 
    public void setColor(String color) {
        this.color = color;
    }
}