package com.jy.system.model.dto;

import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.Size;
import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
public class LoginDto {

    /**
     * 用户名
     */
    @NotEmpty
    @Size(min = 5, max = 20)
    private String username;

    /**
     * 用户密码
     */
    @NotEmpty
    @Size(min = 6, max = 30)
    private String password;

    /**
     * 验证码
     */
    private String code;

    /**
     * 唯一标识
     */
    private String uuid;

}
