SystemDictDTO.java 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. package com.sw.bird.domain.dto;
  2. import com.baomidou.mybatisplus.annotation.IdType;
  3. import com.baomidou.mybatisplus.annotation.TableId;
  4. import com.baomidou.mybatisplus.annotation.TableName;
  5. import io.swagger.annotations.ApiModelProperty;
  6. /**
  7. * @author machao
  8. * @version 1.0
  9. * @description: 字典实体类
  10. * @date 2021/5/17 13:47
  11. */
  12. @TableName("system_dict")
  13. public class SystemDictDTO {
  14. @TableId(type = IdType.AUTO)
  15. private Integer id;
  16. @ApiModelProperty("字段名称")
  17. private String typeName;
  18. @ApiModelProperty("字典类型(1:系统字典;2:驱鸟相关字典)")
  19. private Integer type;
  20. @ApiModelProperty("字典名称")
  21. private String dictName;
  22. @ApiModelProperty("字典key值")
  23. private String textName;
  24. @ApiModelProperty("字典value值")
  25. private Integer textValue;
  26. public Integer getId() {
  27. return id;
  28. }
  29. public void setId(Integer id) {
  30. this.id = id;
  31. }
  32. public String getTypeName() {
  33. return typeName;
  34. }
  35. public void setTypeName(String typeName) {
  36. this.typeName = typeName;
  37. }
  38. public Integer getType() {
  39. return type;
  40. }
  41. public void setType(Integer type) {
  42. this.type = type;
  43. }
  44. public String getDictName() {
  45. return dictName;
  46. }
  47. public void setDictName(String dictName) {
  48. this.dictName = dictName;
  49. }
  50. public String getTextName() {
  51. return textName;
  52. }
  53. public void setTextName(String textName) {
  54. this.textName = textName;
  55. }
  56. public Integer getTextValue() {
  57. return textValue;
  58. }
  59. public void setTextValue(Integer textValue) {
  60. this.textValue = textValue;
  61. }
  62. }