SysCustomField.java
3.8 KB
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
package com.skua.modules.system.entity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.skua.core.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;
/**
* 字段维护
*/
@Data
@TableName("sys_custom_field")
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="sys_custom_field对象", description="字段维护")
public class SysCustomField {
/**主键*/
@Excel(name = "主键", width = 15)
@TableId(type = IdType.UUID)
@ApiModelProperty(value = "主键")
private java.lang.String id;
/**字段code*/
@Excel(name = "字段code", width = 15)
@ApiModelProperty(value = "字段code")
private java.lang.String fieldCode;
/**表主键*/
@Excel(name = "表主键", width = 15)
@ApiModelProperty(value = "表主键")
private java.lang.String tableId;
/**字段名*/
@Excel(name = "字段名", width = 15)
@ApiModelProperty(value = "字段名")
private java.lang.String fieldName;
/**字段描述*/
@Excel(name = "字段描述", width = 15)
@ApiModelProperty(value = "字段描述")
private java.lang.String fieldDescribe;
/**字段类型*/
@Excel(name = "字段类型", width = 15)
@ApiModelProperty(value = "字段类型")
@Dict(dicCode = "field_type")
private java.lang.String fieldType;
/**列表是否显示*/
@Excel(name = "列表是否显示", width = 15)
@ApiModelProperty(value = "列表是否显示")
@Dict(dicCode = "yn")
private java.lang.String listShow;
/**表单是否显示*/
@Excel(name = "表单是否显示", width = 15)
@ApiModelProperty(value = "表单是否显示")
@Dict(dicCode = "yn")
private java.lang.String formShow;
/**表单分组*/
@Excel(name = "表单分组", width = 15)
@ApiModelProperty(value = "表单分组")
@Dict(dicCode = "equip_field_group")
private java.lang.String fieldGroup;
/**excel字段是否导出*/
@Excel(name = "excel字段是否导出", width = 15)
@ApiModelProperty(value = "excel字段是否导出")
@Dict(dicCode = "yn")
private java.lang.String exportShow;
/**是否必填*/
@Excel(name = "是否必填", width = 15)
@ApiModelProperty(value = "是否必填")
@Dict(dicCode = "yn")
private java.lang.String required;
/**校验规则*/
@Excel(name = "校验规则", width = 15)
@ApiModelProperty(value = "校验规则")
private java.lang.String checkRule;
/**排序*/
@Excel(name = "排序", width = 15)
@ApiModelProperty(value = "排序")
private java.lang.Integer fieldSort;
/**可输入长度*/
@Excel(name = "可输入长度", width = 15)
@ApiModelProperty(value = "可输入长度")
private java.lang.Integer fieldLength;
/**字典项*/
@Excel(name = "字典项", width = 15)
@ApiModelProperty(value = "可输入长度")
private java.lang.String dictType;
/**跳转地址*/
@Excel(name = "跳转地址", width = 15)
@ApiModelProperty(value = "跳转地址")
private java.lang.String redirectUrl;
/**创建时间*/
@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
@ApiModelProperty(value = "创建时间")
private java.util.Date createTime;
/**
* java对象属性名
*/
@Excel(name = "java对象属性名", width = 15)
@ApiModelProperty(value = "java对象属性名")
private java.lang.String entityFieldCode;
/**是否对客户开放*/
@Excel(name = "是否对客户开放", width = 15)
@ApiModelProperty(value = "是否对客户开放")
@Dict(dicCode = "yn")
private java.lang.String isOpen;
}