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.
mohemm-flutter-app/lib/models/mowadhafhi/get_section_topics.dart

61 lines
1.8 KiB
Dart

class GetSectionTopics {
int? departmentId;
String? departmentName;
String? projectCode;
int? projectDepartmentId;
int? projectId;
String? projectName;
int? sectionId;
String? sectionName;
int? sectionTopicId;
int? tatInHours;
int? topicId;
String? topicName;
GetSectionTopics(
{this.departmentId,
this.departmentName,
this.projectCode,
this.projectDepartmentId,
this.projectId,
this.projectName,
this.sectionId,
this.sectionName,
this.sectionTopicId,
this.tatInHours,
this.topicId,
this.topicName});
GetSectionTopics.fromJson(Map<String, dynamic> json) {
departmentId = json['departmentId'];
departmentName = json['departmentName'];
projectCode = json['projectCode'];
projectDepartmentId = json['projectDepartmentId'];
projectId = json['projectId'];
projectName = json['projectName'];
sectionId = json['sectionId'];
sectionName = json['sectionName'];
sectionTopicId = json['sectionTopicId'];
tatInHours = json['tatInHours'];
topicId = json['topicId'];
topicName = json['topicName'];
}
Map<String, dynamic> toJson() {
Map<String, dynamic> data = new Map<String, dynamic>();
data['departmentId'] = this.departmentId;
data['departmentName'] = this.departmentName;
data['projectCode'] = this.projectCode;
data['projectDepartmentId'] = this.projectDepartmentId;
data['projectId'] = this.projectId;
data['projectName'] = this.projectName;
data['sectionId'] = this.sectionId;
data['sectionName'] = this.sectionName;
data['sectionTopicId'] = this.sectionTopicId;
data['tatInHours'] = this.tatInHours;
data['topicId'] = this.topicId;
data['topicName'] = this.topicName;
return data;
}
}