ActivityCollectionInfo.java 822 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. package com.izouma.nineth.domain;
  2. import lombok.*;
  3. import javax.persistence.Entity;
  4. import javax.persistence.Transient;
  5. /**
  6. * 活动收集
  7. *
  8. * @author ZouYuHong
  9. */
  10. @Getter
  11. @Setter
  12. @AllArgsConstructor
  13. @NoArgsConstructor
  14. @Builder
  15. @Entity
  16. public class ActivityCollectionInfo extends BaseEntity {
  17. /**
  18. *藏品id
  19. */
  20. private Long collectionId;
  21. /**
  22. * 藏品名称
  23. */
  24. private String collectionName;
  25. /**
  26. * 收集数量
  27. */
  28. private Integer num;
  29. /**
  30. * 用户持有量
  31. */
  32. @Transient
  33. private Integer userHoldNum;
  34. /**
  35. * 图片地址
  36. */
  37. @Transient
  38. private String imgUrl;
  39. /**
  40. * 是否为必须收集款
  41. */
  42. private Boolean mustNeedCollected;
  43. /**
  44. * 为不销毁藏品
  45. */
  46. private boolean notDestroy;
  47. }