MCPcopy Create free account
hub / github.com/LisenCoding/cangku / DictionaryEntity

Class DictionaryEntity

boot/src/main/java/com/entity/DictionaryEntity.java:27–239  ·  view source on GitHub ↗

字典 @author @email

Source from the content-addressed store, hash-verified

25 * @email
26 */
27@TableName("dictionary")
28public class DictionaryEntity<T> implements Serializable {
29 private static final long serialVersionUID = 1L;
30
31
32 public DictionaryEntity() {
33
34 }
35
36 public DictionaryEntity(T t) {
37 try {
38 BeanUtils.copyProperties(this, t);
39 } catch (IllegalAccessException | InvocationTargetException e) {
40 // TODO Auto-generated catch block
41 e.printStackTrace();
42 }
43 }
44
45
46 /**
47 * 主键
48 */
49 @TableId(type = IdType.AUTO)
50 @ColumnInfo(comment="主键",type="bigint(20)")
51 @TableField(value = "id")
52
53 private Long id;
54
55
56 /**
57 * 字段
58 */
59 @ColumnInfo(comment="字段",type="varchar(200)")
60 @TableField(value = "dic_code")
61
62 private String dicCode;
63
64
65 /**
66 * 字段名
67 */
68 @ColumnInfo(comment="字段名",type="varchar(200)")
69 @TableField(value = "dic_name")
70
71 private String dicName;
72
73
74 /**
75 * 编码
76 */
77 @ColumnInfo(comment="编码",type="int(11)")
78 @TableField(value = "code_index")
79
80 private Integer codeIndex;
81
82
83 /**
84 * 编码名字

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected