package com.pig4cloud.pigx.app.api.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;

/**
 * @author ami
 * @date 2023/10
 */
@Data
public class AppUserInfoDto implements Serializable {

	private static final long serialVersionUID = 1L;

	/**
	 * 用户id
	 */
	@TableId(type = IdType.ASSIGN_ID)
	@Schema(description = "userId")
	private Long userId;

	/**
	 * 用户名
	 */
	@Schema(description = "用户名")
	private String username;

	/**
	 * 手机号 -> 加密&模糊梳理
	 */
//	@Schema(description = "手机号")
//	private String phone;

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

	/**
	 * 昵称
	 */
	@Schema(description = "拓展字段:昵称")
	private String nickname;

	/**
	 * 邮箱 -> 加密&模糊梳理
	 */
	@Schema(description = "拓展字段:邮箱")
	private String email;

	/**
	 * 所属租户
	 */
//	@Schema(description = "所属租户", hidden = true)
//	private Long tenantId;

}
