zelong.shao

dao|初始化dao层

Showing 47 changed files with 2112 additions and 32 deletions
1 +package com.fedex.connect.common.dao.base;
2 +
3 +import com.fedex.connect.common.model.base.DictionaryEntries;
4 +import com.fedex.connect.common.model.base.DictionaryEntriesExample;
5 +import org.apache.ibatis.annotations.Param;
6 +
7 +import java.math.BigDecimal;
8 +import java.util.List;
9 +
10 +public interface DictionaryEntriesMapper {
11 + long countByExample(DictionaryEntriesExample example);
12 +
13 + int deleteByExample(DictionaryEntriesExample example);
14 +
15 + int deleteByPrimaryKey(BigDecimal id);
16 +
17 + int insert(DictionaryEntries record);
18 +
19 + int insertSelective(DictionaryEntries record);
20 +
21 + List<DictionaryEntries> selectByExample(DictionaryEntriesExample example);
22 +
23 + DictionaryEntries selectByPrimaryKey(BigDecimal id);
24 +
25 + int updateByExampleSelective(@Param("record") DictionaryEntries record, @Param("example") DictionaryEntriesExample example);
26 +
27 + int updateByExample(@Param("record") DictionaryEntries record, @Param("example") DictionaryEntriesExample example);
28 +
29 + int updateByPrimaryKeySelective(DictionaryEntries record);
30 +
31 + int updateByPrimaryKey(DictionaryEntries record);
32 +}
...\ No newline at end of file ...\ No newline at end of file
1 -package com.fedex.connect.common.dao.sys; 1 +package com.fedex.connect.common.dao.base;
2 2
3 -import com.fedex.connect.common.model.sys.Dictionary; 3 +import com.fedex.connect.common.model.base.Dictionary;
4 -import com.fedex.connect.common.model.sys.DictionaryExample; 4 +import com.fedex.connect.common.model.base.DictionaryExample;
5 +import java.math.BigDecimal;
5 import java.util.List; 6 import java.util.List;
6 import org.apache.ibatis.annotations.Param; 7 import org.apache.ibatis.annotations.Param;
7 8
...@@ -10,7 +11,7 @@ public interface DictionaryMapper { ...@@ -10,7 +11,7 @@ public interface DictionaryMapper {
10 11
11 int deleteByExample(DictionaryExample example); 12 int deleteByExample(DictionaryExample example);
12 13
13 - int deleteByPrimaryKey(Long id); 14 + int deleteByPrimaryKey(BigDecimal id);
14 15
15 int insert(Dictionary record); 16 int insert(Dictionary record);
16 17
...@@ -18,7 +19,7 @@ public interface DictionaryMapper { ...@@ -18,7 +19,7 @@ public interface DictionaryMapper {
18 19
19 List<Dictionary> selectByExample(DictionaryExample example); 20 List<Dictionary> selectByExample(DictionaryExample example);
20 21
21 - Dictionary selectByPrimaryKey(Long id); 22 + Dictionary selectByPrimaryKey(BigDecimal id);
22 23
23 int updateByExampleSelective(@Param("record") Dictionary record, @Param("example") DictionaryExample example); 24 int updateByExampleSelective(@Param("record") Dictionary record, @Param("example") DictionaryExample example);
24 25
......
1 -package com.fedex.connect.common.dao.base;
...\ No newline at end of file ...\ No newline at end of file
1 +package com.fedex.connect.common.dao.sys;
2 +
3 +import com.fedex.connect.common.model.sys.KafkaStorageHistory;
4 +import com.fedex.connect.common.model.sys.KafkaStorageHistoryExample;
5 +import java.util.List;
6 +import org.apache.ibatis.annotations.Param;
7 +
8 +public interface KafkaStorageHistoryMapper {
9 + long countByExample(KafkaStorageHistoryExample example);
10 +
11 + int deleteByExample(KafkaStorageHistoryExample example);
12 +
13 + int deleteByPrimaryKey(Long id);
14 +
15 + int insert(KafkaStorageHistory record);
16 +
17 + int insertSelective(KafkaStorageHistory record);
18 +
19 + List<KafkaStorageHistory> selectByExampleWithBLOBs(KafkaStorageHistoryExample example);
20 +
21 + List<KafkaStorageHistory> selectByExample(KafkaStorageHistoryExample example);
22 +
23 + KafkaStorageHistory selectByPrimaryKey(Long id);
24 +
25 + int updateByExampleSelective(@Param("record") KafkaStorageHistory record, @Param("example") KafkaStorageHistoryExample example);
26 +
27 + int updateByExampleWithBLOBs(@Param("record") KafkaStorageHistory record, @Param("example") KafkaStorageHistoryExample example);
28 +
29 + int updateByExample(@Param("record") KafkaStorageHistory record, @Param("example") KafkaStorageHistoryExample example);
30 +
31 + int updateByPrimaryKeySelective(KafkaStorageHistory record);
32 +
33 + int updateByPrimaryKeyWithBLOBs(KafkaStorageHistory record);
34 +
35 + int updateByPrimaryKey(KafkaStorageHistory record);
36 +}
...\ No newline at end of file ...\ No newline at end of file
1 +package com.fedex.connect.common.dao.sys;
2 +
3 +import com.fedex.connect.common.model.sys.KafkaTemporaryStorage;
4 +import com.fedex.connect.common.model.sys.KafkaTemporaryStorageExample;
5 +import java.util.List;
6 +import org.apache.ibatis.annotations.Param;
7 +
8 +public interface KafkaTemporaryStorageMapper {
9 + long countByExample(KafkaTemporaryStorageExample example);
10 +
11 + int deleteByExample(KafkaTemporaryStorageExample example);
12 +
13 + int deleteByPrimaryKey(Long id);
14 +
15 + int insert(KafkaTemporaryStorage record);
16 +
17 + int insertSelective(KafkaTemporaryStorage record);
18 +
19 + List<KafkaTemporaryStorage> selectByExampleWithBLOBs(KafkaTemporaryStorageExample example);
20 +
21 + List<KafkaTemporaryStorage> selectByExample(KafkaTemporaryStorageExample example);
22 +
23 + KafkaTemporaryStorage selectByPrimaryKey(Long id);
24 +
25 + int updateByExampleSelective(@Param("record") KafkaTemporaryStorage record, @Param("example") KafkaTemporaryStorageExample example);
26 +
27 + int updateByExampleWithBLOBs(@Param("record") KafkaTemporaryStorage record, @Param("example") KafkaTemporaryStorageExample example);
28 +
29 + int updateByExample(@Param("record") KafkaTemporaryStorage record, @Param("example") KafkaTemporaryStorageExample example);
30 +
31 + int updateByPrimaryKeySelective(KafkaTemporaryStorage record);
32 +
33 + int updateByPrimaryKeyWithBLOBs(KafkaTemporaryStorage record);
34 +
35 + int updateByPrimaryKey(KafkaTemporaryStorage record);
36 +}
...\ No newline at end of file ...\ No newline at end of file
1 +package com.fedex.connect.common.dao.sys;
2 +
3 +import com.fedex.connect.common.model.sys.ParamConfig;
4 +import com.fedex.connect.common.model.sys.ParamConfigExample;
5 +import java.util.List;
6 +import org.apache.ibatis.annotations.Param;
7 +
8 +public interface ParamConfigMapper {
9 + long countByExample(ParamConfigExample example);
10 +
11 + int deleteByExample(ParamConfigExample example);
12 +
13 + int deleteByPrimaryKey(Long id);
14 +
15 + int insert(ParamConfig record);
16 +
17 + int insertSelective(ParamConfig record);
18 +
19 + List<ParamConfig> selectByExample(ParamConfigExample example);
20 +
21 + ParamConfig selectByPrimaryKey(Long id);
22 +
23 + int updateByExampleSelective(@Param("record") ParamConfig record, @Param("example") ParamConfigExample example);
24 +
25 + int updateByExample(@Param("record") ParamConfig record, @Param("example") ParamConfigExample example);
26 +
27 + int updateByPrimaryKeySelective(ParamConfig record);
28 +
29 + int updateByPrimaryKey(ParamConfig record);
30 +}
...\ No newline at end of file ...\ No newline at end of file
1 +package com.fedex.connect.common.dao.sys;
2 +
3 +import com.fedex.connect.common.model.sys.Privilege;
4 +import com.fedex.connect.common.model.sys.PrivilegeExample;
5 +import java.math.BigDecimal;
6 +import java.util.List;
7 +import org.apache.ibatis.annotations.Param;
8 +
9 +public interface PrivilegeMapper {
10 + long countByExample(PrivilegeExample example);
11 +
12 + int deleteByExample(PrivilegeExample example);
13 +
14 + int deleteByPrimaryKey(BigDecimal id);
15 +
16 + int insert(Privilege record);
17 +
18 + int insertSelective(Privilege record);
19 +
20 + List<Privilege> selectByExample(PrivilegeExample example);
21 +
22 + Privilege selectByPrimaryKey(BigDecimal id);
23 +
24 + int updateByExampleSelective(@Param("record") Privilege record, @Param("example") PrivilegeExample example);
25 +
26 + int updateByExample(@Param("record") Privilege record, @Param("example") PrivilegeExample example);
27 +
28 + int updateByPrimaryKeySelective(Privilege record);
29 +
30 + int updateByPrimaryKey(Privilege record);
31 +}
...\ No newline at end of file ...\ No newline at end of file
1 +package com.fedex.connect.common.dao.sys;
2 +
3 +import com.fedex.connect.common.model.sys.Role;
4 +import com.fedex.connect.common.model.sys.RoleExample;
5 +import java.math.BigDecimal;
6 +import java.util.List;
7 +import org.apache.ibatis.annotations.Param;
8 +
9 +public interface RoleMapper {
10 + long countByExample(RoleExample example);
11 +
12 + int deleteByExample(RoleExample example);
13 +
14 + int deleteByPrimaryKey(BigDecimal id);
15 +
16 + int insert(Role record);
17 +
18 + int insertSelective(Role record);
19 +
20 + List<Role> selectByExample(RoleExample example);
21 +
22 + Role selectByPrimaryKey(BigDecimal id);
23 +
24 + int updateByExampleSelective(@Param("record") Role record, @Param("example") RoleExample example);
25 +
26 + int updateByExample(@Param("record") Role record, @Param("example") RoleExample example);
27 +
28 + int updateByPrimaryKeySelective(Role record);
29 +
30 + int updateByPrimaryKey(Role record);
31 +}
...\ No newline at end of file ...\ No newline at end of file
1 +package com.fedex.connect.common.dao.sys;
2 +
3 +import com.fedex.connect.common.model.sys.RolePrivilege;
4 +import com.fedex.connect.common.model.sys.RolePrivilegeExample;
5 +import java.math.BigDecimal;
6 +import java.util.List;
7 +import org.apache.ibatis.annotations.Param;
8 +
9 +public interface RolePrivilegeMapper {
10 + long countByExample(RolePrivilegeExample example);
11 +
12 + int deleteByExample(RolePrivilegeExample example);
13 +
14 + int deleteByPrimaryKey(BigDecimal id);
15 +
16 + int insert(RolePrivilege record);
17 +
18 + int insertSelective(RolePrivilege record);
19 +
20 + List<RolePrivilege> selectByExample(RolePrivilegeExample example);
21 +
22 + RolePrivilege selectByPrimaryKey(BigDecimal id);
23 +
24 + int updateByExampleSelective(@Param("record") RolePrivilege record, @Param("example") RolePrivilegeExample example);
25 +
26 + int updateByExample(@Param("record") RolePrivilege record, @Param("example") RolePrivilegeExample example);
27 +
28 + int updateByPrimaryKeySelective(RolePrivilege record);
29 +
30 + int updateByPrimaryKey(RolePrivilege record);
31 +}
...\ No newline at end of file ...\ No newline at end of file
1 +package com.fedex.connect.common.dao.sys;
2 +
3 +import com.fedex.connect.common.model.sys.User;
4 +import com.fedex.connect.common.model.sys.UserExample;
5 +import java.util.List;
6 +import org.apache.ibatis.annotations.Param;
7 +
8 +public interface UserMapper {
9 + long countByExample(UserExample example);
10 +
11 + int deleteByExample(UserExample example);
12 +
13 + int deleteByPrimaryKey(Long id);
14 +
15 + int insert(User record);
16 +
17 + int insertSelective(User record);
18 +
19 + List<User> selectByExample(UserExample example);
20 +
21 + User selectByPrimaryKey(Long id);
22 +
23 + int updateByExampleSelective(@Param("record") User record, @Param("example") UserExample example);
24 +
25 + int updateByExample(@Param("record") User record, @Param("example") UserExample example);
26 +
27 + int updateByPrimaryKeySelective(User record);
28 +
29 + int updateByPrimaryKey(User record);
30 +}
...\ No newline at end of file ...\ No newline at end of file
1 +package com.fedex.connect.common.dao.sys;
2 +
3 +import com.fedex.connect.common.model.sys.UserRole;
4 +import com.fedex.connect.common.model.sys.UserRoleExample;
5 +import java.util.List;
6 +import org.apache.ibatis.annotations.Param;
7 +
8 +public interface UserRoleMapper {
9 + long countByExample(UserRoleExample example);
10 +
11 + int deleteByExample(UserRoleExample example);
12 +
13 + int deleteByPrimaryKey(Long id);
14 +
15 + int insert(UserRole record);
16 +
17 + int insertSelective(UserRole record);
18 +
19 + List<UserRole> selectByExample(UserRoleExample example);
20 +
21 + UserRole selectByPrimaryKey(Long id);
22 +
23 + int updateByExampleSelective(@Param("record") UserRole record, @Param("example") UserRoleExample example);
24 +
25 + int updateByExample(@Param("record") UserRole record, @Param("example") UserRoleExample example);
26 +
27 + int updateByPrimaryKeySelective(UserRole record);
28 +
29 + int updateByPrimaryKey(UserRole record);
30 +}
...\ No newline at end of file ...\ No newline at end of file
1 -package com.fedex.connect.common.dao.sys;
...\ No newline at end of file ...\ No newline at end of file
1 -package com.fedex.connect.common.mapper.base;
...\ No newline at end of file ...\ No newline at end of file
1 -package com.fedex.connect.common.mapper.sys;
...\ No newline at end of file ...\ No newline at end of file
1 -package com.fedex.connect.common.model.sys; 1 +package com.fedex.connect.common.model.base;
2 2
3 import java.io.Serializable; 3 import java.io.Serializable;
4 +import java.math.BigDecimal;
4 import java.util.Date; 5 import java.util.Date;
5 6
6 /** 7 /**
...@@ -11,7 +12,7 @@ public class Dictionary implements Serializable { ...@@ -11,7 +12,7 @@ public class Dictionary implements Serializable {
11 /** 12 /**
12 * ID,主键自增 13 * ID,主键自增
13 */ 14 */
14 - private Long id; 15 + private BigDecimal id;
15 16
16 /** 17 /**
17 * 字典编号 18 * 字典编号
...@@ -29,9 +30,9 @@ public class Dictionary implements Serializable { ...@@ -29,9 +30,9 @@ public class Dictionary implements Serializable {
29 private String description; 30 private String description;
30 31
31 /** 32 /**
32 - * 状态(0,1) 33 + * 状态(0:无效、1:有效)
33 */ 34 */
34 - private Double status; 35 + private BigDecimal status;
35 36
36 /** 37 /**
37 * 上级字典ID 38 * 上级字典ID
...@@ -39,19 +40,24 @@ public class Dictionary implements Serializable { ...@@ -39,19 +40,24 @@ public class Dictionary implements Serializable {
39 private String parentId; 40 private String parentId;
40 41
41 /** 42 /**
42 - * 扩展字段1 43 + * 扩展字段1,字符串
43 */ 44 */
44 private String ext1; 45 private String ext1;
45 46
46 /** 47 /**
47 - * 扩展字段2 48 + * 扩展字段2,字符串
48 */ 49 */
49 private String ext2; 50 private String ext2;
50 51
51 /** 52 /**
52 - * 扩展字段3 53 + * 扩展字段3,数字
53 */ 54 */
54 - private String ext3; 55 + private Long ext3;
56 +
57 + /**
58 + * 扩展字段4,数字
59 + */
60 + private Long ext4;
55 61
56 /** 62 /**
57 * 创建时间 63 * 创建时间
...@@ -61,7 +67,7 @@ public class Dictionary implements Serializable { ...@@ -61,7 +67,7 @@ public class Dictionary implements Serializable {
61 /** 67 /**
62 * 创建人ID 68 * 创建人ID
63 */ 69 */
64 - private Long createUserId; 70 + private BigDecimal createUserId;
65 71
66 /** 72 /**
67 * 创建人名称 73 * 创建人名称
...@@ -76,7 +82,7 @@ public class Dictionary implements Serializable { ...@@ -76,7 +82,7 @@ public class Dictionary implements Serializable {
76 /** 82 /**
77 * 修改人ID 83 * 修改人ID
78 */ 84 */
79 - private Long modifyUserId; 85 + private BigDecimal modifyUserId;
80 86
81 /** 87 /**
82 * 修改人名称 88 * 修改人名称
...@@ -85,11 +91,11 @@ public class Dictionary implements Serializable { ...@@ -85,11 +91,11 @@ public class Dictionary implements Serializable {
85 91
86 private static final long serialVersionUID = 1L; 92 private static final long serialVersionUID = 1L;
87 93
88 - public Long getId() { 94 + public BigDecimal getId() {
89 return id; 95 return id;
90 } 96 }
91 97
92 - public void setId(Long id) { 98 + public void setId(BigDecimal id) {
93 this.id = id; 99 this.id = id;
94 } 100 }
95 101
...@@ -117,11 +123,11 @@ public class Dictionary implements Serializable { ...@@ -117,11 +123,11 @@ public class Dictionary implements Serializable {
117 this.description = description == null ? null : description.trim(); 123 this.description = description == null ? null : description.trim();
118 } 124 }
119 125
120 - public Double getStatus() { 126 + public BigDecimal getStatus() {
121 return status; 127 return status;
122 } 128 }
123 129
124 - public void setStatus(Double status) { 130 + public void setStatus(BigDecimal status) {
125 this.status = status; 131 this.status = status;
126 } 132 }
127 133
...@@ -149,12 +155,20 @@ public class Dictionary implements Serializable { ...@@ -149,12 +155,20 @@ public class Dictionary implements Serializable {
149 this.ext2 = ext2 == null ? null : ext2.trim(); 155 this.ext2 = ext2 == null ? null : ext2.trim();
150 } 156 }
151 157
152 - public String getExt3() { 158 + public Long getExt3() {
153 return ext3; 159 return ext3;
154 } 160 }
155 161
156 - public void setExt3(String ext3) { 162 + public void setExt3(Long ext3) {
157 - this.ext3 = ext3 == null ? null : ext3.trim(); 163 + this.ext3 = ext3;
164 + }
165 +
166 + public Long getExt4() {
167 + return ext4;
168 + }
169 +
170 + public void setExt4(Long ext4) {
171 + this.ext4 = ext4;
158 } 172 }
159 173
160 public Date getCreateTime() { 174 public Date getCreateTime() {
...@@ -165,11 +179,11 @@ public class Dictionary implements Serializable { ...@@ -165,11 +179,11 @@ public class Dictionary implements Serializable {
165 this.createTime = createTime; 179 this.createTime = createTime;
166 } 180 }
167 181
168 - public Long getCreateUserId() { 182 + public BigDecimal getCreateUserId() {
169 return createUserId; 183 return createUserId;
170 } 184 }
171 185
172 - public void setCreateUserId(Long createUserId) { 186 + public void setCreateUserId(BigDecimal createUserId) {
173 this.createUserId = createUserId; 187 this.createUserId = createUserId;
174 } 188 }
175 189
...@@ -189,11 +203,11 @@ public class Dictionary implements Serializable { ...@@ -189,11 +203,11 @@ public class Dictionary implements Serializable {
189 this.modifyTime = modifyTime; 203 this.modifyTime = modifyTime;
190 } 204 }
191 205
192 - public Long getModifyUserId() { 206 + public BigDecimal getModifyUserId() {
193 return modifyUserId; 207 return modifyUserId;
194 } 208 }
195 209
196 - public void setModifyUserId(Long modifyUserId) { 210 + public void setModifyUserId(BigDecimal modifyUserId) {
197 this.modifyUserId = modifyUserId; 211 this.modifyUserId = modifyUserId;
198 } 212 }
199 213
...@@ -220,6 +234,7 @@ public class Dictionary implements Serializable { ...@@ -220,6 +234,7 @@ public class Dictionary implements Serializable {
220 sb.append(", ext1=").append(ext1); 234 sb.append(", ext1=").append(ext1);
221 sb.append(", ext2=").append(ext2); 235 sb.append(", ext2=").append(ext2);
222 sb.append(", ext3=").append(ext3); 236 sb.append(", ext3=").append(ext3);
237 + sb.append(", ext4=").append(ext4);
223 sb.append(", createTime=").append(createTime); 238 sb.append(", createTime=").append(createTime);
224 sb.append(", createUserId=").append(createUserId); 239 sb.append(", createUserId=").append(createUserId);
225 sb.append(", createUserName=").append(createUserName); 240 sb.append(", createUserName=").append(createUserName);
......
1 +package com.fedex.connect.common.model.base;
2 +
3 +import java.io.Serializable;
4 +import java.math.BigDecimal;
5 +import java.util.Date;
6 +
7 +/**
8 + * DESC: 字典表
9 + * TABLE: T_BI_DICTIONARY_ENTRIES
10 + */
11 +public class DictionaryEntries implements Serializable {
12 + /**
13 + * ID,主键自增
14 + */
15 + private BigDecimal id;
16 +
17 + /**
18 + * 字典编号
19 + */
20 + private String code;
21 +
22 + /**
23 + * 字典英文名称
24 + */
25 + private String englishName;
26 +
27 + /**
28 + * 描述
29 + */
30 + private String description;
31 +
32 + /**
33 + * 状态(0:无效、1:有效)
34 + */
35 + private BigDecimal status;
36 +
37 + /**
38 + * 上级字典ID
39 + */
40 + private BigDecimal parentId;
41 +
42 + /**
43 + * 字典目录ID
44 + */
45 + private BigDecimal dictId;
46 +
47 + /**
48 + * 字典目录CODE
49 + */
50 + private String dictCode;
51 +
52 + /**
53 + * 字典排序字段
54 + */
55 + private BigDecimal ordinal;
56 +
57 + /**
58 + * 扩展字段1,字符串
59 + */
60 + private String ext1;
61 +
62 + /**
63 + * 扩展字段2,字符串
64 + */
65 + private String ext2;
66 +
67 + /**
68 + * 扩展字段3,数字
69 + */
70 + private Long ext3;
71 +
72 + /**
73 + * 扩展字段4,数字
74 + */
75 + private Long ext4;
76 +
77 + /**
78 + * 创建时间
79 + */
80 + private Date createTime;
81 +
82 + /**
83 + * 创建人ID
84 + */
85 + private BigDecimal createUserId;
86 +
87 + /**
88 + * 创建人名称
89 + */
90 + private String createUserName;
91 +
92 + /**
93 + * 修改时间
94 + */
95 + private Date modifyTime;
96 +
97 + /**
98 + * 修改人ID
99 + */
100 + private BigDecimal modifyUserId;
101 +
102 + /**
103 + * 修改人名称
104 + */
105 + private String modifyUserName;
106 +
107 + private static final long serialVersionUID = 1L;
108 +
109 + public BigDecimal getId() {
110 + return id;
111 + }
112 +
113 + public void setId(BigDecimal id) {
114 + this.id = id;
115 + }
116 +
117 + public String getCode() {
118 + return code;
119 + }
120 +
121 + public void setCode(String code) {
122 + this.code = code == null ? null : code.trim();
123 + }
124 +
125 + public String getEnglishName() {
126 + return englishName;
127 + }
128 +
129 + public void setEnglishName(String englishName) {
130 + this.englishName = englishName == null ? null : englishName.trim();
131 + }
132 +
133 + public String getDescription() {
134 + return description;
135 + }
136 +
137 + public void setDescription(String description) {
138 + this.description = description == null ? null : description.trim();
139 + }
140 +
141 + public BigDecimal getStatus() {
142 + return status;
143 + }
144 +
145 + public void setStatus(BigDecimal status) {
146 + this.status = status;
147 + }
148 +
149 + public BigDecimal getParentId() {
150 + return parentId;
151 + }
152 +
153 + public void setParentId(BigDecimal parentId) {
154 + this.parentId = parentId;
155 + }
156 +
157 + public BigDecimal getDictId() {
158 + return dictId;
159 + }
160 +
161 + public void setDictId(BigDecimal dictId) {
162 + this.dictId = dictId;
163 + }
164 +
165 + public String getDictCode() {
166 + return dictCode;
167 + }
168 +
169 + public void setDictCode(String dictCode) {
170 + this.dictCode = dictCode == null ? null : dictCode.trim();
171 + }
172 +
173 + public BigDecimal getOrdinal() {
174 + return ordinal;
175 + }
176 +
177 + public void setOrdinal(BigDecimal ordinal) {
178 + this.ordinal = ordinal;
179 + }
180 +
181 + public String getExt1() {
182 + return ext1;
183 + }
184 +
185 + public void setExt1(String ext1) {
186 + this.ext1 = ext1 == null ? null : ext1.trim();
187 + }
188 +
189 + public String getExt2() {
190 + return ext2;
191 + }
192 +
193 + public void setExt2(String ext2) {
194 + this.ext2 = ext2 == null ? null : ext2.trim();
195 + }
196 +
197 + public Long getExt3() {
198 + return ext3;
199 + }
200 +
201 + public void setExt3(Long ext3) {
202 + this.ext3 = ext3;
203 + }
204 +
205 + public Long getExt4() {
206 + return ext4;
207 + }
208 +
209 + public void setExt4(Long ext4) {
210 + this.ext4 = ext4;
211 + }
212 +
213 + public Date getCreateTime() {
214 + return createTime;
215 + }
216 +
217 + public void setCreateTime(Date createTime) {
218 + this.createTime = createTime;
219 + }
220 +
221 + public BigDecimal getCreateUserId() {
222 + return createUserId;
223 + }
224 +
225 + public void setCreateUserId(BigDecimal createUserId) {
226 + this.createUserId = createUserId;
227 + }
228 +
229 + public String getCreateUserName() {
230 + return createUserName;
231 + }
232 +
233 + public void setCreateUserName(String createUserName) {
234 + this.createUserName = createUserName == null ? null : createUserName.trim();
235 + }
236 +
237 + public Date getModifyTime() {
238 + return modifyTime;
239 + }
240 +
241 + public void setModifyTime(Date modifyTime) {
242 + this.modifyTime = modifyTime;
243 + }
244 +
245 + public BigDecimal getModifyUserId() {
246 + return modifyUserId;
247 + }
248 +
249 + public void setModifyUserId(BigDecimal modifyUserId) {
250 + this.modifyUserId = modifyUserId;
251 + }
252 +
253 + public String getModifyUserName() {
254 + return modifyUserName;
255 + }
256 +
257 + public void setModifyUserName(String modifyUserName) {
258 + this.modifyUserName = modifyUserName == null ? null : modifyUserName.trim();
259 + }
260 +
261 + @Override
262 + public String toString() {
263 + StringBuilder sb = new StringBuilder();
264 + sb.append(getClass().getSimpleName());
265 + sb.append(" [");
266 + sb.append("Hash = ").append(hashCode());
267 + sb.append(", id=").append(id);
268 + sb.append(", code=").append(code);
269 + sb.append(", englishName=").append(englishName);
270 + sb.append(", description=").append(description);
271 + sb.append(", status=").append(status);
272 + sb.append(", parentId=").append(parentId);
273 + sb.append(", dictId=").append(dictId);
274 + sb.append(", dictCode=").append(dictCode);
275 + sb.append(", ordinal=").append(ordinal);
276 + sb.append(", ext1=").append(ext1);
277 + sb.append(", ext2=").append(ext2);
278 + sb.append(", ext3=").append(ext3);
279 + sb.append(", ext4=").append(ext4);
280 + sb.append(", createTime=").append(createTime);
281 + sb.append(", createUserId=").append(createUserId);
282 + sb.append(", createUserName=").append(createUserName);
283 + sb.append(", modifyTime=").append(modifyTime);
284 + sb.append(", modifyUserId=").append(modifyUserId);
285 + sb.append(", modifyUserName=").append(modifyUserName);
286 + sb.append(", serialVersionUID=").append(serialVersionUID);
287 + sb.append("]");
288 + return sb.toString();
289 + }
290 +}
...\ No newline at end of file ...\ No newline at end of file
1 -package com.fedex.connect.common.model.base;
...\ No newline at end of file ...\ No newline at end of file
1 +package com.fedex.connect.common.model.sys;
2 +
3 +import java.io.Serializable;
4 +import java.util.Date;
5 +
6 +/**
7 + * DESC: kafka数据历史表
8 + * TABLE: T_KAFKA_STORAGE_HISTORY
9 + */
10 +public class KafkaStorageHistory implements Serializable {
11 + /**
12 + * ID,自动增加
13 + */
14 + private Long id;
15 +
16 + /**
17 + * 由发送方定义的序列号,唯一 UUID JSON自动生成
18 + */
19 + private String messageId;
20 +
21 + /**
22 + * 消息代码/类型
23 + */
24 + private String messageCode;
25 +
26 + /**
27 + * 发送程序ID
28 + */
29 + private String senderId;
30 +
31 + /**
32 + * 接受程序ID
33 + */
34 + private String receiverId;
35 +
36 + /**
37 + * DM发送时间
38 + */
39 + private Date sendTime;
40 +
41 + /**
42 + * 运单号
43 + */
44 + private String consignmentCode;
45 +
46 + /**
47 + * 记录处理次数
48 + */
49 + private Long frequency;
50 +
51 + /**
52 + * 数据状态(0:待处理,1:已处理,2:处理失败)
53 + */
54 + private Long status;
55 +
56 + /**
57 + * 备注,记录错误信息
58 + */
59 + private String remark;
60 +
61 + /**
62 + * 系统入库创建时间
63 + */
64 + private Date createTime;
65 +
66 + /**
67 + * 消息体(Json字符串)
68 + */
69 + private String data;
70 +
71 + private static final long serialVersionUID = 1L;
72 +
73 + public Long getId() {
74 + return id;
75 + }
76 +
77 + public void setId(Long id) {
78 + this.id = id;
79 + }
80 +
81 + public String getMessageId() {
82 + return messageId;
83 + }
84 +
85 + public void setMessageId(String messageId) {
86 + this.messageId = messageId == null ? null : messageId.trim();
87 + }
88 +
89 + public String getMessageCode() {
90 + return messageCode;
91 + }
92 +
93 + public void setMessageCode(String messageCode) {
94 + this.messageCode = messageCode == null ? null : messageCode.trim();
95 + }
96 +
97 + public String getSenderId() {
98 + return senderId;
99 + }
100 +
101 + public void setSenderId(String senderId) {
102 + this.senderId = senderId == null ? null : senderId.trim();
103 + }
104 +
105 + public String getReceiverId() {
106 + return receiverId;
107 + }
108 +
109 + public void setReceiverId(String receiverId) {
110 + this.receiverId = receiverId == null ? null : receiverId.trim();
111 + }
112 +
113 + public Date getSendTime() {
114 + return sendTime;
115 + }
116 +
117 + public void setSendTime(Date sendTime) {
118 + this.sendTime = sendTime;
119 + }
120 +
121 + public String getConsignmentCode() {
122 + return consignmentCode;
123 + }
124 +
125 + public void setConsignmentCode(String consignmentCode) {
126 + this.consignmentCode = consignmentCode == null ? null : consignmentCode.trim();
127 + }
128 +
129 + public Long getFrequency() {
130 + return frequency;
131 + }
132 +
133 + public void setFrequency(Long frequency) {
134 + this.frequency = frequency;
135 + }
136 +
137 + public Long getStatus() {
138 + return status;
139 + }
140 +
141 + public void setStatus(Long status) {
142 + this.status = status;
143 + }
144 +
145 + public String getRemark() {
146 + return remark;
147 + }
148 +
149 + public void setRemark(String remark) {
150 + this.remark = remark == null ? null : remark.trim();
151 + }
152 +
153 + public Date getCreateTime() {
154 + return createTime;
155 + }
156 +
157 + public void setCreateTime(Date createTime) {
158 + this.createTime = createTime;
159 + }
160 +
161 + public String getData() {
162 + return data;
163 + }
164 +
165 + public void setData(String data) {
166 + this.data = data == null ? null : data.trim();
167 + }
168 +
169 + @Override
170 + public String toString() {
171 + StringBuilder sb = new StringBuilder();
172 + sb.append(getClass().getSimpleName());
173 + sb.append(" [");
174 + sb.append("Hash = ").append(hashCode());
175 + sb.append(", id=").append(id);
176 + sb.append(", messageId=").append(messageId);
177 + sb.append(", messageCode=").append(messageCode);
178 + sb.append(", senderId=").append(senderId);
179 + sb.append(", receiverId=").append(receiverId);
180 + sb.append(", sendTime=").append(sendTime);
181 + sb.append(", consignmentCode=").append(consignmentCode);
182 + sb.append(", frequency=").append(frequency);
183 + sb.append(", status=").append(status);
184 + sb.append(", remark=").append(remark);
185 + sb.append(", createTime=").append(createTime);
186 + sb.append(", data=").append(data);
187 + sb.append(", serialVersionUID=").append(serialVersionUID);
188 + sb.append("]");
189 + return sb.toString();
190 + }
191 +}
...\ No newline at end of file ...\ No newline at end of file
1 +package com.fedex.connect.common.model.sys;
2 +
3 +import java.io.Serializable;
4 +import java.util.Date;
5 +
6 +/**
7 + * DESC: kafka数据临时表
8 + * TABLE: T_KAFKA_TEMPORARY_STORAGE
9 + */
10 +public class KafkaTemporaryStorage implements Serializable {
11 + /**
12 + * ID,自动增加
13 + */
14 + private Long id;
15 +
16 + /**
17 + * 由发送方定义的序列号,唯一 UUID JSON自动生成
18 + */
19 + private String messageId;
20 +
21 + /**
22 + * 消息代码/类型
23 + */
24 + private String messageCode;
25 +
26 + /**
27 + * 发送程序ID
28 + */
29 + private String senderId;
30 +
31 + /**
32 + * 接受程序ID
33 + */
34 + private String receiverId;
35 +
36 + /**
37 + * DM发送时间
38 + */
39 + private Date sendTime;
40 +
41 + /**
42 + * 运单号
43 + */
44 + private String consignmentCode;
45 +
46 + /**
47 + * 记录处理次数
48 + */
49 + private Long frequency;
50 +
51 + /**
52 + * 数据状态(0:待处理,1:已处理,2:处理失败)
53 + */
54 + private Long status;
55 +
56 + /**
57 + * 备注,记录错误信息
58 + */
59 + private String remark;
60 +
61 + /**
62 + * 系统入库创建时间
63 + */
64 + private Date createTime;
65 +
66 + /**
67 + * 消息体(Json字符串)
68 + */
69 + private String data;
70 +
71 + private static final long serialVersionUID = 1L;
72 +
73 + public Long getId() {
74 + return id;
75 + }
76 +
77 + public void setId(Long id) {
78 + this.id = id;
79 + }
80 +
81 + public String getMessageId() {
82 + return messageId;
83 + }
84 +
85 + public void setMessageId(String messageId) {
86 + this.messageId = messageId == null ? null : messageId.trim();
87 + }
88 +
89 + public String getMessageCode() {
90 + return messageCode;
91 + }
92 +
93 + public void setMessageCode(String messageCode) {
94 + this.messageCode = messageCode == null ? null : messageCode.trim();
95 + }
96 +
97 + public String getSenderId() {
98 + return senderId;
99 + }
100 +
101 + public void setSenderId(String senderId) {
102 + this.senderId = senderId == null ? null : senderId.trim();
103 + }
104 +
105 + public String getReceiverId() {
106 + return receiverId;
107 + }
108 +
109 + public void setReceiverId(String receiverId) {
110 + this.receiverId = receiverId == null ? null : receiverId.trim();
111 + }
112 +
113 + public Date getSendTime() {
114 + return sendTime;
115 + }
116 +
117 + public void setSendTime(Date sendTime) {
118 + this.sendTime = sendTime;
119 + }
120 +
121 + public String getConsignmentCode() {
122 + return consignmentCode;
123 + }
124 +
125 + public void setConsignmentCode(String consignmentCode) {
126 + this.consignmentCode = consignmentCode == null ? null : consignmentCode.trim();
127 + }
128 +
129 + public Long getFrequency() {
130 + return frequency;
131 + }
132 +
133 + public void setFrequency(Long frequency) {
134 + this.frequency = frequency;
135 + }
136 +
137 + public Long getStatus() {
138 + return status;
139 + }
140 +
141 + public void setStatus(Long status) {
142 + this.status = status;
143 + }
144 +
145 + public String getRemark() {
146 + return remark;
147 + }
148 +
149 + public void setRemark(String remark) {
150 + this.remark = remark == null ? null : remark.trim();
151 + }
152 +
153 + public Date getCreateTime() {
154 + return createTime;
155 + }
156 +
157 + public void setCreateTime(Date createTime) {
158 + this.createTime = createTime;
159 + }
160 +
161 + public String getData() {
162 + return data;
163 + }
164 +
165 + public void setData(String data) {
166 + this.data = data == null ? null : data.trim();
167 + }
168 +
169 + @Override
170 + public String toString() {
171 + StringBuilder sb = new StringBuilder();
172 + sb.append(getClass().getSimpleName());
173 + sb.append(" [");
174 + sb.append("Hash = ").append(hashCode());
175 + sb.append(", id=").append(id);
176 + sb.append(", messageId=").append(messageId);
177 + sb.append(", messageCode=").append(messageCode);
178 + sb.append(", senderId=").append(senderId);
179 + sb.append(", receiverId=").append(receiverId);
180 + sb.append(", sendTime=").append(sendTime);
181 + sb.append(", consignmentCode=").append(consignmentCode);
182 + sb.append(", frequency=").append(frequency);
183 + sb.append(", status=").append(status);
184 + sb.append(", remark=").append(remark);
185 + sb.append(", createTime=").append(createTime);
186 + sb.append(", data=").append(data);
187 + sb.append(", serialVersionUID=").append(serialVersionUID);
188 + sb.append("]");
189 + return sb.toString();
190 + }
191 +}
...\ No newline at end of file ...\ No newline at end of file
1 +package com.fedex.connect.common.model.sys;
2 +
3 +import java.io.Serializable;
4 +
5 +/**
6 + * DESC: null
7 + * TABLE: T_SYS_PARAM_CONFIG
8 + */
9 +public class ParamConfig implements Serializable {
10 + /**
11 + * ID自增
12 + */
13 + private Long id;
14 +
15 + /**
16 + * 参数组KEY
17 + */
18 + private String codeGroup;
19 +
20 + /**
21 + * 组中对应不同分区的KEY
22 + */
23 + private String codeValue;
24 +
25 + /**
26 + * 参数值
27 + */
28 + private String paramValue;
29 +
30 + /**
31 + * null
32 + */
33 + private Long status;
34 +
35 + private static final long serialVersionUID = 1L;
36 +
37 + public Long getId() {
38 + return id;
39 + }
40 +
41 + public void setId(Long id) {
42 + this.id = id;
43 + }
44 +
45 + public String getCodeGroup() {
46 + return codeGroup;
47 + }
48 +
49 + public void setCodeGroup(String codeGroup) {
50 + this.codeGroup = codeGroup == null ? null : codeGroup.trim();
51 + }
52 +
53 + public String getCodeValue() {
54 + return codeValue;
55 + }
56 +
57 + public void setCodeValue(String codeValue) {
58 + this.codeValue = codeValue == null ? null : codeValue.trim();
59 + }
60 +
61 + public String getParamValue() {
62 + return paramValue;
63 + }
64 +
65 + public void setParamValue(String paramValue) {
66 + this.paramValue = paramValue == null ? null : paramValue.trim();
67 + }
68 +
69 + public Long getStatus() {
70 + return status;
71 + }
72 +
73 + public void setStatus(Long status) {
74 + this.status = status;
75 + }
76 +
77 + @Override
78 + public String toString() {
79 + StringBuilder sb = new StringBuilder();
80 + sb.append(getClass().getSimpleName());
81 + sb.append(" [");
82 + sb.append("Hash = ").append(hashCode());
83 + sb.append(", id=").append(id);
84 + sb.append(", codeGroup=").append(codeGroup);
85 + sb.append(", codeValue=").append(codeValue);
86 + sb.append(", paramValue=").append(paramValue);
87 + sb.append(", status=").append(status);
88 + sb.append(", serialVersionUID=").append(serialVersionUID);
89 + sb.append("]");
90 + return sb.toString();
91 + }
92 +}
...\ No newline at end of file ...\ No newline at end of file
1 +package com.fedex.connect.common.model.sys;
2 +
3 +import java.io.Serializable;
4 +import java.math.BigDecimal;
5 +import java.util.Date;
6 +
7 +/**
8 + * DESC: 权限表
9 + * TABLE: T_SYS_PRIVILEGE
10 + */
11 +public class Privilege implements Serializable {
12 + /**
13 + * ID,主键自增
14 + */
15 + private BigDecimal id;
16 +
17 + /**
18 + * 菜单编号
19 + */
20 + private String code;
21 +
22 + /**
23 + * 菜单名称
24 + */
25 + private String name;
26 +
27 + /**
28 + * 菜单级别(0,1,2)0为最顶级菜单
29 + */
30 + private BigDecimal rank;
31 +
32 + /**
33 + * 父级id
34 + */
35 + private Long parentId;
36 +
37 + /**
38 + * 排序字段
39 + */
40 + private Long ordinal;
41 +
42 + /**
43 + * 菜单对应URL
44 + */
45 + private String path;
46 +
47 + /**
48 + * 菜单类型(自定义)
49 +M:MENU菜单
50 +B:BUTTON 按钮
51 +C:BRANCH 分支
52 + */
53 + private String menuType;
54 +
55 + /**
56 + * 状态(1:有效[true]。0:无效[false]。)
57 + */
58 + private Long status;
59 +
60 + /**
61 + * 图标
62 + */
63 + private String icon;
64 +
65 + /**
66 + * 创建时间
67 + */
68 + private Date createTime;
69 +
70 + /**
71 + * 创建人ID
72 + */
73 + private BigDecimal createUserId;
74 +
75 + /**
76 + * 创建人名称
77 + */
78 + private String createUserName;
79 +
80 + /**
81 + * 修改时间
82 + */
83 + private Date modifyTime;
84 +
85 + /**
86 + * 修改人ID
87 + */
88 + private BigDecimal modifyUserId;
89 +
90 + /**
91 + * 修改人名称
92 + */
93 + private String modifyUserName;
94 +
95 + private static final long serialVersionUID = 1L;
96 +
97 + public BigDecimal getId() {
98 + return id;
99 + }
100 +
101 + public void setId(BigDecimal id) {
102 + this.id = id;
103 + }
104 +
105 + public String getCode() {
106 + return code;
107 + }
108 +
109 + public void setCode(String code) {
110 + this.code = code == null ? null : code.trim();
111 + }
112 +
113 + public String getName() {
114 + return name;
115 + }
116 +
117 + public void setName(String name) {
118 + this.name = name == null ? null : name.trim();
119 + }
120 +
121 + public BigDecimal getRank() {
122 + return rank;
123 + }
124 +
125 + public void setRank(BigDecimal rank) {
126 + this.rank = rank;
127 + }
128 +
129 + public Long getParentId() {
130 + return parentId;
131 + }
132 +
133 + public void setParentId(Long parentId) {
134 + this.parentId = parentId;
135 + }
136 +
137 + public Long getOrdinal() {
138 + return ordinal;
139 + }
140 +
141 + public void setOrdinal(Long ordinal) {
142 + this.ordinal = ordinal;
143 + }
144 +
145 + public String getPath() {
146 + return path;
147 + }
148 +
149 + public void setPath(String path) {
150 + this.path = path == null ? null : path.trim();
151 + }
152 +
153 + public String getMenuType() {
154 + return menuType;
155 + }
156 +
157 + public void setMenuType(String menuType) {
158 + this.menuType = menuType == null ? null : menuType.trim();
159 + }
160 +
161 + public Long getStatus() {
162 + return status;
163 + }
164 +
165 + public void setStatus(Long status) {
166 + this.status = status;
167 + }
168 +
169 + public String getIcon() {
170 + return icon;
171 + }
172 +
173 + public void setIcon(String icon) {
174 + this.icon = icon == null ? null : icon.trim();
175 + }
176 +
177 + public Date getCreateTime() {
178 + return createTime;
179 + }
180 +
181 + public void setCreateTime(Date createTime) {
182 + this.createTime = createTime;
183 + }
184 +
185 + public BigDecimal getCreateUserId() {
186 + return createUserId;
187 + }
188 +
189 + public void setCreateUserId(BigDecimal createUserId) {
190 + this.createUserId = createUserId;
191 + }
192 +
193 + public String getCreateUserName() {
194 + return createUserName;
195 + }
196 +
197 + public void setCreateUserName(String createUserName) {
198 + this.createUserName = createUserName == null ? null : createUserName.trim();
199 + }
200 +
201 + public Date getModifyTime() {
202 + return modifyTime;
203 + }
204 +
205 + public void setModifyTime(Date modifyTime) {
206 + this.modifyTime = modifyTime;
207 + }
208 +
209 + public BigDecimal getModifyUserId() {
210 + return modifyUserId;
211 + }
212 +
213 + public void setModifyUserId(BigDecimal modifyUserId) {
214 + this.modifyUserId = modifyUserId;
215 + }
216 +
217 + public String getModifyUserName() {
218 + return modifyUserName;
219 + }
220 +
221 + public void setModifyUserName(String modifyUserName) {
222 + this.modifyUserName = modifyUserName == null ? null : modifyUserName.trim();
223 + }
224 +
225 + @Override
226 + public String toString() {
227 + StringBuilder sb = new StringBuilder();
228 + sb.append(getClass().getSimpleName());
229 + sb.append(" [");
230 + sb.append("Hash = ").append(hashCode());
231 + sb.append(", id=").append(id);
232 + sb.append(", code=").append(code);
233 + sb.append(", name=").append(name);
234 + sb.append(", rank=").append(rank);
235 + sb.append(", parentId=").append(parentId);
236 + sb.append(", ordinal=").append(ordinal);
237 + sb.append(", path=").append(path);
238 + sb.append(", menuType=").append(menuType);
239 + sb.append(", status=").append(status);
240 + sb.append(", icon=").append(icon);
241 + sb.append(", createTime=").append(createTime);
242 + sb.append(", createUserId=").append(createUserId);
243 + sb.append(", createUserName=").append(createUserName);
244 + sb.append(", modifyTime=").append(modifyTime);
245 + sb.append(", modifyUserId=").append(modifyUserId);
246 + sb.append(", modifyUserName=").append(modifyUserName);
247 + sb.append(", serialVersionUID=").append(serialVersionUID);
248 + sb.append("]");
249 + return sb.toString();
250 + }
251 +}
...\ No newline at end of file ...\ No newline at end of file
1 +package com.fedex.connect.common.model.sys;
2 +
3 +import java.io.Serializable;
4 +import java.math.BigDecimal;
5 +import java.util.Date;
6 +
7 +/**
8 + * DESC: 角色表
9 + * TABLE: T_SYS_ROLE
10 + */
11 +public class Role implements Serializable {
12 + /**
13 + * ID,主键自增
14 + */
15 + private BigDecimal id;
16 +
17 + /**
18 + * 角色编号
19 + */
20 + private String code;
21 +
22 + /**
23 + * 角色名称
24 + */
25 + private String name;
26 +
27 + /**
28 + * 角色描述
29 + */
30 + private String roleDesc;
31 +
32 + /**
33 + * 类型ID。
34 +关联数据字典表。指定KEY为:role_type
35 + */
36 + private BigDecimal typeId;
37 +
38 + /**
39 + * 用户类型名称
40 + */
41 + private String typeName;
42 +
43 + /**
44 + * 是否有效(1:有效[true]。0:无效[false]。)
45 + */
46 + private BigDecimal status;
47 +
48 + /**
49 + * 创建时间
50 + */
51 + private Date createTime;
52 +
53 + /**
54 + * 创建人ID
55 + */
56 + private BigDecimal createUserId;
57 +
58 + /**
59 + * 创建人名称
60 + */
61 + private String createUserName;
62 +
63 + /**
64 + * 修改时间
65 + */
66 + private Date modifyTime;
67 +
68 + /**
69 + * 修改人ID
70 + */
71 + private BigDecimal modifyUserId;
72 +
73 + /**
74 + * 修改人名称
75 + */
76 + private String modifyUserName;
77 +
78 + private static final long serialVersionUID = 1L;
79 +
80 + public BigDecimal getId() {
81 + return id;
82 + }
83 +
84 + public void setId(BigDecimal id) {
85 + this.id = id;
86 + }
87 +
88 + public String getCode() {
89 + return code;
90 + }
91 +
92 + public void setCode(String code) {
93 + this.code = code == null ? null : code.trim();
94 + }
95 +
96 + public String getName() {
97 + return name;
98 + }
99 +
100 + public void setName(String name) {
101 + this.name = name == null ? null : name.trim();
102 + }
103 +
104 + public String getRoleDesc() {
105 + return roleDesc;
106 + }
107 +
108 + public void setRoleDesc(String roleDesc) {
109 + this.roleDesc = roleDesc == null ? null : roleDesc.trim();
110 + }
111 +
112 + public BigDecimal getTypeId() {
113 + return typeId;
114 + }
115 +
116 + public void setTypeId(BigDecimal typeId) {
117 + this.typeId = typeId;
118 + }
119 +
120 + public String getTypeName() {
121 + return typeName;
122 + }
123 +
124 + public void setTypeName(String typeName) {
125 + this.typeName = typeName == null ? null : typeName.trim();
126 + }
127 +
128 + public BigDecimal getStatus() {
129 + return status;
130 + }
131 +
132 + public void setStatus(BigDecimal status) {
133 + this.status = status;
134 + }
135 +
136 + public Date getCreateTime() {
137 + return createTime;
138 + }
139 +
140 + public void setCreateTime(Date createTime) {
141 + this.createTime = createTime;
142 + }
143 +
144 + public BigDecimal getCreateUserId() {
145 + return createUserId;
146 + }
147 +
148 + public void setCreateUserId(BigDecimal createUserId) {
149 + this.createUserId = createUserId;
150 + }
151 +
152 + public String getCreateUserName() {
153 + return createUserName;
154 + }
155 +
156 + public void setCreateUserName(String createUserName) {
157 + this.createUserName = createUserName == null ? null : createUserName.trim();
158 + }
159 +
160 + public Date getModifyTime() {
161 + return modifyTime;
162 + }
163 +
164 + public void setModifyTime(Date modifyTime) {
165 + this.modifyTime = modifyTime;
166 + }
167 +
168 + public BigDecimal getModifyUserId() {
169 + return modifyUserId;
170 + }
171 +
172 + public void setModifyUserId(BigDecimal modifyUserId) {
173 + this.modifyUserId = modifyUserId;
174 + }
175 +
176 + public String getModifyUserName() {
177 + return modifyUserName;
178 + }
179 +
180 + public void setModifyUserName(String modifyUserName) {
181 + this.modifyUserName = modifyUserName == null ? null : modifyUserName.trim();
182 + }
183 +
184 + @Override
185 + public String toString() {
186 + StringBuilder sb = new StringBuilder();
187 + sb.append(getClass().getSimpleName());
188 + sb.append(" [");
189 + sb.append("Hash = ").append(hashCode());
190 + sb.append(", id=").append(id);
191 + sb.append(", code=").append(code);
192 + sb.append(", name=").append(name);
193 + sb.append(", roleDesc=").append(roleDesc);
194 + sb.append(", typeId=").append(typeId);
195 + sb.append(", typeName=").append(typeName);
196 + sb.append(", status=").append(status);
197 + sb.append(", createTime=").append(createTime);
198 + sb.append(", createUserId=").append(createUserId);
199 + sb.append(", createUserName=").append(createUserName);
200 + sb.append(", modifyTime=").append(modifyTime);
201 + sb.append(", modifyUserId=").append(modifyUserId);
202 + sb.append(", modifyUserName=").append(modifyUserName);
203 + sb.append(", serialVersionUID=").append(serialVersionUID);
204 + sb.append("]");
205 + return sb.toString();
206 + }
207 +}
...\ No newline at end of file ...\ No newline at end of file
1 +package com.fedex.connect.common.model.sys;
2 +
3 +import java.io.Serializable;
4 +import java.math.BigDecimal;
5 +import java.util.Date;
6 +
7 +/**
8 + * DESC: null
9 + * TABLE: T_SYS_ROLE_PRIVILEGE
10 + */
11 +public class RolePrivilege implements Serializable {
12 + /**
13 + * ID
14 + */
15 + private BigDecimal id;
16 +
17 + /**
18 + * 角色ID
19 + */
20 + private BigDecimal roleId;
21 +
22 + /**
23 + * 权限ID
24 + */
25 + private BigDecimal privId;
26 +
27 + /**
28 + * 是否有效(1:有效[true]。0:无效[false]。)
29 + */
30 + private BigDecimal status;
31 +
32 + /**
33 + * 创建时间
34 + */
35 + private Date createTime;
36 +
37 + /**
38 + * 创建人ID
39 + */
40 + private BigDecimal createUserId;
41 +
42 + /**
43 + * 创建人名称
44 + */
45 + private String createUserName;
46 +
47 + /**
48 + * 修改时间
49 + */
50 + private Date modifyTime;
51 +
52 + /**
53 + * 修改人ID
54 + */
55 + private BigDecimal modifyUserId;
56 +
57 + /**
58 + * 修改人名称
59 + */
60 + private String modifyUserName;
61 +
62 + private static final long serialVersionUID = 1L;
63 +
64 + public BigDecimal getId() {
65 + return id;
66 + }
67 +
68 + public void setId(BigDecimal id) {
69 + this.id = id;
70 + }
71 +
72 + public BigDecimal getRoleId() {
73 + return roleId;
74 + }
75 +
76 + public void setRoleId(BigDecimal roleId) {
77 + this.roleId = roleId;
78 + }
79 +
80 + public BigDecimal getPrivId() {
81 + return privId;
82 + }
83 +
84 + public void setPrivId(BigDecimal privId) {
85 + this.privId = privId;
86 + }
87 +
88 + public BigDecimal getStatus() {
89 + return status;
90 + }
91 +
92 + public void setStatus(BigDecimal status) {
93 + this.status = status;
94 + }
95 +
96 + public Date getCreateTime() {
97 + return createTime;
98 + }
99 +
100 + public void setCreateTime(Date createTime) {
101 + this.createTime = createTime;
102 + }
103 +
104 + public BigDecimal getCreateUserId() {
105 + return createUserId;
106 + }
107 +
108 + public void setCreateUserId(BigDecimal createUserId) {
109 + this.createUserId = createUserId;
110 + }
111 +
112 + public String getCreateUserName() {
113 + return createUserName;
114 + }
115 +
116 + public void setCreateUserName(String createUserName) {
117 + this.createUserName = createUserName == null ? null : createUserName.trim();
118 + }
119 +
120 + public Date getModifyTime() {
121 + return modifyTime;
122 + }
123 +
124 + public void setModifyTime(Date modifyTime) {
125 + this.modifyTime = modifyTime;
126 + }
127 +
128 + public BigDecimal getModifyUserId() {
129 + return modifyUserId;
130 + }
131 +
132 + public void setModifyUserId(BigDecimal modifyUserId) {
133 + this.modifyUserId = modifyUserId;
134 + }
135 +
136 + public String getModifyUserName() {
137 + return modifyUserName;
138 + }
139 +
140 + public void setModifyUserName(String modifyUserName) {
141 + this.modifyUserName = modifyUserName == null ? null : modifyUserName.trim();
142 + }
143 +
144 + @Override
145 + public String toString() {
146 + StringBuilder sb = new StringBuilder();
147 + sb.append(getClass().getSimpleName());
148 + sb.append(" [");
149 + sb.append("Hash = ").append(hashCode());
150 + sb.append(", id=").append(id);
151 + sb.append(", roleId=").append(roleId);
152 + sb.append(", privId=").append(privId);
153 + sb.append(", status=").append(status);
154 + sb.append(", createTime=").append(createTime);
155 + sb.append(", createUserId=").append(createUserId);
156 + sb.append(", createUserName=").append(createUserName);
157 + sb.append(", modifyTime=").append(modifyTime);
158 + sb.append(", modifyUserId=").append(modifyUserId);
159 + sb.append(", modifyUserName=").append(modifyUserName);
160 + sb.append(", serialVersionUID=").append(serialVersionUID);
161 + sb.append("]");
162 + return sb.toString();
163 + }
164 +}
...\ No newline at end of file ...\ No newline at end of file
1 +package com.fedex.connect.common.model.sys;
2 +
3 +import java.io.Serializable;
4 +import java.util.Date;
5 +
6 +/**
7 + * DESC: 用户表
8 + * TABLE: T_SYS_USER
9 + */
10 +public class User implements Serializable {
11 + /**
12 + * ID
13 + */
14 + private Long id;
15 +
16 + /**
17 + * 用户账号
18 + */
19 + private String accNo;
20 +
21 + /**
22 + * 姓名
23 + */
24 + private String userName;
25 +
26 + /**
27 + * 密码
28 + */
29 + private String password;
30 +
31 + /**
32 + * FedEx账户
33 + */
34 + private String fedexAccNo;
35 +
36 + /**
37 + * 邮箱
38 + */
39 + private String email;
40 +
41 + /**
42 + * 联系电话
43 + */
44 + private String phone;
45 +
46 + /**
47 + * 公司名称
48 + */
49 + private String companyName;
50 +
51 + /**
52 + * 营利事业统一编号
53 + */
54 + private String unifiedBusinessNum;
55 +
56 + /**
57 + * 海关编号
58 + */
59 + private String customsSerialNum;
60 +
61 + /**
62 + * 创建时间
63 + */
64 + private Date createTime;
65 +
66 + /**
67 + * 修改时间
68 + */
69 + private Date updateTime;
70 +
71 + /**
72 + * 密码上次修改时间
73 + */
74 + private Date pwdLastUpdTime;
75 +
76 + /**
77 + * 用户类型ID。
78 +关联数据字典表。指定KEY为:user_type
79 + */
80 + private Long typeId;
81 +
82 + /**
83 + * 是否有效(1:有效[true]。0:无效[false]。)
84 + */
85 + private Long status;
86 +
87 + /**
88 + * 备注
89 + */
90 + private String remark;
91 +
92 + /**
93 + * 用户信息来源。1:台湾项目注册。2:FCL
94 + */
95 + private Long userSource;
96 +
97 + private static final long serialVersionUID = 1L;
98 +
99 + public Long getId() {
100 + return id;
101 + }
102 +
103 + public void setId(Long id) {
104 + this.id = id;
105 + }
106 +
107 + public String getAccNo() {
108 + return accNo;
109 + }
110 +
111 + public void setAccNo(String accNo) {
112 + this.accNo = accNo == null ? null : accNo.trim();
113 + }
114 +
115 + public String getUserName() {
116 + return userName;
117 + }
118 +
119 + public void setUserName(String userName) {
120 + this.userName = userName == null ? null : userName.trim();
121 + }
122 +
123 + public String getPassword() {
124 + return password;
125 + }
126 +
127 + public void setPassword(String password) {
128 + this.password = password == null ? null : password.trim();
129 + }
130 +
131 + public String getFedexAccNo() {
132 + return fedexAccNo;
133 + }
134 +
135 + public void setFedexAccNo(String fedexAccNo) {
136 + this.fedexAccNo = fedexAccNo == null ? null : fedexAccNo.trim();
137 + }
138 +
139 + public String getEmail() {
140 + return email;
141 + }
142 +
143 + public void setEmail(String email) {
144 + this.email = email == null ? null : email.trim();
145 + }
146 +
147 + public String getPhone() {
148 + return phone;
149 + }
150 +
151 + public void setPhone(String phone) {
152 + this.phone = phone == null ? null : phone.trim();
153 + }
154 +
155 + public String getCompanyName() {
156 + return companyName;
157 + }
158 +
159 + public void setCompanyName(String companyName) {
160 + this.companyName = companyName == null ? null : companyName.trim();
161 + }
162 +
163 + public String getUnifiedBusinessNum() {
164 + return unifiedBusinessNum;
165 + }
166 +
167 + public void setUnifiedBusinessNum(String unifiedBusinessNum) {
168 + this.unifiedBusinessNum = unifiedBusinessNum == null ? null : unifiedBusinessNum.trim();
169 + }
170 +
171 + public String getCustomsSerialNum() {
172 + return customsSerialNum;
173 + }
174 +
175 + public void setCustomsSerialNum(String customsSerialNum) {
176 + this.customsSerialNum = customsSerialNum == null ? null : customsSerialNum.trim();
177 + }
178 +
179 + public Date getCreateTime() {
180 + return createTime;
181 + }
182 +
183 + public void setCreateTime(Date createTime) {
184 + this.createTime = createTime;
185 + }
186 +
187 + public Date getUpdateTime() {
188 + return updateTime;
189 + }
190 +
191 + public void setUpdateTime(Date updateTime) {
192 + this.updateTime = updateTime;
193 + }
194 +
195 + public Date getPwdLastUpdTime() {
196 + return pwdLastUpdTime;
197 + }
198 +
199 + public void setPwdLastUpdTime(Date pwdLastUpdTime) {
200 + this.pwdLastUpdTime = pwdLastUpdTime;
201 + }
202 +
203 + public Long getTypeId() {
204 + return typeId;
205 + }
206 +
207 + public void setTypeId(Long typeId) {
208 + this.typeId = typeId;
209 + }
210 +
211 + public Long getStatus() {
212 + return status;
213 + }
214 +
215 + public void setStatus(Long status) {
216 + this.status = status;
217 + }
218 +
219 + public String getRemark() {
220 + return remark;
221 + }
222 +
223 + public void setRemark(String remark) {
224 + this.remark = remark == null ? null : remark.trim();
225 + }
226 +
227 + public Long getUserSource() {
228 + return userSource;
229 + }
230 +
231 + public void setUserSource(Long userSource) {
232 + this.userSource = userSource;
233 + }
234 +
235 + @Override
236 + public String toString() {
237 + StringBuilder sb = new StringBuilder();
238 + sb.append(getClass().getSimpleName());
239 + sb.append(" [");
240 + sb.append("Hash = ").append(hashCode());
241 + sb.append(", id=").append(id);
242 + sb.append(", accNo=").append(accNo);
243 + sb.append(", userName=").append(userName);
244 + sb.append(", password=").append(password);
245 + sb.append(", fedexAccNo=").append(fedexAccNo);
246 + sb.append(", email=").append(email);
247 + sb.append(", phone=").append(phone);
248 + sb.append(", companyName=").append(companyName);
249 + sb.append(", unifiedBusinessNum=").append(unifiedBusinessNum);
250 + sb.append(", customsSerialNum=").append(customsSerialNum);
251 + sb.append(", createTime=").append(createTime);
252 + sb.append(", updateTime=").append(updateTime);
253 + sb.append(", pwdLastUpdTime=").append(pwdLastUpdTime);
254 + sb.append(", typeId=").append(typeId);
255 + sb.append(", status=").append(status);
256 + sb.append(", remark=").append(remark);
257 + sb.append(", userSource=").append(userSource);
258 + sb.append(", serialVersionUID=").append(serialVersionUID);
259 + sb.append("]");
260 + return sb.toString();
261 + }
262 +}
...\ No newline at end of file ...\ No newline at end of file
1 +package com.fedex.connect.common.model.sys;
2 +
3 +import java.io.Serializable;
4 +import java.util.Date;
5 +
6 +/**
7 + * DESC: 用户角色表
8 + * TABLE: T_SYS_USER_ROLE
9 + */
10 +public class UserRole implements Serializable {
11 + /**
12 + * ID
13 + */
14 + private Long id;
15 +
16 + /**
17 + * 用户id
18 + */
19 + private Long userId;
20 +
21 + /**
22 + * 角色id
23 + */
24 + private Long roleId;
25 +
26 + /**
27 + * 是否有效(1:有效[true]。0:无效[false]。)
28 + */
29 + private Long status;
30 +
31 + /**
32 + * 创建时间
33 + */
34 + private Date createTime;
35 +
36 + /**
37 + * 创建人,对应用户表id
38 + */
39 + private Long createName;
40 +
41 + /**
42 + * 修改时间
43 + */
44 + private Date updateTime;
45 +
46 + /**
47 + * 修改人,对应用户表id
48 + */
49 + private Long updateName;
50 +
51 + private static final long serialVersionUID = 1L;
52 +
53 + public Long getId() {
54 + return id;
55 + }
56 +
57 + public void setId(Long id) {
58 + this.id = id;
59 + }
60 +
61 + public Long getUserId() {
62 + return userId;
63 + }
64 +
65 + public void setUserId(Long userId) {
66 + this.userId = userId;
67 + }
68 +
69 + public Long getRoleId() {
70 + return roleId;
71 + }
72 +
73 + public void setRoleId(Long roleId) {
74 + this.roleId = roleId;
75 + }
76 +
77 + public Long getStatus() {
78 + return status;
79 + }
80 +
81 + public void setStatus(Long status) {
82 + this.status = status;
83 + }
84 +
85 + public Date getCreateTime() {
86 + return createTime;
87 + }
88 +
89 + public void setCreateTime(Date createTime) {
90 + this.createTime = createTime;
91 + }
92 +
93 + public Long getCreateName() {
94 + return createName;
95 + }
96 +
97 + public void setCreateName(Long createName) {
98 + this.createName = createName;
99 + }
100 +
101 + public Date getUpdateTime() {
102 + return updateTime;
103 + }
104 +
105 + public void setUpdateTime(Date updateTime) {
106 + this.updateTime = updateTime;
107 + }
108 +
109 + public Long getUpdateName() {
110 + return updateName;
111 + }
112 +
113 + public void setUpdateName(Long updateName) {
114 + this.updateName = updateName;
115 + }
116 +
117 + @Override
118 + public String toString() {
119 + StringBuilder sb = new StringBuilder();
120 + sb.append(getClass().getSimpleName());
121 + sb.append(" [");
122 + sb.append("Hash = ").append(hashCode());
123 + sb.append(", id=").append(id);
124 + sb.append(", userId=").append(userId);
125 + sb.append(", roleId=").append(roleId);
126 + sb.append(", status=").append(status);
127 + sb.append(", createTime=").append(createTime);
128 + sb.append(", createName=").append(createName);
129 + sb.append(", updateTime=").append(updateTime);
130 + sb.append(", updateName=").append(updateName);
131 + sb.append(", serialVersionUID=").append(serialVersionUID);
132 + sb.append("]");
133 + return sb.toString();
134 + }
135 +}
...\ No newline at end of file ...\ No newline at end of file
1 -package com.fedex.connect.common.model.sys;
...\ No newline at end of file ...\ No newline at end of file