package com.wzj.soopin.member.domain.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.dromara.common.core.domain.model.BaseAudit;
import org.dromara.common.excel.annotation.Excel;

import java.math.BigDecimal;

/**
 * 账单VO
 *
 * @author zcc
 */
@Schema(description="账单")
@Data
public class AccountBillVO extends BaseAudit  {

    private Long id;

    private Long accountId;


    @Schema(description ="余额")
    @Excel(name = "余额")
    private BigDecimal moneyBalance;


    @Schema(description ="变动前余额")
    @Excel(name = "变动前余额")
    private BigDecimal beforeBalance;

    @Schema(description ="变动后余额")
    @Excel(name = "变动后余额")
    private BigDecimal afterBalance;


    @Schema(description ="变动金额")

    @Excel(name = "变动金额")
    private BigDecimal changeAmount;

    @Schema(description ="变动类型")
    @Excel(name = "变动类型")
    private String changeType;

    @Schema(description ="变动描述")
    @Excel(name = "变动描述")
    private String changeDesc;

    @Schema(description ="来源")
    @Excel(name = "来源")
    private Integer source;

    @Schema(description ="会员id")
    private Long memberId;

    @Schema(description ="会员名称")
    private String userName;

    @Schema(description ="会员头像")
    private String avatar;

    @Schema(description ="订单号")
    private String orderSn;


}
