DictionaryData.java 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189
  1. package com.dk.mdm.model.pojo.mst;
  2. import cn.afterturn.easypoi.excel.annotation.Excel;
  3. import com.baomidou.mybatisplus.annotation.*;
  4. import java.io.Serializable;
  5. import com.dk.common.infrastructure.annotaiton.ExportTitle;
  6. import com.dk.common.infrastructure.handler.*;
  7. import com.dk.common.model.pojo.PageInfo;
  8. import com.fasterxml.jackson.annotation.JsonFormat;
  9. import lombok.Data;
  10. import lombok.AllArgsConstructor;
  11. import lombok.NoArgsConstructor;
  12. import lombok.EqualsAndHashCode;
  13. import lombok.experimental.Accessors;
  14. import io.swagger.annotations.ApiModel;
  15. import io.swagger.annotations.ApiModelProperty;
  16. import com.alibaba.fastjson.JSONObject;
  17. import java.util.List;
  18. import java.time.LocalDateTime;
  19. /**
  20. * 数据字典
  21. */
  22. @Data
  23. @AllArgsConstructor
  24. @NoArgsConstructor
  25. @EqualsAndHashCode(callSuper = true)
  26. @Accessors(chain = true)
  27. @ExportTitle("数据字典")
  28. @TableName(value = "t_mst_dictionary_data", autoResultMap = true,schema = "dkic_b")
  29. @ApiModel(value="实体类:数据字典", description="表名:t_mst_dictionary_data")
  30. public class DictionaryData extends PageInfo<DictionaryData> implements Serializable {
  31. /*
  32. * 数据库字段
  33. */
  34. /**
  35. * 数据ID
  36. */
  37. @ApiModelProperty(value = "数据ID")
  38. @TableField(typeHandler = UuidTypeHandler.class)
  39. private String dataId;
  40. /**
  41. * 字典项目
  42. */
  43. @Excel(name = "字典项目")
  44. @ApiModelProperty(value = "字典项目")
  45. private String dictCode;
  46. /**
  47. * 字典数据
  48. */
  49. @Excel(name = "字典数据")
  50. @ApiModelProperty(value = "字典数据")
  51. private String dataValue;
  52. /**
  53. * 显示顺序 (【1 ~ 46655】)
  54. */
  55. @Excel(name = "显示顺序 (【1 ~ 46655】)")
  56. @ApiModelProperty(value = "显示顺序 (【1 ~ 46655】)")
  57. private Integer displayNo;
  58. /**
  59. * 备注
  60. */
  61. @Excel(name = "备注")
  62. @ApiModelProperty(value = "备注")
  63. private String remarks;
  64. /**
  65. * 有效标识 (1:正常 0:停用)
  66. */
  67. @Excel(name = "有效标识 (1:正常 0:停用)")
  68. @ApiModelProperty(value = "有效标识 (1:正常 0:停用)")
  69. private Boolean flgValid;
  70. /**
  71. * 企业ID
  72. */
  73. @Excel(name = "企业ID")
  74. @ApiModelProperty(value = "企业ID")
  75. private Integer cpId;
  76. /**
  77. * 创建时间 (触发器自动处理)
  78. */
  79. @Excel(name = "创建时间 (触发器自动处理)", format = "yyyy-MM-dd HH:mm:ss", width = 20)
  80. @ApiModelProperty(value = "创建时间 (触发器自动处理)")
  81. @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
  82. @TableField(typeHandler = TimestampTypeHandler.class)
  83. private LocalDateTime opCreateTime;
  84. /**
  85. * 创建用户 (触发器自动处理)
  86. */
  87. @Excel(name = "创建用户 (触发器自动处理)")
  88. @ApiModelProperty(value = "创建用户 (触发器自动处理)")
  89. @TableField(typeHandler = UuidTypeHandler.class)
  90. private String opCreateUserId;
  91. /**
  92. * 修改时间 (触发器自动处理)
  93. */
  94. @Excel(name = "修改时间 (触发器自动处理)", format = "yyyy-MM-dd HH:mm:ss", width = 20)
  95. @ApiModelProperty(value = "修改时间 (触发器自动处理)")
  96. @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
  97. @TableField(typeHandler = TimestampTypeHandler.class)
  98. private LocalDateTime opUpdateTime;
  99. /**
  100. * 修改用户 (触发器自动处理)
  101. */
  102. @Excel(name = "修改用户 (触发器自动处理)")
  103. @ApiModelProperty(value = "修改用户 (触发器自动处理)")
  104. @TableField(typeHandler = UuidTypeHandler.class)
  105. private String opUpdateUserId;
  106. /**
  107. * 数据操作应用 (触发器自动处理)
  108. */
  109. @Excel(name = "数据操作应用 (触发器自动处理)")
  110. @ApiModelProperty(value = "数据操作应用 (触发器自动处理)")
  111. private String opAppCode;
  112. /**
  113. * 数据时间戳 (触发器自动处理)
  114. */
  115. @Excel(name = "数据时间戳 (触发器自动处理)")
  116. @ApiModelProperty(value = "数据时间戳 (触发器自动处理)")
  117. @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
  118. @TableField(typeHandler = TimestampTypeHandler.class)
  119. private LocalDateTime opTimestamp;
  120. /**
  121. * 数据操作数据库用户 (触发器自动处理)
  122. */
  123. @Excel(name = "数据操作数据库用户 (触发器自动处理)")
  124. @ApiModelProperty(value = "数据操作数据库用户 (触发器自动处理)")
  125. private String opDbUser;
  126. /**
  127. * 系统代码 (页面不显示)
  128. */
  129. @Excel(name = "系统代码 (页面不显示)")
  130. @ApiModelProperty(value = "系统代码 (页面不显示)")
  131. private String sysCode;
  132. @ApiModelProperty(value = "")
  133. private String dataCode;
  134. @ApiModelProperty(value = "")
  135. private Boolean flgDefault;
  136. /*
  137. * 相关属性
  138. * @TableField(exist = false)
  139. */
  140. /*
  141. * 关联属性 + 查询条件
  142. * @TableField(exist = false)
  143. */
  144. private static final long serialVersionUID = 1L;
  145. }