DictionaryData.java 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124
  1. package com.hssx.cloudmodel.entity;
  2. import com.baomidou.mybatisplus.annotation.TableName;
  3. import com.baomidou.mybatisplus.annotation.IdType;
  4. import com.baomidou.mybatisplus.extension.activerecord.Model;
  5. import com.baomidou.mybatisplus.annotation.TableId;
  6. import com.baomidou.mybatisplus.annotation.TableField;
  7. import java.io.Serializable;
  8. /**
  9. * <p>
  10. *
  11. * </p>
  12. *
  13. * @author 吴涛涛
  14. * @since 2019-07-25
  15. */
  16. @TableName("tb_dictionary_data")
  17. public class DictionaryData extends Model<DictionaryData> {
  18. private static final long serialVersionUID=1L;
  19. /**
  20. * 字典主键
  21. */
  22. @TableId(value = "id", type = IdType.AUTO)
  23. private Integer id;
  24. /**
  25. * 字典编码
  26. */
  27. @TableField("dict_code")
  28. private String dictCode;
  29. /**
  30. * 字典名称
  31. */
  32. @TableField("data_name")
  33. private String dataName;
  34. /**
  35. * 字典值
  36. */
  37. @TableField("dict_value")
  38. private Integer dictValue;
  39. /**
  40. * 字典排序
  41. */
  42. @TableField("dict_order")
  43. private Integer dictOrder;
  44. /**
  45. * 是否禁用 0-否 1-是
  46. */
  47. @TableField("disabled")
  48. private Integer disabled;
  49. public Integer getId() {
  50. return id;
  51. }
  52. public void setId(Integer id) {
  53. this.id = id;
  54. }
  55. public String getDictCode() {
  56. return dictCode;
  57. }
  58. public void setDictCode(String dictCode) {
  59. this.dictCode = dictCode;
  60. }
  61. public String getDataName() {
  62. return dataName;
  63. }
  64. public void setDataName(String dataName) {
  65. this.dataName = dataName;
  66. }
  67. public Integer getDictValue() {
  68. return dictValue;
  69. }
  70. public void setDictValue(Integer dictValue) {
  71. this.dictValue = dictValue;
  72. }
  73. public Integer getDictOrder() {
  74. return dictOrder;
  75. }
  76. public void setDictOrder(Integer dictOrder) {
  77. this.dictOrder = dictOrder;
  78. }
  79. public Integer getDisabled() {
  80. return disabled;
  81. }
  82. public void setDisabled(Integer disabled) {
  83. this.disabled = disabled;
  84. }
  85. @Override
  86. protected Serializable pkVal() {
  87. return this.id;
  88. }
  89. @Override
  90. public String toString() {
  91. return "DictionaryData{" +
  92. "id=" + id +
  93. ", dictCode=" + dictCode +
  94. ", dataName=" + dataName +
  95. ", dictValue=" + dictValue +
  96. ", dictOrder=" + dictOrder +
  97. ", disabled=" + disabled +
  98. "}";
  99. }
  100. }