package cn.iocoder.yudao.module.shop.entity;

import cn.iocoder.yudao.annotation.Excel;
import cn.iocoder.yudao.framework.tenant.core.db.TenantBaseDO;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;

/**
 * 用户积分对象 shop_user_balance
 *
 * @author ruoyi
 * @date 2023-07-09
 */
@Data
public class UserBalance extends TenantBaseDO
{
    private static final long serialVersionUID = 1L;

    /** 积分余额id */
    private Long id;

    /** 用户id */
    @Excel(name = "用户id")
    private Long userId;

    /** 积分 */
    @Excel(name = "积分")
    private Long balance=0L;
    //冻结积分
    private Long frozenBalance;
    //总共充值了的积分
    private Long allBalance;
    @TableField(exist = false)
    private String realName;
    @TableField(exist = false)
    private String phonenumber;
}
