RegisterGoodsDonView.java 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. package com.cyksj.model.views;
  2. import com.ejlchina.searcher.bean.DbIgnore;
  3. import com.ejlchina.searcher.bean.SearchBean;
  4. import com.fasterxml.jackson.annotation.JsonIgnore;
  5. import lombok.Getter;
  6. import lombok.Setter;
  7. import javax.validation.constraints.NotBlank;
  8. /*
  9. *项目名: netflix
  10. *文件名: RegisterGoodsDonView
  11. *创建者: JavaZou
  12. *创建时间:2023/7/3 15:12
  13. */
  14. @Getter
  15. @Setter
  16. @SearchBean(tables = "register_goods_don rd",
  17. where = "rd.deleted is true and rd.status is true")
  18. public class RegisterGoodsDonView {
  19. private Long id;
  20. /**
  21. * 标签
  22. */
  23. private String tags;
  24. /**
  25. * 商品名称
  26. */
  27. @NotBlank(message = "请填写标题")
  28. private String title;
  29. /**
  30. * 缩略图
  31. */
  32. private String logo;
  33. /**
  34. * 背景图
  35. */
  36. private String img;
  37. /**
  38. * 详情
  39. */
  40. private String detail;
  41. /**
  42. * 描述
  43. */
  44. private String remark;
  45. private String banner;
  46. /**
  47. * 排序
  48. */
  49. @JsonIgnore
  50. private Integer sortBy;
  51. /**
  52. * 虚拟销量
  53. */
  54. @JsonIgnore
  55. private Integer virtualSold;
  56. @DbIgnore
  57. private Integer sold;
  58. /**
  59. * 购买通知信息
  60. */
  61. @DbIgnore
  62. private String notifyMsg;
  63. /**
  64. * 付款说明
  65. */
  66. private String payDesc;
  67. }