package models

type AuthInput struct {
	User string `query:"user" doc:"Имя пользователя" minLength:"3" example:"Ivan"`
	Pswd string `query:"pswd" doc:"Пароль" minLength:"8" example:"12345678"`
	Code string `query:"code" doc:"Код двухфакторной авторизации" minLength:"6" example:"123456"`
}

type AuthOutput struct {
	Body struct {
		Success bool `json:"success"`
	}
}

type AuthInfoInput struct {
	User string `query:"user" doc:"Имя пользователя" minLength:"3" example:"Ivan"`
	Pswd string `query:"pswd" doc:"Пароль" minLength:"8" example:"12345678"`
}

type AuthInfoOutput struct {
	Body struct {
		Success bool `json:"success"`
	}
}
