package cn.iocoder.yudao.module.member.controller.admin.user.vo;


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

import java.time.LocalDateTime;

@Schema(description = "管理后台 - 会员用户新增/修改 Request VO")
@Data
public class MemberUserSaveReqVO {

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

    @Schema(description = "密码", requiredMode = Schema.RequiredMode.REQUIRED)
    private String password;

    @Schema(description = "状态", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    private Integer status;

    @Schema(description = "注册 IP", requiredMode = Schema.RequiredMode.REQUIRED)
    private String registerIp;

    @Schema(description = "注册终端")
    private Integer registerTerminal;

    @Schema(description = "最后登录IP")
    private String loginIp;

    @Schema(description = "最后登录时间")
    private LocalDateTime loginDate;

    @Schema(description = "用户昵称", requiredMode = Schema.RequiredMode.REQUIRED, example = "芋艿")
    private String nickname;

    @Schema(description = "头像", requiredMode = Schema.RequiredMode.REQUIRED)
    private String avatar;

    @Schema(description = "真实名字", example = "王五")
    private String name;

    @Schema(description = "用户性别")
    private Integer sex;

    @Schema(description = "所在地", example = "32418")
    private Long areaId;

    @Schema(description = "出生日期")
    private LocalDateTime birthday;

    @Schema(description = "会员备注")
    private String mark;

    @Schema(description = "积分", requiredMode = Schema.RequiredMode.REQUIRED)
    private Integer point;

    @Schema(description = "用户标签编号列表，以逗号分隔")
    private String tagIds;

    @Schema(description = "等级编号", example = "22876")
    private Long levelId;

    @Schema(description = "经验", requiredMode = Schema.RequiredMode.REQUIRED)
    private Integer experience;

    @Schema(description = "用户分组编号", example = "23996")
    private Long groupId;

    @Schema(description = "会员用户类型，1：线上会员  2：线下会员", example = "1")
    private Integer memberUserType;

    @Schema(description = "会员卡名称", example = "李四")
    private String memberCardName;

    @Schema(description = "会员卡号")
    private String memberCardNumber;

    @Schema(description = "证件类型", example = "1")
    private String idType;

    @Schema(description = "证件号码")
    private String idNumber;

    @Schema(description = "地址")
    private String address;

    @Schema(description = "会员类别")
    private String memberCategory;

    @Schema(description = "系统机构类型，1：机构 2：居家(社区) 3：旅居")
    private Integer orgType;

    @Schema(description = "会员卡权限")
    private String permission;
}
