package com.sqx.modules.sys.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.math.BigDecimal;

import lombok.Data;

/**
 * 系统用户钱包(SysUserMoney)表实体类
 *
 * @author ww
 * @since 2025-01-06 13:37:36
 */
@Data
@TableName("sys_user_money")
@ApiModel(value = "系统用户钱包 实体类")
public class SysUserMoney extends Model<SysUserMoney> {
    @ApiModelProperty("钱包id")
    @TableId(type = IdType.ID_WORKER)
    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;
    @ApiModelProperty("钱包金额 钱")
    private BigDecimal money;
    @ApiModelProperty("渠道 系统用户userId")
    @JsonSerialize(using = ToStringSerializer.class)
    private Long userId;
    private BigDecimal inviteIncomeMoney;
    private BigDecimal inviteIncomeCoin;


}

