IntegralTactic.java 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  1. package com.dk.oauth.model.pojo.integral;
  2. import cn.afterturn.easypoi.excel.annotation.Excel;
  3. import com.baomidou.mybatisplus.annotation.*;
  4. import java.io.Serializable;
  5. import com.dk.common.infrastructure.annotaiton.ExportTitle;
  6. import com.dk.common.infrastructure.handler.*;
  7. import com.dk.common.model.pojo.PageInfo;
  8. import com.fasterxml.jackson.annotation.JsonFormat;
  9. import lombok.Data;
  10. import lombok.AllArgsConstructor;
  11. import lombok.NoArgsConstructor;
  12. import lombok.EqualsAndHashCode;
  13. import lombok.experimental.Accessors;
  14. import io.swagger.annotations.ApiModel;
  15. import io.swagger.annotations.ApiModelProperty;
  16. import com.alibaba.fastjson.JSONObject;
  17. import java.util.List;
  18. /**
  19. * 积分策略
  20. */
  21. @Data
  22. @AllArgsConstructor
  23. @NoArgsConstructor
  24. @EqualsAndHashCode(callSuper = true)
  25. @Accessors(chain = true)
  26. @ExportTitle("积分策略")
  27. @TableName(value = "t_mst_integral_tactic", autoResultMap = true, schema = "dkic_a")
  28. @ApiModel(value="实体类:积分策略", description="表名:t_mst_integral_tactic")
  29. public class IntegralTactic extends PageInfo<IntegralTactic> implements Serializable {
  30. /*
  31. * 数据库字段
  32. */
  33. /**
  34. * 策略ID
  35. */
  36. // @TableId(value = "tactic_id", type = IdType.AUTO)
  37. @ApiModelProperty(value = "策略ID")
  38. @TableField(typeHandler = UuidTypeHandler.class)
  39. private String tacticId;
  40. /**
  41. * 注册积分
  42. */
  43. @Excel(name = "注册积分")
  44. @ApiModelProperty(value = "注册积分")
  45. private Integer regIntegral;
  46. /**
  47. * 签到积分
  48. */
  49. @Excel(name = "签到积分")
  50. @ApiModelProperty(value = "签到积分")
  51. private Integer signIntegral;
  52. /**
  53. * 15天签到积分 (连续签到15天)
  54. */
  55. @Excel(name = "15天签到积分 (连续签到15天)")
  56. @ApiModelProperty(value = "15天签到积分 (连续签到15天)")
  57. private Integer fifteenIntegral;
  58. /**
  59. * 分享积分
  60. */
  61. @Excel(name = "分享积分")
  62. @ApiModelProperty(value = "分享积分")
  63. private Integer shareIntegral;
  64. /**
  65. * 分享注册积分
  66. */
  67. @Excel(name = "分享注册积分")
  68. @ApiModelProperty(value = "分享注册积分")
  69. private Integer shareRegIntegral;
  70. /**
  71. * 每日签到次数
  72. */
  73. @Excel(name = "每日签到次数")
  74. @ApiModelProperty(value = "每日签到次数")
  75. private Integer signDayNum;
  76. /**
  77. * 每日分享次数
  78. */
  79. @Excel(name = "每日分享次数")
  80. @ApiModelProperty(value = "每日分享次数")
  81. private Integer shareDayNum;
  82. /*
  83. * 相关属性
  84. * @TableField(exist = false)
  85. */
  86. /*
  87. * 关联属性 + 查询条件
  88. * @TableField(exist = false)
  89. */
  90. private static final long serialVersionUID = 1L;
  91. }