package com.ruoyi.xq.domain;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;
import java.math.BigDecimal;

import java.math.BigDecimal;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 账户明细对象 xq_account_change_log
 *
 * @author 77
 * @date 2024-03-04
 */
@Data
@TableName("xq_account_change_log")
public class AccountChangeLog implements Serializable {

    private static final long serialVersionUID=1L;

    /**
     *
     */
    @TableId(value = "id")
    private Long id;
    /**
     * 用户ID
     */
    private Long userId;
    /**
     * 用户号
     */
    private String usercode;
    /**
     * 来源用户
     */
    private Long tarUserId;
    /**
     * 来源用户编码
     */
    private String tarUsercode;
    /**
     * 目标用户基本信息备份
     */
    private String tarJson;
    /**
     * 类别CODE
     */
    private Integer cateId;
    /**
     * 变化编号
     */
    private Integer changeType;
    /**
     * 变化值，为正 或者为负
     */
    private BigDecimal changeValue;
    private String traceId;
    private Integer isAdmin;
    private Long adminId;
    private String adminName;
    private String remark;
    private LocalDateTime createTime;
    private LocalDateTime updateTime;

}
