package com.red.circle.auth.dto;

import com.red.circle.framework.dto.DTO;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 账号密码登录.
 *
 * @author pengliang on 2023/5/15
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class AccountPasswordLogin extends DTO {

  private static final long serialVersionUID = 1L;

  /**
   * 用户名.
   */
  @NotBlank
  private String username;

  /**
   * 密码.
   */
  @NotBlank
  private String password;

}
