TimeTable.fromJson constructor

TimeTable.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory TimeTable.fromJson(Map<String, dynamic> json) {
  return TimeTable(
    timeTableId: json['TimeTableId'],
    name: json['Name'],
    onDutyTime: json['OnDutyTime'],
    offDutyTime: json['OffDutyTime'],
    lateTime: json['LateTime'],
    leavedEarly: json['LeavedEarly'],
    beginningIn: json['BeginningIn'],
    endingIn: json['EndingIn'],
    beginingOut: json['BeginingOut'],
    endingOut: json['EndingOut'],
    countWork: json['CountWork'],
    countMinute: json['CountMiniute'],
    note: json['Note'],
    userAdd: json['UserAdd'],
    userEdit: json['UserEdit'],
    dateAdd: json['DateAdd'],
    dateEdit: json['DateEdit'],
    timetableRangeId: json['timetable_range_id'],
  );
}