ReviewStatus.java 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. package com.ruoyi.common.enums;
  2. /**
  3. * The enum Review status.
  4. *
  5. * @author chen.cheng
  6. */
  7. public enum ReviewStatus {
  8. /**
  9. * Pass review status.
  10. *
  11. * @author chen.cheng
  12. */
  13. PASS("0", "审核通过"),
  14. /**
  15. * No pass review status.
  16. *
  17. * @author chen.cheng
  18. */
  19. NO_PASS("1", "审核不通过"),
  20. /**
  21. * Wait review status.
  22. *
  23. * @author chen.cheng
  24. */
  25. WAIT("2", "待审核");
  26. /**
  27. * The Code.
  28. *
  29. * @author chen.cheng
  30. */
  31. private final String code;
  32. /**
  33. * The Info.
  34. *
  35. * @author chen.cheng
  36. */
  37. private final String info;
  38. /**
  39. * Instantiates a new Review status.
  40. *
  41. * @param code the code
  42. * @param info the info
  43. * @author chen.cheng
  44. */
  45. ReviewStatus(String code, String info) {
  46. this.code = code;
  47. this.info = info;
  48. }
  49. /**
  50. * Gets code.
  51. *
  52. * @return the code
  53. * @author chen.cheng
  54. */
  55. public String getCode() {
  56. return code;
  57. }
  58. /**
  59. * Gets info.
  60. *
  61. * @return the info
  62. * @author chen.cheng
  63. */
  64. public String getInfo() {
  65. return info;
  66. }
  67. }