28 lines
574 B
Dart
28 lines
574 B
Dart
class LoginDto {
|
|
LoginDto({
|
|
this.userName,
|
|
this.password,
|
|
this.rememberMe = false,
|
|
this.captchaText,
|
|
this.captchaToken,
|
|
this.captchaInputText,
|
|
});
|
|
|
|
String? userName;
|
|
String? password;
|
|
bool rememberMe;
|
|
String? captchaText;
|
|
String? captchaToken;
|
|
String? captchaInputText;
|
|
|
|
Map<String, dynamic> toJson() => {
|
|
'UserName': userName,
|
|
'Password': password,
|
|
'RememberMe': rememberMe,
|
|
'CaptchaText': captchaText,
|
|
'CaptchaToken': captchaToken,
|
|
'CaptchaInputText': captchaInputText,
|
|
};
|
|
}
|
|
|