| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109 |
- package com.ylx.point.domain;
- import java.math.BigDecimal;
- import java.util.Date;
- import com.fasterxml.jackson.annotation.JsonFormat;
- import com.ylx.common.core.domain.BaseEntity;
- import lombok.Data;
- import lombok.EqualsAndHashCode;
- import org.apache.commons.lang3.builder.ToStringBuilder;
- import org.apache.commons.lang3.builder.ToStringStyle;
- import com.ylx.common.annotation.Excel;
- /**
- * 用户积分流水对象 point_user_log
- *
- * @author wzj
- * @date 2026-03-25
- */
- @EqualsAndHashCode(callSuper = true)
- @Data
- public class PointUserLog extends BaseEntity {
- private static final long serialVersionUID = -383943846291022514L;
- /**
- * $column.columnComment
- */
- private Long id;
- /**
- * 用户ID
- */
- @Excel(name = "用户的openID")
- private String openId;
- /**
- * 活动ID
- */
- @Excel(name = "活动ID")
- private Long activityId;
- /**
- * 活动名称
- */
- @Excel(name = "活动名称")
- private String activityName;
- /**
- * 任务ID
- */
- @Excel(name = "任务ID")
- private Long taskId;
- /**
- * 1-普通活动 2-签到活动
- */
- @Excel(name = "1-普通活动 2-签到活动")
- private Integer taskType;
- /**
- * 变动值 (+获得, -消费, -过期)
- */
- @Excel(name = "变动值 (+获得, -消费, -过期)")
- private Integer points;
- /**
- * 变动后总余额 (快照)
- */
- @Excel(name = "变动后总余额 (快照)")
- private Integer balanceAfter;
- /**
- * 关联ID: 消耗/过期记录指向被扣减的"获得记录ID"
- */
- @Excel(name = "关联ID: 消耗/过期记录指向被扣减的获得记录ID")
- private Long sourceLogId;
- /**
- * 业务订单号/流水号
- */
- @Excel(name = "业务订单号/流水号")
- private String bizOrderId;
- /**
- * 该笔积分的过期时间 (仅获得记录有值)
- */
- @JsonFormat(pattern = "yyyy-MM-dd")
- @Excel(name = "该笔积分的过期时间 (仅获得记录有值)", width = 30, dateFormat = "yyyy-MM-dd")
- private Date expireTime;
- /**
- * 该笔获得记录是否已完全核销/过期
- */
- @Excel(name = "该笔获得记录是否已完全核销/过期")
- private Integer isExpired;
- /**
- * 1-收入 2-支出 3-过期
- */
- @Excel(name = "1-收入 2-支出 3-过期")
- private Integer opType;
- /**
- * 年月(YYYYMM)
- */
- @Excel(name = "年月(YYYYMM)")
- private String month;
- }
|