package com.greenorange.promotion.model.vo.userInfo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

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

/**
 * 主管用户 视图对象
 */
@Data
@Schema(description = "主管用户 视图对象")
public class SupervisorUserVO implements Serializable {

    /**
     * 用户表 ID
     */
    @Schema(description = "用户ID", example = "1")
    private Long id;

    /**
     * 用户昵称
     */
    @Schema(description = "用户昵称", example = "chenxinzhi")
    private String nickName;

    /**
     * 用户头像URL
     */
    @Schema(description = "用户头像URL", example = "http://xxx.png")
    private String userAvatar;

    /**
     * 手机号
     */
    @Schema(description = "手机号", example = "15888610253")
    private String phoneNumber;

    /**
     * 账号
     */
    @Schema(description = "账号", example = "qingcheng")
    private String userAccount;


    /**
     * 邀请码
     */
    @Schema(description = "邀请码", example = "666999")
    private String invitationCode;


    /**
     * 团队人数（不包括自己）
     */
    @Schema(description = "团队人数（不包括自己）", example = "8")
    private Integer teamSize;


    /**
     * 团队收益
     */
    @Schema(description = "团队收益", example = "25.00")
    private BigDecimal teamEarnings;


    /**
     * 给上级带来的收益
     */
    @Schema(description = "给上级带来的收益", example = "8.00")
    private BigDecimal parentEarnings;


    @Serial
    private static final long serialVersionUID = 1L;
}
