package com.github.wxiaoqi.security.auth.util.user;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class JwtAuthenticationRequest implements Serializable {

    private static final long serialVersionUID = -8445943548965154778L;

    public static final int CHECKPASS_NO = 0;
    public static final int CHECKPASS_YES = 1;

    private String username;
    private String password;

    private Integer checkpass = 1;


//    public JwtAuthenticationRequest(String username, String password) {
//        this.username = username;
//        this.password = password;
//    }
//
//    public JwtAuthenticationRequest() {
//    }
//
//    public String getPassword() {
//        return password;
//    }
//
//    public void setPassword(String password) {
//        this.password = password;
//    }
//
//    public String getUsername() {
//        return username;
//    }
//
//    public void setUsername(String username) {
//        this.username = username;
//    }
}
