package com.ruoyi.cai.auth;

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

import javax.validation.constraints.NotEmpty;

@Data
@Schema(description = "登陆入参模型")
public class LoginCaiUser {
    @Schema(description = "用户")
    @NotEmpty(message = "登录名不能为空")
    private String username;
    @Schema(description = "密码")
    @NotEmpty(message = "密码不能为空")
    private String password;
}
