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.math.BigDecimal;

/**
 * 个人账户变更记录视图对象
 *
 * @author zsElectric
 * @since 2025-12-12 10:18
 */
@Getter
@Setter
@Schema( description = "个人账户变更记录视图对象")
public class UserAccountLogVO implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    @Schema(description = "个人账户日志编号")
    private Long id;
    @Schema(description = "用户编号")
    private Long userId;
    @Schema(description = "变更类型 1 增加 2 减少")
    private Integer changeType;
    @Schema(description = "变更记录")
    private String changeNote;
    @Schema(description = "变更记录编号（订单号或充电订单号）")
    private Long changeId;
    @Schema(description = "账户类型（1个人账户，2集团账户）")
    private Integer accountType;
    @Schema(description = "商家编号")
    private Long ecId;
    @Schema(description = "变更前余额")
    private BigDecimal beforeBalance;
    @Schema(description = "变更余额")
    private BigDecimal changeBalance;
    @Schema(description = "变更时间")
    private String createTime;
}
