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

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

import java.math.BigDecimal;
/**
 * 会员账户表对象 ums_member_account
 *
 * @author zcc
 */
@Schema(description="会员账户表对象")
@Data
@TableName("ums_account")
@Builder(toBuilder = true)
public class MemberAccount extends BaseAudit {


    @Excel(name = "ID")
    @TableId(value = "id")
    private Long id;

    @Schema(description ="MEMBER_ID")
    private Long memberId;


    private Integer type;

    @Schema(description ="积分")
    private BigDecimal integral;

    @Schema(description ="钱包")
    private BigDecimal wallet ;

    @Schema(description ="营收")
    private BigDecimal revenue ;



}
