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.
diplomatic-quarter/lib/models/Appointments/laser_body_parts.dart

65 lines
1.8 KiB
Dart

class LaserBodyPart {
int id;
int category;
String bodyPart;
bool fullBoadyPart;
bool isRetouch;
String timeDuration;
String bodyPartN;
bool isActive;
String mappingCode;
int procedureID;
int orderNum;
String categoryName;
String categoryNameN;
LaserBodyPart(
{this.id,
this.category,
this.bodyPart,
this.fullBoadyPart,
this.isRetouch,
this.timeDuration,
this.bodyPartN,
this.isActive,
this.mappingCode,
this.procedureID,
this.orderNum,
this.categoryName,
this.categoryNameN});
LaserBodyPart.fromJson(Map<String, dynamic> json) {
id = json['Id'];
category = json['Category'];
bodyPart = json['BodyPart'];
fullBoadyPart = json['FullBoadyPart'];
isRetouch = json['IsRetouch'];
timeDuration = json['TimeDuration'];
bodyPartN = json['BodyPartN'];
isActive = json['IsActive'];
mappingCode = json['MappingCode'];
procedureID = json['ProcedureID'];
orderNum = json['OrderNum'];
categoryName = json['CategoryName'];
categoryNameN = json['CategoryNameN'];
}
Map<String, dynamic> toJson() {
final Map<String, dynamic> data = new Map<String, dynamic>();
data['Id'] = this.id;
data['Category'] = this.category;
data['BodyPart'] = this.bodyPart;
data['FullBoadyPart'] = this.fullBoadyPart;
data['IsRetouch'] = this.isRetouch;
data['TimeDuration'] = this.timeDuration;
data['BodyPartN'] = this.bodyPartN;
data['IsActive'] = this.isActive;
data['MappingCode'] = this.mappingCode;
data['ProcedureID'] = this.procedureID;
data['OrderNum'] = this.orderNum;
data['CategoryName'] = this.categoryName;
data['CategoryNameN'] = this.categoryNameN;
return data;
}
}