OrderCommentFrontView.java 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. package com.cyksj.model.views;
  2. import com.ejlchina.searcher.bean.DbField;
  3. import com.ejlchina.searcher.bean.SearchBean;
  4. import com.fasterxml.jackson.annotation.JsonIgnore;
  5. import lombok.Getter;
  6. import lombok.Setter;
  7. /*
  8. *项目名: netflix
  9. *文件名: OrderCommentFrontView
  10. *创建者: JavaZou
  11. *创建时间:2023/5/26 17:05
  12. */
  13. @Getter
  14. @Setter
  15. @SearchBean(tables = "order_comment oc left join goods_don g on g.id = oc.goods_id" +
  16. " left join goods_don_sku sku on sku.id = oc.sku_id",
  17. where = "oc.verify_status = 'success'")
  18. public class OrderCommentFrontView {
  19. @JsonIgnore
  20. @DbField("oc.id")
  21. private Long id;
  22. @DbField("oc.nickname")
  23. private String nickname;
  24. @DbField("oc.head_img_url")
  25. private String headImgUrl;
  26. @JsonIgnore
  27. @DbField("g.id")
  28. private Long goodsId;
  29. @DbField("g.title")
  30. private String title;
  31. @JsonIgnore
  32. @DbField("sku.id")
  33. private Long skuId;
  34. @DbField("sku.spec_val")
  35. private String specVal;
  36. @DbField("oc.content")
  37. private String content;
  38. @DbField("oc.time")
  39. private String time;
  40. @DbField("oc.score")
  41. private Integer score;
  42. @DbField("oc.picture")
  43. private String picture;
  44. @DbField("oc.video")
  45. private String video;
  46. @DbField("oc.comment_time")
  47. private String commentTime;
  48. @DbField("oc.title")
  49. private String commentTitle;
  50. @DbField("oc.tv_type")
  51. private String tvType;
  52. @DbField("oc.box_type")
  53. private String boxType;
  54. @DbField("oc.route_type")
  55. private String routeType;
  56. }