package com.seer.teach.user.app.user.controller.req;

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 jakarta.validation.constraints.NotBlank;

/**
 * @Author: Captain
 * @Description: 孩子登录信息
 * @Date: 2025-05-20 15:05
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
@Schema(description = "孩子登录请求实体类")
public class UserLoginReq {

    @Schema(description = "微信登录参数")
    @NotBlank(message = "jsCode不可为空")
    private String jsCode;

    @Schema(description = "账户")
    @NotBlank(message = "账户不可为空")
    private String phoneNumber;

    @Schema(description = "密码")
    @NotBlank(message = "密码不可为空")
    private String password;
}
