package com.jsowell.pile.domain;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
    * 会员钱包信息表
    */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class MemberWalletInfo {
    /**
    * 主键
    */
    private Integer id;

    /**
    * 会员id
    */
    private String memberId;

    /**
    * 本金余额
    */
    private BigDecimal principalBalance;

    /**
    * 赠送余额
    */
    private BigDecimal giftBalance;

    /**
    * 版本号
    */
    private Integer version;

    private String createBy;

    private LocalDateTime createTime;

    private String updateBy;

    private LocalDateTime updateTime;

    /**
    * 删除标识(0-正常;1-删除)
    */
    private String delFlag;
}