Feedback.java 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138
  1. package com.fdkankan.manage.entity;
  2. import com.alibaba.fastjson.JSONArray;
  3. import com.baomidou.mybatisplus.annotation.IdType;
  4. import com.baomidou.mybatisplus.annotation.TableField;
  5. import com.baomidou.mybatisplus.annotation.TableId;
  6. import com.baomidou.mybatisplus.annotation.TableLogic;
  7. import com.baomidou.mybatisplus.annotation.TableName;
  8. import java.io.Serializable;
  9. import java.math.BigDecimal;
  10. import java.util.Date;
  11. import com.fdkankan.manage.common.typehandle.JsonArrayTypeHandler;
  12. import lombok.Getter;
  13. import lombok.Setter;
  14. /**
  15. * <p>
  16. *
  17. * </p>
  18. *
  19. * @author
  20. * @since 2024-01-24
  21. */
  22. @Getter
  23. @Setter
  24. @TableName(value = "t_feedback",autoResultMap = true)
  25. public class Feedback implements Serializable {
  26. private static final long serialVersionUID = 1L;
  27. @TableId(value = "id", type = IdType.AUTO)
  28. private Integer id;
  29. /**
  30. * 问题描述
  31. */
  32. @TableField("problem_desc")
  33. private String problemDesc;
  34. @TableField(typeHandler= JsonArrayTypeHandler.class)
  35. private JSONArray problemDescImgs;
  36. /**
  37. * 硬件产品id
  38. */
  39. @TableField("hardware_option_id")
  40. private Integer hardwareOptionId;
  41. /**
  42. * 软件产品id
  43. */
  44. @TableField("software_option_id")
  45. private Integer softwareOptionId;
  46. /**
  47. * 所在行业id
  48. */
  49. @TableField("industry_option_id")
  50. private Integer industryOptionId;
  51. /**
  52. * 解决方案
  53. */
  54. @TableField("solution")
  55. private String solution;
  56. @TableField(typeHandler= JsonArrayTypeHandler.class)
  57. private JSONArray solutionImgs;
  58. /**
  59. * 姓名
  60. */
  61. @TableField("nick_name")
  62. private String nickName;
  63. /**
  64. * 联系方式
  65. */
  66. @TableField("phone")
  67. private String phone;
  68. /**
  69. * 地址
  70. */
  71. @TableField("address")
  72. private String address;
  73. /**
  74. * 评分
  75. */
  76. @TableField("score")
  77. private BigDecimal score;
  78. /**
  79. * 评分理由
  80. */
  81. @TableField("score_reason")
  82. private String scoreReason;
  83. /**
  84. * 处理状态 0未处理,1已处理
  85. */
  86. @TableField("status")
  87. private Integer status;
  88. /**
  89. * 处理结果
  90. */
  91. @TableField("result")
  92. private String result;
  93. @TableField("rec_status")
  94. @TableLogic(value = "A",delval = "I")
  95. private String recStatus;
  96. @TableField("create_time")
  97. private Date createTime;
  98. @TableField("update_time")
  99. private Date updateTime;
  100. /**
  101. * 硬件产品id
  102. */
  103. @TableField(exist = false)
  104. private Object hardwareOption;
  105. /**
  106. * 软件产品id
  107. */
  108. @TableField(exist = false)
  109. private Object softwareOption;
  110. /**
  111. * 所在行业id
  112. */
  113. @TableField(exist = false)
  114. private Object industryOption;
  115. }