a,领锁,点击+号时,如果获取网络时间失败,不进入下一页,提示必须联网 b. 开锁时:有网络时间则同步,无网络则不同步时间 c. 同步时间功能:必须有网才同步时间,确定和通通锁不一致 2、修改登录、注册、修改密码选择跟当前ip不是用一个国家的时候,弹窗提示
70 lines
1.8 KiB
Dart
Executable File
70 lines
1.8 KiB
Dart
Executable File
|
|
class CheckingInSetEntity {
|
|
|
|
CheckingInSetEntity(
|
|
{this.errorCode, this.description, this.errorMsg, this.data});
|
|
|
|
CheckingInSetEntity.fromJson(Map<String, dynamic> json) {
|
|
errorCode = json['errorCode'];
|
|
description = json['description'];
|
|
errorMsg = json['errorMsg'];
|
|
data = json['data'] != null ? CheckingInSetInfo.fromJson(json['data']) : null;
|
|
}
|
|
int? errorCode;
|
|
String? description;
|
|
String? errorMsg;
|
|
CheckingInSetInfo? data;
|
|
|
|
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!.toJson();
|
|
}
|
|
return data;
|
|
}
|
|
}
|
|
|
|
class CheckingInSetInfo {
|
|
|
|
CheckingInSetInfo(
|
|
{this.staffNum,
|
|
this.workEndTime,
|
|
this.attendanceType,
|
|
this.companyId,
|
|
this.companyName,
|
|
this.workStartTime,
|
|
this.workDay});
|
|
|
|
CheckingInSetInfo.fromJson(Map<String, dynamic> json) {
|
|
staffNum = json['staffNum'];
|
|
workEndTime = json['workEndTime'];
|
|
attendanceType = json['attendanceType'];
|
|
companyId = json['companyId'];
|
|
companyName = json['companyName'];
|
|
workStartTime = json['workStartTime'];
|
|
workDay = json['workDay'].cast<int>();
|
|
}
|
|
int? staffNum;
|
|
int? workEndTime;
|
|
int? attendanceType;
|
|
int? companyId;
|
|
String? companyName;
|
|
int? workStartTime;
|
|
List<int>? workDay;
|
|
|
|
Map<String, dynamic> toJson() {
|
|
final Map<String, dynamic> data = <String, dynamic>{};
|
|
data['staffNum'] = staffNum;
|
|
data['workEndTime'] = workEndTime;
|
|
data['attendanceType'] = attendanceType;
|
|
data['companyId'] = companyId;
|
|
data['companyName'] = companyName;
|
|
data['workStartTime'] = workStartTime;
|
|
data['workDay'] = workDay;
|
|
return data;
|
|
}
|
|
}
|