You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
61 lines
1.6 KiB
Dart
61 lines
1.6 KiB
Dart
class GetMealsScheduleResponseModel {
|
|
int? scheduleID;
|
|
int? mealID;
|
|
String? description;
|
|
String? descriptionN;
|
|
int? weekID;
|
|
String? weekDescription;
|
|
String? weekDescriptionN;
|
|
String? tAT;
|
|
int? dietTypeID;
|
|
int? dayID;
|
|
bool? isShow;
|
|
String? tATTime;
|
|
|
|
GetMealsScheduleResponseModel(
|
|
{this.scheduleID,
|
|
this.mealID,
|
|
this.description,
|
|
this.descriptionN,
|
|
this.weekID,
|
|
this.weekDescription,
|
|
this.weekDescriptionN,
|
|
this.tAT,
|
|
this.dietTypeID,
|
|
this.dayID,
|
|
this.isShow,
|
|
this.tATTime});
|
|
|
|
GetMealsScheduleResponseModel.fromJson(Map<String, dynamic> json) {
|
|
scheduleID = json['ScheduleID'];
|
|
mealID = json['MealID'];
|
|
description = json['Description'];
|
|
descriptionN = json['DescriptionN'];
|
|
weekID = json['WeekID'];
|
|
weekDescription = json['WeekDescription'];
|
|
weekDescriptionN = json['WeekDescriptionN'];
|
|
tAT = json['TAT'];
|
|
dietTypeID = json['DietTypeID'];
|
|
dayID = json['DayID'];
|
|
isShow = json['IsShow'];
|
|
tATTime = json['TATTime'];
|
|
}
|
|
|
|
Map<String, dynamic> toJson() {
|
|
final Map<String, dynamic> data = new Map<String, dynamic>();
|
|
data['ScheduleID'] = this.scheduleID;
|
|
data['MealID'] = this.mealID;
|
|
data['Description'] = this.description;
|
|
data['DescriptionN'] = this.descriptionN;
|
|
data['WeekID'] = this.weekID;
|
|
data['WeekDescription'] = this.weekDescription;
|
|
data['WeekDescriptionN'] = this.weekDescriptionN;
|
|
data['TAT'] = this.tAT;
|
|
data['DietTypeID'] = this.dietTypeID;
|
|
data['DayID'] = this.dayID;
|
|
data['IsShow'] = this.isShow;
|
|
data['TATTime'] = this.tATTime;
|
|
return data;
|
|
}
|
|
}
|