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_erupt.*;
|
import xyz.erupt.annotation.sub_field.*;
|
import xyz.erupt.annotation.sub_field.sub_edit.*;
|
import xyz.erupt.upms.model.base.HyperModel;
|
import xyz.erupt.jpa.model.BaseModel;
|
import java.util.Set;
|
import java.util.Date;
|
|
@Erupt(name = "基础参数")
|
@Table(name = "t_dict_params")
|
@Entity
|
public class BusinessParams extends BaseModel {
|
|
@EruptField(
|
views = @View(
|
title = "参数名称", sortable = true
|
),
|
edit = @Edit(
|
title = "参数名称",
|
type = EditType.INPUT, search = @Search, notNull = true,
|
inputType = @InputType
|
)
|
)
|
private String paramname;
|
|
@EruptField(
|
views = @View(
|
title = "参数值", sortable = true
|
),
|
edit = @Edit(
|
title = "参数值",
|
type = EditType.INPUT, search = @Search, notNull = true,
|
inputType = @InputType
|
)
|
)
|
private String paravalue;
|
|
@EruptField(
|
views = @View(
|
title = "含义", sortable = true
|
),
|
edit = @Edit(
|
title = "含义",
|
type = EditType.INPUT, search = @Search, notNull = true,
|
inputType = @InputType
|
)
|
)
|
private String descr;
|
|
@EruptField(
|
views = @View(
|
title = "备注", sortable = true
|
),
|
edit = @Edit(
|
title = "备注",
|
type = EditType.INPUT, search = @Search, notNull = true,
|
inputType = @InputType
|
)
|
)
|
private String remark;
|
|
@EruptField(
|
views = @View(
|
title = "是否有效", sortable = true
|
),
|
edit = @Edit(
|
title = "是否有效",
|
type = EditType.BOOLEAN, search = @Search, notNull = true,
|
boolType = @BoolType
|
)
|
)
|
private Boolean status;
|
|
}
|