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