Appeal.java 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118
  1. package com.yihu.wlyy.entity.feedback;
  2. import com.yihu.wlyy.entity.IdEntity;
  3. import javax.persistence.Entity;
  4. import javax.persistence.Table;
  5. /**
  6. * Created by Reece on 2017/5/6.
  7. */
  8. @Entity
  9. @Table(name = "wlyy_appeal")
  10. public class Appeal extends IdEntity {
  11. // '账号申诉编码'
  12. private String code;
  13. // 申诉人编码
  14. private String creater;
  15. // '问题描述'
  16. private String description;
  17. // 申诉类别:1、手机号变更、2、重置密码、3、其他
  18. private int type;
  19. // 图片路径,逗号分隔
  20. private String images;
  21. // 联系手机号
  22. private String phone;
  23. // 状态 0、未读 1、待处理 2、已处理
  24. private int status;
  25. // '处理结果'
  26. private String result;
  27. // 申诉人身份:1、患者 2、医生
  28. private int identity;
  29. public Appeal() {
  30. }
  31. public Appeal(String code, String creater, String description, int type, String images, String phone, int status, String result, int identity) {
  32. this.code = code;
  33. this.creater = creater;
  34. this.description = description;
  35. this.type = type;
  36. this.images = images;
  37. this.phone = phone;
  38. this.status = status;
  39. this.result = result;
  40. this.identity = identity;
  41. }
  42. public String getCode() {
  43. return code;
  44. }
  45. public void setCode(String code) {
  46. this.code = code;
  47. }
  48. public String getCreater() {
  49. return creater;
  50. }
  51. public void setCreater(String creater) {
  52. this.creater = creater;
  53. }
  54. public String getDescription() {
  55. return description;
  56. }
  57. public void setDescription(String description) {
  58. this.description = description;
  59. }
  60. public int getType() {
  61. return type;
  62. }
  63. public void setType(int type) {
  64. this.type = type;
  65. }
  66. public String getImages() {
  67. return images;
  68. }
  69. public void setImages(String images) {
  70. this.images = images;
  71. }
  72. public String getPhone() {
  73. return phone;
  74. }
  75. public void setPhone(String phone) {
  76. this.phone = phone;
  77. }
  78. public int getStatus() {
  79. return status;
  80. }
  81. public void setStatus(int status) {
  82. this.status = status;
  83. }
  84. public String getResult() {
  85. return result;
  86. }
  87. public void setResult(String result) {
  88. this.result = result;
  89. }
  90. public int getIdentity() {
  91. return identity;
  92. }
  93. public void setIdentity(int identity) {
  94. this.identity = identity;
  95. }
  96. }