BootACourse.java 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. package beilv.bootacourse.domain;
  2. import com.fasterxml.jackson.annotation.JsonFormat;
  3. import lombok.*;
  4. import java.util.Date;
  5. @Getter
  6. @Setter
  7. @ToString
  8. @AllArgsConstructor
  9. @NoArgsConstructor
  10. public class BootACourse {
  11. /**
  12. * 数据id
  13. */
  14. private Long id;
  15. /**
  16. * 用户id
  17. */
  18. private String userId;
  19. /**
  20. * 联系人
  21. */
  22. private String contactPeople;
  23. /**
  24. * 联系电话
  25. */
  26. private String contactNumber;
  27. /**
  28. * 下单时间
  29. */
  30. private String registrationTime;
  31. /**
  32. * 支付时间
  33. */
  34. private String paymentTime;
  35. /**
  36. * 取消时间
  37. */
  38. private String cancellationTime;
  39. /**
  40. * 退款时间
  41. */
  42. private String refundTime;
  43. /**
  44. * 支付状态
  45. */
  46. private String paymentStatus;
  47. /**
  48. * 订单编号
  49. */
  50. private String orderId;
  51. /**
  52. * 赛事id
  53. */
  54. private String ticketId;
  55. /**
  56. * 订单类型
  57. */
  58. private String orderType;
  59. /**
  60. * 退款说明
  61. */
  62. private String refundInstructions;
  63. /**
  64. * 会员卡id
  65. */
  66. private String clubCardId;
  67. /**
  68. * 最晚退单时间
  69. */
  70. @JsonFormat(pattern = "yyyy-MM-dd HH:mm", timezone = "GMT+8")
  71. private Date refund;
  72. public BootACourse(String userId, String contactPeople, String contactNumber, String registrationTime, String paymentStatus, String orderId, String ticketId, String orderType, String clubCardId, Date refund) {
  73. this.userId = userId;
  74. this.contactPeople = contactPeople;
  75. this.contactNumber = contactNumber;
  76. this.registrationTime = registrationTime;
  77. this.paymentStatus = paymentStatus;
  78. this.orderId = orderId;
  79. this.ticketId = ticketId;
  80. this.orderType = orderType;
  81. this.clubCardId = clubCardId;
  82. this.refund = refund;
  83. }
  84. }