package com.seer.teach.user.admin.response;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.v3.oas.annotations.media.Schema;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * @Author: 嘉多宝宝
 * @Data: 2025-06-27 14:32
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
@Schema(description = "管理员分页信息返回实体类")
public class AdminUserPageResp {
    @Schema(description = "ID")
    private Integer id;

    @Schema(description = "帐号")
    private String userName;

    @Schema(description = "是否启用")
    private Integer status;

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

    @Schema(description = "真实姓名")
    @TableField("real_name")
    private String realName;

    @Schema(description = "性别（0-女，1-男）")
    private Integer gender;

    @Schema(description = "昵称")
    @TableField("nick_name")
    private String nickName;

    @Schema(description = "手机号")
    private String mobile;

    @Schema(description = "邮箱")
    private String email;

    @Schema(description = "出生日期")
    @TableField("birth_date")
    private LocalDate birthDate;

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

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

    @Schema(description = "添加时间")
    private LocalDateTime createTime;

    @Schema(description = "修改时间")
    private LocalDateTime updateTime;

}
