2023-09-15 16:04:11 +08:00
|
|
|
|
2024-01-23 17:29:18 +08:00
|
|
|
class CheckingInAddStaffSelectKeyEntity {
|
2023-09-15 16:04:11 +08:00
|
|
|
|
2024-01-23 17:29:18 +08:00
|
|
|
CheckingInAddStaffSelectKeyEntity(
|
2023-09-15 16:04:11 +08:00
|
|
|
{this.errorCode, this.description, this.errorMsg, this.data});
|
|
|
|
|
|
2024-01-23 17:29:18 +08:00
|
|
|
CheckingInAddStaffSelectKeyEntity.fromJson(Map<String, dynamic> json) {
|
2023-09-15 16:04:11 +08:00
|
|
|
errorCode = json['errorCode'];
|
|
|
|
|
description = json['description'];
|
|
|
|
|
errorMsg = json['errorMsg'];
|
|
|
|
|
if (json['data'] != null) {
|
|
|
|
|
data = <CheckingInAddStaffKeyEntity>[];
|
|
|
|
|
json['data'].forEach((v) {
|
|
|
|
|
data!.add(CheckingInAddStaffKeyEntity.fromJson(v));
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
}
|
2024-06-07 10:53:24 +08:00
|
|
|
int? errorCode;
|
|
|
|
|
String? description;
|
|
|
|
|
String? errorMsg;
|
|
|
|
|
List<CheckingInAddStaffKeyEntity>? data;
|
2023-09-15 16:04:11 +08:00
|
|
|
|
|
|
|
|
Map<String, dynamic> toJson() {
|
|
|
|
|
final Map<String, dynamic> data = <String, dynamic>{};
|
|
|
|
|
data['errorCode'] = errorCode;
|
|
|
|
|
data['description'] = description;
|
|
|
|
|
data['errorMsg'] = errorMsg;
|
|
|
|
|
if (this.data != null) {
|
|
|
|
|
data['data'] = this.data!.map((v) => v.toJson()).toList();
|
|
|
|
|
}
|
|
|
|
|
return data;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
class CheckingInAddStaffKeyEntity {
|
|
|
|
|
|
|
|
|
|
CheckingInAddStaffKeyEntity({this.attendanceWay, this.staffName});
|
|
|
|
|
|
|
|
|
|
CheckingInAddStaffKeyEntity.fromJson(Map<String, dynamic> json) {
|
|
|
|
|
attendanceWay = json['attendanceWay'];
|
|
|
|
|
staffName = json['staffName'];
|
|
|
|
|
}
|
2024-06-07 10:53:24 +08:00
|
|
|
String? attendanceWay;
|
|
|
|
|
String? staffName;
|
2023-09-15 16:04:11 +08:00
|
|
|
|
|
|
|
|
Map<String, dynamic> toJson() {
|
|
|
|
|
final Map<String, dynamic> data = <String, dynamic>{};
|
|
|
|
|
data['attendanceWay'] = attendanceWay;
|
|
|
|
|
data['staffName'] = staffName;
|
|
|
|
|
return data;
|
|
|
|
|
}
|
2024-01-23 17:29:18 +08:00
|
|
|
}
|