Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
I
ibzdict
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
ibiz4jteam
ibzdict
提交
fdcd7bbc
提交
fdcd7bbc
编写于
4月 15, 2020
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
ibizdev提交
上级
2649cea0
变更
2
隐藏空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
30 行增加
和
125 行删除
+30
-125
IBZDict.java
...re/src/main/java/cn/ibizlab/core/dict/domain/IBZDict.java
+11
-62
IBZDictItem.java
...rc/main/java/cn/ibizlab/core/dict/domain/IBZDictItem.java
+19
-63
未找到文件。
ibzdict-core/src/main/java/cn/ibizlab/core/dict/domain/IBZDict.java
浏览文件 @
fdcd7bbc
...
@@ -40,56 +40,49 @@ public class IBZDict extends EntityBase implements Serializable {
...
@@ -40,56 +40,49 @@ public class IBZDict extends EntityBase implements Serializable {
/**
/**
* 字典名称
* 字典名称
*/
*/
@TableField
(
value
=
"ibzdictname"
)
@TableField
(
value
=
"ibzdictname"
)
private
String
dictname
;
private
String
dictname
;
/**
/**
* 逻辑有效标志
* 逻辑有效标志
*/
*/
@DEField
(
preType
=
DEPredefinedFieldType
.
LOGICVALID
)
@DEField
(
preType
=
DEPredefinedFieldType
.
LOGICVALID
)
@TableLogic
(
value
=
"1"
,
delval
=
"0"
)
@TableLogic
(
value
=
"1"
,
delval
=
"0"
)
@TableField
(
value
=
"enable"
,
fill
=
FieldFill
.
INSERT_UPDATE
)
@TableField
(
value
=
"enable"
)
private
Integer
enable
;
private
Integer
enable
;
/**
/**
* 建立时间
* 建立时间
*/
*/
@DEField
(
preType
=
DEPredefinedFieldType
.
CREATEDATE
)
@DEField
(
preType
=
DEPredefinedFieldType
.
CREATEDATE
)
@TableField
(
value
=
"createdate"
,
fill
=
FieldFill
.
INSERT
)
@TableField
(
value
=
"createdate"
,
fill
=
FieldFill
.
INSERT
)
@JsonFormat
(
pattern
=
"yyyy-MM-dd HH:mm:ss"
,
locale
=
"zh"
,
timezone
=
"GMT+8"
)
@JsonFormat
(
pattern
=
"yyyy-MM-dd HH:mm:ss"
,
locale
=
"zh"
,
timezone
=
"GMT+8"
)
private
Timestamp
createdate
;
private
Timestamp
createdate
;
/**
/**
* 更新时间
* 更新时间
*/
*/
@DEField
(
preType
=
DEPredefinedFieldType
.
UPDATEDATE
)
@DEField
(
preType
=
DEPredefinedFieldType
.
UPDATEDATE
)
@TableField
(
value
=
"updatedate"
,
fill
=
FieldFill
.
INSERT_UPDATE
)
@TableField
(
value
=
"updatedate"
)
@JsonFormat
(
pattern
=
"yyyy-MM-dd HH:mm:ss"
,
locale
=
"zh"
,
timezone
=
"GMT+8"
)
@JsonFormat
(
pattern
=
"yyyy-MM-dd HH:mm:ss"
,
locale
=
"zh"
,
timezone
=
"GMT+8"
)
private
Timestamp
updatedate
;
private
Timestamp
updatedate
;
/**
/**
* 建立人
* 建立人
*/
*/
@DEField
(
preType
=
DEPredefinedFieldType
.
CREATEMAN
)
@DEField
(
preType
=
DEPredefinedFieldType
.
CREATEMAN
)
@TableField
(
value
=
"createman"
,
fill
=
FieldFill
.
INSERT
)
@TableField
(
value
=
"createman"
,
fill
=
FieldFill
.
INSERT
)
private
String
createman
;
private
String
createman
;
/**
/**
* 更新人
* 更新人
*/
*/
@DEField
(
preType
=
DEPredefinedFieldType
.
UPDATEMAN
)
@DEField
(
preType
=
DEPredefinedFieldType
.
UPDATEMAN
)
@TableField
(
value
=
"updateman"
,
fill
=
FieldFill
.
INSERT_UPDATE
)
@TableField
(
value
=
"updateman"
)
private
String
updateman
;
private
String
updateman
;
/**
/**
* 字典项目
* 字典项目
*/
*/
...
@@ -99,14 +92,6 @@ public class IBZDict extends EntityBase implements Serializable {
...
@@ -99,14 +92,6 @@ public class IBZDict extends EntityBase implements Serializable {
private
List
<
cn
.
ibizlab
.
core
.
dict
.
domain
.
IBZDictItem
>
items
;
private
List
<
cn
.
ibizlab
.
core
.
dict
.
domain
.
IBZDictItem
>
items
;
/**
* 设置 [字典标识]
*/
public
void
setDictid
(
String
dictid
){
this
.
dictid
=
dictid
;
this
.
modify
(
"ibzdictid"
,
dictid
);
}
/**
/**
* 设置 [字典名称]
* 设置 [字典名称]
*/
*/
...
@@ -114,41 +99,5 @@ public class IBZDict extends EntityBase implements Serializable {
...
@@ -114,41 +99,5 @@ public class IBZDict extends EntityBase implements Serializable {
this
.
dictname
=
dictname
;
this
.
dictname
=
dictname
;
this
.
modify
(
"ibzdictname"
,
dictname
);
this
.
modify
(
"ibzdictname"
,
dictname
);
}
}
/**
* 设置 [逻辑有效标志]
*/
public
void
setEnable
(
Integer
enable
){
this
.
enable
=
enable
;
}
/**
* 设置 [建立时间]
*/
public
void
setCreatedate
(
Timestamp
createdate
){
this
.
createdate
=
createdate
;
}
/**
* 设置 [更新时间]
*/
public
void
setUpdatedate
(
Timestamp
updatedate
){
this
.
updatedate
=
updatedate
;
}
/**
* 设置 [建立人]
*/
public
void
setCreateman
(
String
createman
){
this
.
createman
=
createman
;
}
/**
* 设置 [更新人]
*/
public
void
setUpdateman
(
String
updateman
){
this
.
updateman
=
updateman
;
}
}
}
ibzdict-core/src/main/java/cn/ibizlab/core/dict/domain/IBZDictItem.java
浏览文件 @
fdcd7bbc
...
@@ -40,99 +40,91 @@ public class IBZDictItem extends EntityBase implements Serializable {
...
@@ -40,99 +40,91 @@ public class IBZDictItem extends EntityBase implements Serializable {
/**
/**
* 栏目显示值
* 栏目显示值
*/
*/
@TableField
(
value
=
"ibzdictitemname"
)
@TableField
(
value
=
"ibzdictitemname"
)
private
String
itemname
;
private
String
itemname
;
/**
/**
* 栏目值
* 栏目值
*/
*/
@TableField
(
value
=
"dictitemval"
)
@TableField
(
value
=
"dictitemval"
)
private
String
itemval
;
private
String
itemval
;
/**
/**
* 字典标识
* 字典标识
*/
*/
@TableField
(
value
=
"dictid"
)
@TableField
(
value
=
"dictid"
)
private
String
dictid
;
private
String
dictid
;
/**
/**
* 父栏目值
* 父栏目值
*/
*/
@TableField
(
value
=
"pitemval"
)
@TableField
(
value
=
"pitemval"
)
private
String
pitemval
;
private
String
pitemval
;
/**
/**
* 过滤项
* 过滤项
*/
*/
@TableField
(
value
=
"itemfilter"
)
@TableField
(
value
=
"itemfilter"
)
private
String
itemfilter
;
private
String
itemfilter
;
/**
/**
* 栏目样式
* 栏目样式
*/
*/
@TableField
(
value
=
"itemcls"
)
@TableField
(
value
=
"itemcls"
)
private
String
itemcls
;
private
String
itemcls
;
/**
/**
* 图标
* 图标
*/
*/
@TableField
(
value
=
"itemicon"
)
@TableField
(
value
=
"itemicon"
)
private
String
itemicon
;
private
String
itemicon
;
/**
/**
* 排序
* 排序
*/
*/
@TableField
(
value
=
"showorder"
)
@TableField
(
value
=
"showorder"
)
private
Integer
showorder
;
private
Integer
showorder
;
/**
/**
* 建立时间
* 建立时间
*/
*/
@DEField
(
preType
=
DEPredefinedFieldType
.
CREATEDATE
)
@DEField
(
preType
=
DEPredefinedFieldType
.
CREATEDATE
)
@TableField
(
value
=
"createdate"
,
fill
=
FieldFill
.
INSERT
)
@TableField
(
value
=
"createdate"
,
fill
=
FieldFill
.
INSERT
)
@JsonFormat
(
pattern
=
"yyyy-MM-dd HH:mm:ss"
,
locale
=
"zh"
,
timezone
=
"GMT+8"
)
@JsonFormat
(
pattern
=
"yyyy-MM-dd HH:mm:ss"
,
locale
=
"zh"
,
timezone
=
"GMT+8"
)
private
Timestamp
createdate
;
private
Timestamp
createdate
;
/**
/**
* 更新时间
* 更新时间
*/
*/
@DEField
(
preType
=
DEPredefinedFieldType
.
UPDATEDATE
)
@DEField
(
preType
=
DEPredefinedFieldType
.
UPDATEDATE
)
@TableField
(
value
=
"updatedate"
,
fill
=
FieldFill
.
INSERT_UPDATE
)
@TableField
(
value
=
"updatedate"
)
@JsonFormat
(
pattern
=
"yyyy-MM-dd HH:mm:ss"
,
locale
=
"zh"
,
timezone
=
"GMT+8"
)
@JsonFormat
(
pattern
=
"yyyy-MM-dd HH:mm:ss"
,
locale
=
"zh"
,
timezone
=
"GMT+8"
)
private
Timestamp
updatedate
;
private
Timestamp
updatedate
;
/**
/**
* 建立人
* 建立人
*/
*/
@DEField
(
preType
=
DEPredefinedFieldType
.
CREATEMAN
)
@DEField
(
preType
=
DEPredefinedFieldType
.
CREATEMAN
)
@TableField
(
value
=
"createman"
,
fill
=
FieldFill
.
INSERT
)
@TableField
(
value
=
"createman"
,
fill
=
FieldFill
.
INSERT
)
private
String
createman
;
private
String
createman
;
/**
/**
* 更新人
* 更新人
*/
*/
@DEField
(
preType
=
DEPredefinedFieldType
.
UPDATEMAN
)
@DEField
(
preType
=
DEPredefinedFieldType
.
UPDATEMAN
)
@TableField
(
value
=
"updateman"
,
fill
=
FieldFill
.
INSERT_UPDATE
)
@TableField
(
value
=
"updateman"
)
private
String
updateman
;
private
String
updateman
;
/**
* 字典
*/
@JsonIgnore
@JsonIgnore
@JSONField
(
serialize
=
false
)
@JSONField
(
serialize
=
false
)
@TableField
(
exist
=
false
)
@TableField
(
exist
=
false
)
private
IBZDict
dict
;
private
IBZDict
dict
;
/**
* 设置 [字典项目标识]
*/
public
void
setItemid
(
String
itemid
){
this
.
itemid
=
itemid
;
this
.
modify
(
"ibzdictitemid"
,
itemid
);
}
/**
/**
* 设置 [栏目显示值]
* 设置 [栏目显示值]
...
@@ -141,7 +133,6 @@ public class IBZDictItem extends EntityBase implements Serializable {
...
@@ -141,7 +133,6 @@ public class IBZDictItem extends EntityBase implements Serializable {
this
.
itemname
=
itemname
;
this
.
itemname
=
itemname
;
this
.
modify
(
"ibzdictitemname"
,
itemname
);
this
.
modify
(
"ibzdictitemname"
,
itemname
);
}
}
/**
/**
* 设置 [栏目值]
* 设置 [栏目值]
*/
*/
...
@@ -149,7 +140,6 @@ public class IBZDictItem extends EntityBase implements Serializable {
...
@@ -149,7 +140,6 @@ public class IBZDictItem extends EntityBase implements Serializable {
this
.
itemval
=
itemval
;
this
.
itemval
=
itemval
;
this
.
modify
(
"dictitemval"
,
itemval
);
this
.
modify
(
"dictitemval"
,
itemval
);
}
}
/**
/**
* 设置 [字典标识]
* 设置 [字典标识]
*/
*/
...
@@ -157,7 +147,6 @@ public class IBZDictItem extends EntityBase implements Serializable {
...
@@ -157,7 +147,6 @@ public class IBZDictItem extends EntityBase implements Serializable {
this
.
dictid
=
dictid
;
this
.
dictid
=
dictid
;
this
.
modify
(
"dictid"
,
dictid
);
this
.
modify
(
"dictid"
,
dictid
);
}
}
/**
/**
* 设置 [父栏目值]
* 设置 [父栏目值]
*/
*/
...
@@ -165,7 +154,6 @@ public class IBZDictItem extends EntityBase implements Serializable {
...
@@ -165,7 +154,6 @@ public class IBZDictItem extends EntityBase implements Serializable {
this
.
pitemval
=
pitemval
;
this
.
pitemval
=
pitemval
;
this
.
modify
(
"pitemval"
,
pitemval
);
this
.
modify
(
"pitemval"
,
pitemval
);
}
}
/**
/**
* 设置 [过滤项]
* 设置 [过滤项]
*/
*/
...
@@ -173,7 +161,6 @@ public class IBZDictItem extends EntityBase implements Serializable {
...
@@ -173,7 +161,6 @@ public class IBZDictItem extends EntityBase implements Serializable {
this
.
itemfilter
=
itemfilter
;
this
.
itemfilter
=
itemfilter
;
this
.
modify
(
"itemfilter"
,
itemfilter
);
this
.
modify
(
"itemfilter"
,
itemfilter
);
}
}
/**
/**
* 设置 [栏目样式]
* 设置 [栏目样式]
*/
*/
...
@@ -181,7 +168,6 @@ public class IBZDictItem extends EntityBase implements Serializable {
...
@@ -181,7 +168,6 @@ public class IBZDictItem extends EntityBase implements Serializable {
this
.
itemcls
=
itemcls
;
this
.
itemcls
=
itemcls
;
this
.
modify
(
"itemcls"
,
itemcls
);
this
.
modify
(
"itemcls"
,
itemcls
);
}
}
/**
/**
* 设置 [图标]
* 设置 [图标]
*/
*/
...
@@ -189,7 +175,6 @@ public class IBZDictItem extends EntityBase implements Serializable {
...
@@ -189,7 +175,6 @@ public class IBZDictItem extends EntityBase implements Serializable {
this
.
itemicon
=
itemicon
;
this
.
itemicon
=
itemicon
;
this
.
modify
(
"itemicon"
,
itemicon
);
this
.
modify
(
"itemicon"
,
itemicon
);
}
}
/**
/**
* 设置 [排序]
* 设置 [排序]
*/
*/
...
@@ -197,34 +182,5 @@ public class IBZDictItem extends EntityBase implements Serializable {
...
@@ -197,34 +182,5 @@ public class IBZDictItem extends EntityBase implements Serializable {
this
.
showorder
=
showorder
;
this
.
showorder
=
showorder
;
this
.
modify
(
"showorder"
,
showorder
);
this
.
modify
(
"showorder"
,
showorder
);
}
}
/**
* 设置 [建立时间]
*/
public
void
setCreatedate
(
Timestamp
createdate
){
this
.
createdate
=
createdate
;
}
/**
* 设置 [更新时间]
*/
public
void
setUpdatedate
(
Timestamp
updatedate
){
this
.
updatedate
=
updatedate
;
}
/**
* 设置 [建立人]
*/
public
void
setCreateman
(
String
createman
){
this
.
createman
=
createman
;
}
/**
* 设置 [更新人]
*/
public
void
setUpdateman
(
String
updateman
){
this
.
updateman
=
updateman
;
}
}
}
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录