You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

111 lines
2.2 KiB

import 'package:huixiang/generated/json/base/json_field.dart';
import 'package:huixiang/generated/json/clerk_manage.g.dart';
import 'dart:convert';
export 'package:huixiang/generated/json/clerk_manage.g.dart';
@JsonSerializable()
class ClerkManage {
String? id = '';
String? createTime = '';
String? createUser = '';
String? updateTime = '';
String? updateUser = '';
String? account = '';
String? name = '';
dynamic org;
dynamic station;
int? type = 0;
String? email = '';
String? mobile = '';
Sex? sex;
bool? status = false;
String? avatar = '';
Nation? nation;
Education? education;
PositionStatus? positionStatus;
String? workDescribe = '';
dynamic passwordErrorLastTime;
int? passwordErrorNum = 0;
dynamic passwordExpireTime;
String? password = '';
dynamic lastLoginTime;
ClerkManage();
factory ClerkManage.fromJson(Map<String, dynamic> json) => $ClerkManageFromJson(json);
Map<String, dynamic> toJson() => $ClerkManageToJson(this);
@override
String toString() {
return jsonEncode(this);
}
}
@JsonSerializable()
class Sex {
String? desc = '';
String? code = '';
Sex();
factory Sex.fromJson(Map<String, dynamic> json) => $SexFromJson(json);
Map<String, dynamic> toJson() => $SexToJson(this);
@override
String toString() {
return jsonEncode(this);
}
}
@JsonSerializable()
class Nation {
dynamic key;
String? data = '';
Nation();
factory Nation.fromJson(Map<String, dynamic> json) => $NationFromJson(json);
Map<String, dynamic> toJson() => $NationToJson(this);
@override
String toString() {
return jsonEncode(this);
}
}
@JsonSerializable()
class Education {
dynamic key;
String? data = '';
Education();
factory Education.fromJson(Map<String, dynamic> json) => $EducationFromJson(json);
Map<String, dynamic> toJson() => $EducationToJson(this);
@override
String toString() {
return jsonEncode(this);
}
}
@JsonSerializable()
class PositionStatus {
dynamic key;
String? data = '';
PositionStatus();
factory PositionStatus.fromJson(Map<String, dynamic> json) => $PositionStatusFromJson(json);
Map<String, dynamic> toJson() => $PositionStatusToJson(this);
@override
String toString() {
return jsonEncode(this);
}
}