package com.ghy.customer.domain;

import com.ghy.common.annotation.Excel;
import com.ghy.common.core.domain.BaseEntity;
import lombok.Data;

import java.math.BigDecimal;

/**
 * 消费者钱包
 * @author clunt
 */
@Data
public class CustomerWallet extends BaseEntity {

    @Excel(name = "消费者钱包id", cellType = Excel.ColumnType.NUMERIC)
    private Long customerWalletId;

    @Excel(name = "消费者id", cellType = Excel.ColumnType.NUMERIC)
    private Long customerId;

    @Excel(name = "消费者总收入", cellType = Excel.ColumnType.STRING)
    private BigDecimal totalIncome;

    @Excel(name = "消费者总支出", cellType = Excel.ColumnType.STRING)
    private BigDecimal totalOutcome;

    @Excel(name = "消费者余额", cellType = Excel.ColumnType.STRING)
    private BigDecimal balance;

    @Excel(name = "消费者冻结余额", cellType = Excel.ColumnType.STRING)
    private BigDecimal frozenBalance;

    @Excel(name = "钱包状态", cellType = Excel.ColumnType.NUMERIC)
    private Integer status;

}
