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.
85 lines
1.8 KiB
85 lines
1.8 KiB
1 month ago
|
import 'package:json_annotation/json_annotation.dart';
|
||
|
|
||
|
part 'clerk_manage.g.dart';
|
||
|
|
||
|
@JsonSerializable(explicitToJson: true)
|
||
|
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);
|
||
|
}
|
||
|
|
||
|
@JsonSerializable(explicitToJson: true)
|
||
|
class Sex {
|
||
|
String? desc = '';
|
||
|
String? code = '';
|
||
|
|
||
|
Sex();
|
||
|
|
||
|
factory Sex.fromJson(Map<String, dynamic> json) => _$SexFromJson(json);
|
||
|
|
||
|
Map<String, dynamic> toJson() => _$SexToJson(this);
|
||
|
}
|
||
|
|
||
|
@JsonSerializable(explicitToJson: true)
|
||
|
class Nation {
|
||
|
dynamic key;
|
||
|
String? data = '';
|
||
|
|
||
|
Nation();
|
||
|
|
||
|
factory Nation.fromJson(Map<String, dynamic> json) => _$NationFromJson(json);
|
||
|
|
||
|
Map<String, dynamic> toJson() => _$NationToJson(this);
|
||
|
}
|
||
|
|
||
|
@JsonSerializable(explicitToJson: true)
|
||
|
class Education {
|
||
|
dynamic key;
|
||
|
String? data = '';
|
||
|
|
||
|
Education();
|
||
|
|
||
|
factory Education.fromJson(Map<String, dynamic> json) => _$EducationFromJson(json);
|
||
|
|
||
|
Map<String, dynamic> toJson() => _$EducationToJson(this);
|
||
|
}
|
||
|
|
||
|
@JsonSerializable(explicitToJson: true)
|
||
|
class PositionStatus {
|
||
|
dynamic key;
|
||
|
String? data = '';
|
||
|
|
||
|
PositionStatus();
|
||
|
|
||
|
factory PositionStatus.fromJson(Map<String, dynamic> json) => _$PositionStatusFromJson(json);
|
||
|
|
||
|
Map<String, dynamic> toJson() => _$PositionStatusToJson(this);
|
||
|
}
|