package com.czg.account.dto;

import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.NotNull;

public record SysLoginDTO(
        /*
          商户账号
         */
        @NotEmpty(message = "用户名不为空")
        String username,
        String staffUserName,
        @NotEmpty(message = "密码不为空")
        String password, // 密码
        @NotEmpty(message = "验证码不为空")
        String code, // 验证码
        @NotEmpty(message = "uid不为空")
        String uuid, // 验证码uid
        @NotNull
        Integer loginType
) {
}
