36 lines
1.0 KiB
Dart
36 lines
1.0 KiB
Dart
class CheckPresensiJamModel {
|
|
String? status;
|
|
String? message;
|
|
String? jamClockIn;
|
|
String? jamClockOut;
|
|
String? isAbsenClockIn;
|
|
String? isAbsenClockOut;
|
|
|
|
CheckPresensiJamModel(
|
|
{this.status,
|
|
this.message,
|
|
this.jamClockIn,
|
|
this.jamClockOut,
|
|
this.isAbsenClockIn,
|
|
this.isAbsenClockOut});
|
|
|
|
CheckPresensiJamModel.fromJson(Map<String, dynamic> json) {
|
|
status = json['status'];
|
|
message = json['message'];
|
|
jamClockIn = json['jam_clock_in'];
|
|
jamClockOut = json['jam_clock_out'];
|
|
isAbsenClockIn = json['is_absen_clock_in'];
|
|
isAbsenClockOut = json['is_absen_clock_out'];
|
|
}
|
|
|
|
Map<String, dynamic> toJson() {
|
|
final Map<String, dynamic> data = new Map<String, dynamic>();
|
|
data['status'] = this.status;
|
|
data['message'] = this.message;
|
|
data['jam_clock_in'] = this.jamClockIn;
|
|
data['jam_clock_out'] = this.jamClockOut;
|
|
data['is_absen_clock_in'] = this.isAbsenClockIn;
|
|
data['is_absen_clock_out'] = this.isAbsenClockOut;
|
|
return data;
|
|
}
|
|
} |