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