package com.zsElectric.boot.business.model.vo;

import java.io.Serial;
import java.io.Serializable;
import java.time.LocalDateTime;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;
import java.time.LocalDateTime;
import java.math.BigDecimal;

/**
 * 用户积分日志记录视图对象
 *
 * @author zsElectric
 * @since 2025-12-12 10:25
 */
@Getter
@Setter
@Schema( description = "用户积分日志记录视图对象")
public class UserInfoIntegralLogVO implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    @Schema(description = "主键ID")
    private Long id;
    @Schema(description = "用户ID")
    private Long userId;
    @Schema(description = "原积分")
    private BigDecimal integralNumOrg;
    @Schema(description = "积分")
    private BigDecimal integralNum;
    @Schema(description = "类型（1，增加；2，扣减）")
    private Integer type;
    @Schema(description = "来源（1自动上账，2手动上账）")
    private String sourceType;
    @Schema(description = "来源单号")
    private String changNo;
    @Schema(description = "备注")
    private String remark;
    @Schema(description = "创建时间")
    private LocalDateTime createTime;
}
