fe8551461695a587a028d10f555612279421101a.svn-base 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. package org.jeecg.modules.system.entity;
  2. import java.io.Serializable;
  3. import java.math.BigDecimal;
  4. import java.util.Date;
  5. import com.baomidou.mybatisplus.annotation.IdType;
  6. import com.baomidou.mybatisplus.annotation.TableId;
  7. import com.fasterxml.jackson.annotation.JsonFormat;
  8. import lombok.Data;
  9. import lombok.EqualsAndHashCode;
  10. import lombok.experimental.Accessors;
  11. import org.jeecg.common.aspect.annotation.Dict;
  12. import org.jeecgframework.poi.excel.annotation.Excel;
  13. import org.springframework.format.annotation.DateTimeFormat;
  14. /**
  15. * <p>
  16. *
  17. * </p>
  18. *
  19. * @Author zhangweijian
  20. * @since 2018-12-28
  21. */
  22. @Data
  23. @EqualsAndHashCode(callSuper = false)
  24. @Accessors(chain = true)
  25. public class SysDictItem implements Serializable {
  26. private static final long serialVersionUID = 1L;
  27. /**
  28. * id
  29. */
  30. @TableId(type = IdType.ASSIGN_ID)
  31. private String id;
  32. /**
  33. * 字典id
  34. */
  35. private String dictId;
  36. /**
  37. * 字典项文本
  38. */
  39. @Excel(name = "字典项文本", width = 20)
  40. private String itemText;
  41. /**
  42. * 字典项值
  43. */
  44. @Excel(name = "字典项值", width = 30)
  45. private String itemValue;
  46. /**
  47. * 描述
  48. */
  49. @Excel(name = "描述", width = 40)
  50. private String description;
  51. /**
  52. * 排序
  53. */
  54. @Excel(name = "排序", width = 15,type=4)
  55. private Integer sortOrder;
  56. /**
  57. * 状态(1启用 0不启用)
  58. */
  59. @Dict(dicCode = "dict_item_status")
  60. private Integer status;
  61. private String createBy;
  62. @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
  63. @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
  64. private Date createTime;
  65. private String updateBy;
  66. @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
  67. @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
  68. private Date updateTime;
  69. }