TicketBox.java 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138
  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.math.BigDecimal;
  8. import java.util.Date;
  9. import lombok.Data;
  10. /**
  11. * @describe 盲票组实体类
  12. * @auther quanshu
  13. * @create 2022-03-02 12:25:55
  14. */
  15. @TableName("mp_ticket_box")
  16. @Data
  17. public class TicketBox implements Serializable {
  18. private static final long serialVersionUID = 1L;
  19. /**
  20. * 主键
  21. */
  22. @TableId(value = "box_id" , type = IdType.INPUT)
  23. private String boxId;
  24. /**
  25. * 盲票组标题
  26. */
  27. @TableField("title")
  28. private String title;
  29. /**
  30. * 主图url
  31. */
  32. @TableField("pic_url")
  33. private String picUrl;
  34. /**
  35. * 盲票类别
  36. */
  37. @TableField("category")
  38. private String category;
  39. /**
  40. * 详细描述
  41. */
  42. @TableField("description")
  43. private String description;
  44. /**
  45. * 盲票形式(线上或线下)
  46. */
  47. @TableField("type")
  48. private String type;
  49. /**
  50. * 盲票张数
  51. */
  52. @TableField("quantity")
  53. private Integer quantity;
  54. /**
  55. * 已售盲票张数
  56. */
  57. @TableField("sale_qty")
  58. private Integer saleQty;
  59. /**
  60. * 盲票包原价
  61. */
  62. @TableField("box_price")
  63. private Integer boxPrice;
  64. /**
  65. * 盲票包售价
  66. */
  67. @TableField("box_sale_price")
  68. private Integer boxSalePrice;
  69. /**
  70. * 每包盲票张数
  71. */
  72. @TableField("pkg_unit")
  73. private Integer pkgUnit;
  74. /**
  75. * 盲票包数
  76. */
  77. @TableField("pkg_qty")
  78. private Integer pkgQty;
  79. /**
  80. * 已销售包数
  81. */
  82. @TableField("sale_pkg_qty")
  83. private Integer salePkgQty;
  84. /**
  85. * 盲票票面价格
  86. */
  87. @TableField("face_price")
  88. private Integer facePrice;
  89. /**
  90. * 盲票销售价格
  91. */
  92. @TableField("sale_price")
  93. private Integer salePrice;
  94. /**
  95. * 分佣的销售额百分比
  96. */
  97. @TableField("sale_comm_rate")
  98. private BigDecimal saleCommRate;
  99. /**
  100. * 状态,上架/下架
  101. */
  102. @TableField("status")
  103. private String status;
  104. /**
  105. * 创建时间
  106. */
  107. @TableField("created_time")
  108. private Date createdTime;
  109. /**
  110. * 更新时间
  111. */
  112. @TableField("updated_time")
  113. private Date updatedTime;
  114. }