OrderCommentFrontView.java 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  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. @DbField("g.id")
  27. private Long goodsId;
  28. @DbField("g.title")
  29. private String title;
  30. @JsonIgnore
  31. @DbField("sku.id")
  32. private Long skuId;
  33. @DbField("sku.spec_val")
  34. private String specVal;
  35. @DbField("oc.content")
  36. private String content;
  37. @DbField("oc.time")
  38. private String time;
  39. @DbField("oc.score")
  40. private Integer score;
  41. @DbField("oc.picture")
  42. private String picture;
  43. @DbField("oc.video")
  44. private String video;
  45. @DbField("oc.comment_time")
  46. private String commentTime;
  47. @DbField("oc.title")
  48. private String commentTitle;
  49. @DbField("oc.tv_type")
  50. private String tvType;
  51. @DbField("oc.box_type")
  52. private String boxType;
  53. @DbField("oc.route_type")
  54. private String routeType;
  55. }