package com.ruoyi.cai.domain; import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.annotation.TableName; import lombok.Data; import java.io.Serializable; import java.time.LocalDateTime; /** * 积分记录对象 cai_point_change_log * * @author ruoyi * @date 2025-12-10 */ @Data @TableName("cai_point_change_log") public class PointChangeLog implements Serializable { private static final long serialVersionUID=1L; /** * 子账户ID */ @TableId(value = "id") private String id; // 1-充值 2-系统调整 3-分销 4-抽奖 private String actionType; /** * 用户ID */ private Long userId; /** * 用户 */ private String usercode; /** * 账户明细说明 */ private String message; /** * 目标ID,用户、抽奖ID */ private Long tarUserId; /** * 目标用户Code,有用户才有用 */ private String tarUsercode; /** * 目标名称,用户名称,抽奖名称 */ private String tarName; /** * 礼物价值 */ private Long tarPrice; /** * 目标提前缓存的 */ private String tarImg; /** * 目标额外字段 */ private String tarJson; /** * 变化值,为正 或者为负 */ private Long changeValue; /** * 操作IP */ private String operateIp; /** * 是否为后台用户手动调整 */ private Boolean isAdmin; /** * 跟踪类型 1-充值 2-分销 3-抽奖 */ private String traceLinkType; /** * 跟踪ID 订单号-礼物ID */ private String traceId; /** * 是否兑换 */ private Integer giveFlag; private String remark; /** * 兑换时间 */ private LocalDateTime giveTime; private LocalDateTime createTime; }