
package com.tmerclub.cloud.multishop.vo.mongo;

import io.swagger.v3.oas.annotations.media.Schema;
import org.springframework.data.mongodb.core.mapping.Document;

import java.io.Serial;
import java.io.Serializable;

/**
 * 商家钱包信息VO
 * @author TRACK
 */
@Document("shop_wallet_log")
public class MongoShopWalletVO implements Serializable {
    @Serial
    private static final long serialVersionUID = 1L;
    @Schema(description = "店铺id")
    private Long shopId;

    @Schema(description = "未结算金额（收入）")
    private Long inUnsettleAmount;

    @Schema(description = "未结算金额（支出）")
    private Long outUnsettleAmount;

    @Schema(description = "已结算金额")
    private Long totalSettleAmount;

    @Schema(description = "冻结金额（收入）")
    private Long inFreezeAmount;

    @Schema(description = "冻结金额（支出）")
    private Long outFreezeAmount;

    public Long getShopId() {
        return shopId;
    }

    public void setShopId(Long shopId) {
        this.shopId = shopId;
    }

    public Long getInUnsettleAmount() {
        return inUnsettleAmount;
    }

    public void setInUnsettleAmount(Long inUnsettleAmount) {
        this.inUnsettleAmount = inUnsettleAmount;
    }

    public Long getOutUnsettleAmount() {
        return outUnsettleAmount;
    }

    public void setOutUnsettleAmount(Long outUnsettleAmount) {
        this.outUnsettleAmount = outUnsettleAmount;
    }

    public Long getTotalSettleAmount() {
        return totalSettleAmount;
    }

    public void setTotalSettleAmount(Long totalSettleAmount) {
        this.totalSettleAmount = totalSettleAmount;
    }

    public Long getInFreezeAmount() {
        return inFreezeAmount;
    }

    public void setInFreezeAmount(Long inFreezeAmount) {
        this.inFreezeAmount = inFreezeAmount;
    }

    public Long getOutFreezeAmount() {
        return outFreezeAmount;
    }

    public void setOutFreezeAmount(Long outFreezeAmount) {
        this.outFreezeAmount = outFreezeAmount;
    }

    @Override
    public String toString() {
        return "MongoShopWalletVO{" +
                "shopId=" + shopId +
                ", inUnsettleAmount=" + inUnsettleAmount +
                ", outUnsettleAmount=" + outUnsettleAmount +
                ", totalSettleAmount=" + totalSettleAmount +
                ", inFreezeAmount=" + inFreezeAmount +
                ", outFreezeAmount=" + outFreezeAmount +
                '}';
    }
}
