package com.luojia_channel.modules.user.dto;

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

@Data
@Schema(description = "用户登录DTO")
public class UserLoginDTO {
    // 用户标志，支持学号，手机号，邮箱
    @Schema(
            description = "用户登录用标志，支持用户名，手机号，邮箱"
    )
    private String userFlag;

    @Schema(
            description = "用户登陆用密码",
            required = true,
            minLength = 6,
            maxLength = 16
    )
    private String password;
}
