CZT
2023-11-06 b4e8dc09c2af2a331b477904f9d7b205a7224890
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
package com.fzzy.api.entity;
 
import com.bstek.dorado.annotation.PropertyDef;
import com.fzzy.api.Constant;
import lombok.Data;
 
import javax.persistence.*;
import java.io.Serializable;
import java.util.List;
 
/**
 * 数据字典
 *
 * @author Andy
 */
@Data
@Entity
@Table(name = "API_TRIGGER")
public class ApiTrigger implements Serializable {
 
    /**
     *
     */
    public static final long serialVersionUID = 1L;
 
    @Id
    @Column(name = "ID_",length = 30)
    public String id;
 
    @Column(name = "CODE_", length = 20)
    @PropertyDef(label = "接口编码")
    public String code;
 
    @Column(name = "PARENT_CODE_", length = 20)
    @PropertyDef(label = "父编码")
    public String parentCode = Constant.DEFAULT_CODE;
 
    @Column(name = "BIZ_CODE_", length = 20)
    @PropertyDef(label = "对接系统编码")
    public String bizCode = Constant.DEFAULT_CODE;
 
    @Column(name = "NAME_", length = 30)
    @PropertyDef(label = "名称")
    public String name;
 
    @Column(name = "DEFAULT_", length = 2)
    @PropertyDef(label = "是否默认")
    public String defaultTag = Constant.YN_N;
 
    @Column(name = "VAL_", length = 2)
    @PropertyDef(label = "是否可用")
    public String val = Constant.YN_N;
 
    @Column(name = "REMARK_", length = 100)
    @PropertyDef(label = "备注说明")
    public String remark;
 
    @Transient
    public List<ApiTrigger> nodes;
 
    public ApiTrigger() {
        super();
    }
 
    public ApiTrigger(String code, String name) {
        super();
        this.code = code;
        this.name = name;
    }
 
}