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

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

import java.math.BigDecimal;
import java.time.LocalDate;
import java.time.LocalDateTime;
/**
 * 会员信息对象 ums_member
 *
 * @author zcc
 */
@Schema(description="会员信息对象")
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@TableName("ums_member")
public class Member  extends BaseAudit {
    @Schema(description = "会员id")
    @TableId
    private Long id;

    @Schema(description = "用户名")
    private String userName;

    @Schema(description ="昵称")
    private String nickname;

    @Schema(description ="密码")
    private String password;

    @Schema(description ="加密手机号")
    private String phoneEncrypted;

    @Schema(description ="隐藏前三位后四位的手机号")
    private String phoneHidden;

    @Schema(description ="用户备注")
    private String mark;

    @Schema(description ="帐号启用状态:0->禁用；1->启用")
    private Integer status;

    @Schema(description ="头像")
    private String avatar;

    @Schema(description ="性别：0->未知；1->男；2->女")
    private Integer gender;

    @Schema(description ="用户所在城市")
    private String city;

    @Schema(description ="用户所在省份")
    private String province;

    @Schema(description ="用户所在国家")
    private String country;

    @Schema(description ="公众号运营者对粉丝的备注，公众号运营者可在微信公众平台用户管理界面对粉丝添加备注")
    private String remark;

    @Schema(description ="生日")
    private LocalDate birthday;

    @Schema(description ="推广员id")
    private Long spreadUid;

    @Schema(description ="推广员关联时间")
    private LocalDateTime spreadTime;

    @Schema(description ="等级")
    private Integer level;


    @Schema(description ="im签名")
    private String userSig; // 添加 UserSig 属性

    @Schema(description ="发布视频")
    private Integer vlogCount;
    @Schema(description ="粉丝数")
    private Integer fansCount;
    @Schema(description ="关注数")
    private Integer followCount;

    @Schema(description ="好友数")
    private Integer friendsCount;

    /**
     * 视频点赞数
     */
    @Schema(description ="视频点赞数")
    private Integer vlogLikeCount;

    @Schema(description ="微信openId")
    private String openId;


    @Schema(description ="用户id")
    private Long userId;

    @Schema(description = "角色")
    private Integer role;

}
