田源
2023-09-18 1b9d4263ed28492baf724398dc2490f015f28389
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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
package com.vci.ubcs.code.entity;
 
import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFilter;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.github.yulichang.annotation.EntityMapping;
import com.vci.ubcs.code.vo.CodeShowFieldConfigVO;
import com.vci.ubcs.code.vo.CodeSrchCondConfigVO;
import com.vci.ubcs.starter.constant.CodeTableNameConstant;
import com.vci.ubcs.starter.revision.model.BaseModel;
import io.swagger.annotations.ApiModel;
import lombok.Data;
 
import java.util.List;
 
/**
 * 编码规则管理-引用码段-参照配置
 *
 * @author ludc
 * @date 2023/5/19 17:24
 */
@Data
@TableName(CodeTableNameConstant.PL_CODE_REFERCONFIG)
@ApiModel(value = "CodeReferConfig对象", description = "编码规则管理-引用码段-参照配置")
@JsonInclude(JsonInclude.Include.NON_EMPTY)  //不输出掉空字段
public class CodeReferConfig extends BaseModel {
 
    /**
     * 序列化
     */
    private static final long serialVersionUID = 957685333614390234L;
 
    /**
     * 参照的业务类型
     */
    private String referType;
 
    /**
     * 显示的属性
     */
    private String textField;
 
    /**
     * 存储值的属性
     */
    private String valueField;
 
    /**
     * 参照窗口类型
     */
    private String type;
 
    /**
     * 自定义的后台路径
     */
    private String url;
 
    /**
     * 服务的地址
     */
    private String backPath;
 
    /**
     * 请求后台的协议方式
     */
    private String method;
 
    /**
     * 窗口显示的高度
     */
    private Integer height;
 
    /**
     * 过滤(级联)属性
     */
    private String useFormKey;
 
    /**
     * 过滤属性请求参数
     */
    private String paramForFormKey;
 
    /**
     * 是否多选
     */
    private String isMuti;
 
    /**
     * 映射其他属性
     */
    private String mapFields;
 
    /**
     * 参考的UI上下文
     */
    private String referContent;
 
    /**
     * 平台的表格编号
     */
    private String displayTable;
 
    /**
     * 每页显示条数
     */
    private Integer limit;
 
    /**
     * 排序字段
     */
    private String sortField;
 
    /**
     * 排序类型
     */
    private String sortType;
 
    /**
     * 树形的上级属性
     */
    private String parentFieldName;
 
    /**
     * 上级属性值对应属性
     */
    private String parentUsedField;
 
    /**
     * 根节点的值
     */
    private String parentValue;
 
    /**
     * 树加载方式
     */
    private String loadType;
 
    /**
     * 是否只能选择叶子节点
     */
    private String onlyLeaf;
 
    /**
     * 参照的业务类型-显示文本
     */
    private String referTypeName;
 
    /**
     * 是否开启全局
     */
    private String isOpenGlobal;
 
    /**
     * 排序
     */
    private Integer orderNum;
 
    /**
     * 是否开启持久化
     */
    private String isPersistence;
 
    /**
     * 显示的属性-显示对象
     */
    @TableField(exist = false)
    @EntityMapping(thisField = "oid", joinField = "referConfigOid")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private List<CodeShowFieldConfig> codeShowFieldConfigs;
 
    /**
     * 查询条件显示对象
     */
    @TableField(exist = false)
    @EntityMapping(thisField = "oid", joinField = "referConfigOid")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private List<CodeSrchCondConfig> codeSrchCondConfigs;
 
}