TicketAwardsPrize.java 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. package com.qs.mp.admin.domain;
  2. import com.baomidou.mybatisplus.annotation.IdType;
  3. import com.baomidou.mybatisplus.annotation.TableField;
  4. import com.baomidou.mybatisplus.annotation.TableId;
  5. import com.baomidou.mybatisplus.annotation.TableName;
  6. import java.io.Serializable;
  7. import java.util.Date;
  8. import lombok.Data;
  9. /**
  10. * @describe 盲票盒奖项对应的奖品设置实体类
  11. * @auther quanshu
  12. * @create 2022-03-02 12:25:55
  13. */
  14. @TableName("mp_ticket_awards_prize")
  15. @Data
  16. public class TicketAwardsPrize implements Serializable {
  17. private static final long serialVersionUID = 1L;
  18. /**
  19. * 主键
  20. */
  21. @TableId(value = "id" , type = IdType.AUTO)
  22. private Long id;
  23. /**
  24. * 奖项ID
  25. */
  26. @TableField("awards_id")
  27. private String awardsId;
  28. /**
  29. * 奖品ID(GOODS_ID或TEMPL_ID)
  30. */
  31. @TableField("prize_id")
  32. private String prizeId;
  33. /**
  34. * 奖品类型(GOODS或VOUCHER或COIN)
  35. */
  36. @TableField("prize_type")
  37. private String prizeType;
  38. /**
  39. * 奖品数
  40. */
  41. @TableField("quantity")
  42. private Integer quantity;
  43. /**
  44. * 已兑奖品数
  45. */
  46. @TableField("cashed_qty")
  47. private Integer cashedQty;
  48. /**
  49. * 创建时间
  50. */
  51. @TableField("created_time")
  52. private Date createdTime;
  53. /**
  54. * 更新时间
  55. */
  56. @TableField("updated_time")
  57. private Date updatedTime;
  58. }