OrderDonAccountRep.java 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. package com.cyksj.model.response;
  2. import com.ejlchina.searcher.bean.DbField;
  3. import com.ejlchina.searcher.bean.DbIgnore;
  4. import com.ejlchina.searcher.bean.SearchBean;
  5. import com.fasterxml.jackson.annotation.JsonIgnore;
  6. import lombok.Getter;
  7. import lombok.Setter;
  8. import java.util.Date;
  9. /*
  10. *项目名: netflix
  11. *文件名: OrderDonRep
  12. *创建者: JavaZou
  13. *创建时间:2023/2/16 14:57
  14. */
  15. @Getter
  16. @Setter
  17. @SearchBean(tables = "order_don od left join groups_relation gr on gr.id = od.relation_id" +
  18. " left join groups_trips gt on gt.id = gr.groups_id" +
  19. " left join account a on a.id = gt.account_id",
  20. where = ":time: and od.status not in ('close','noPayment','refund')" +
  21. " and gr.status = 'validity' and gr.expiry_time is not null")
  22. public class OrderDonAccountRep {
  23. @DbField("od.goods_id")
  24. @JsonIgnore
  25. private Long goodsId;
  26. /**
  27. * 账号id
  28. */
  29. @DbField("a.id")
  30. private Long accountId;
  31. /**
  32. * 账号
  33. */
  34. @DbField("a.account")
  35. private String account;
  36. /**
  37. * 密码
  38. */
  39. @DbField("a.password")
  40. private String password;
  41. /**
  42. * 用户id
  43. */
  44. @DbField("gr.user_id")
  45. @JsonIgnore
  46. private Long userId;
  47. /**
  48. * 用户昵称
  49. */
  50. @DbIgnore
  51. private String nickname;
  52. /**
  53. * 座位位置
  54. */
  55. @DbField("gr.num")
  56. private Integer num;
  57. /**
  58. * 过期时间
  59. */
  60. @DbField("gr.expiry_time")
  61. private Date expiredTime;
  62. }