Updates in Ambulance Request & Covid test
parent
db128e5091
commit
5009e48f64
@ -1,79 +1,56 @@
|
|||||||
import 'package:diplomaticquarterapp/uitl/date_uitl.dart';
|
|
||||||
class PatientERTransportationMethod {
|
class PatientERTransportationMethod {
|
||||||
dynamic id;
|
int id;
|
||||||
DateTime createDate;
|
String serviceID;
|
||||||
DateTime lastEditDate;
|
int orderServiceID;
|
||||||
dynamic createdBy;
|
String text;
|
||||||
dynamic lastEditBy;
|
String textN;
|
||||||
bool isActive;
|
|
||||||
String title;
|
|
||||||
String titleAR;
|
|
||||||
dynamic price;
|
dynamic price;
|
||||||
dynamic isDefault;
|
dynamic priceVAT;
|
||||||
dynamic visibility;
|
dynamic priceTotal;
|
||||||
dynamic durationId;
|
bool isEnabled;
|
||||||
String description;
|
int orderId;
|
||||||
String descriptionAR;
|
int quantity;
|
||||||
dynamic totalPrice;
|
|
||||||
dynamic vAT;
|
|
||||||
|
|
||||||
PatientERTransportationMethod(
|
PatientERTransportationMethod(
|
||||||
{
|
{this.id,
|
||||||
this.id,
|
this.serviceID,
|
||||||
this.createDate,
|
this.orderServiceID,
|
||||||
this.lastEditDate,
|
this.text,
|
||||||
this.createdBy,
|
this.textN,
|
||||||
this.lastEditBy,
|
|
||||||
this.isActive,
|
|
||||||
this.title,
|
|
||||||
this.titleAR,
|
|
||||||
this.price,
|
this.price,
|
||||||
this.isDefault,
|
this.priceVAT,
|
||||||
this.visibility,
|
this.priceTotal,
|
||||||
this.durationId,
|
this.isEnabled,
|
||||||
this.description,
|
this.orderId,
|
||||||
this.descriptionAR,
|
this.quantity});
|
||||||
this.totalPrice,
|
|
||||||
this.vAT});
|
|
||||||
|
|
||||||
PatientERTransportationMethod.fromJson(
|
PatientERTransportationMethod.fromJson(Map<String, dynamic> json) {
|
||||||
Map<String, dynamic> json) {
|
id = json['id'];
|
||||||
id = json['Id'];
|
serviceID = json['serviceID'];
|
||||||
createDate = DateUtil.convertStringToDate(json['CreateDate']);
|
orderServiceID = json['orderServiceID'];
|
||||||
lastEditDate = DateUtil.convertStringToDate(json['LastEditDate']);
|
text = json['text'];
|
||||||
createdBy = json['CreatedBy'];
|
textN = json['textN'];
|
||||||
lastEditBy = json['LastEditBy'];
|
price = json['price'];
|
||||||
isActive = json['IsActive'];
|
priceVAT = json['priceVAT'];
|
||||||
title = json['Title'];
|
priceTotal = json['priceTotal'];
|
||||||
titleAR = json['TitleAR'];
|
isEnabled = json['isEnabled'];
|
||||||
price = json['Price'];
|
orderId = json['orderId'];
|
||||||
isDefault = json['isDefault'];
|
quantity = json['quantity'];
|
||||||
visibility = json['Visibility'];
|
|
||||||
durationId = json['DurationId'];
|
|
||||||
description = json['Description'];
|
|
||||||
descriptionAR = json['DescriptionAR'];
|
|
||||||
totalPrice = json['TotalPrice'];
|
|
||||||
vAT = json['VAT'];
|
|
||||||
}
|
}
|
||||||
|
|
||||||
Map<String, dynamic> toJson() {
|
Map<String, dynamic> toJson() {
|
||||||
final Map<String, dynamic> data = new Map<String, dynamic>();
|
final Map<String, dynamic> data = new Map<String, dynamic>();
|
||||||
data['Id'] = this.id;
|
data['id'] = this.id;
|
||||||
data['CreateDate'] = this.createDate;
|
data['serviceID'] = this.serviceID;
|
||||||
data['LastEditDate'] = this.lastEditDate;
|
data['orderServiceID'] = this.orderServiceID;
|
||||||
data['CreatedBy'] = this.createdBy;
|
data['text'] = this.text;
|
||||||
data['LastEditBy'] = this.lastEditBy;
|
data['textN'] = this.textN;
|
||||||
data['IsActive'] = this.isActive;
|
data['price'] = this.price;
|
||||||
data['Title'] = this.title;
|
data['priceVAT'] = this.priceVAT;
|
||||||
data['TitleAR'] = this.titleAR;
|
data['priceTotal'] = this.priceTotal;
|
||||||
data['Price'] = this.price;
|
data['isEnabled'] = this.isEnabled;
|
||||||
data['isDefault'] = this.isDefault;
|
data['orderId'] = this.orderId;
|
||||||
data['Visibility'] = this.visibility;
|
data['quantity'] = this.quantity;
|
||||||
data['DurationId'] = this.durationId;
|
|
||||||
data['Description'] = this.description;
|
|
||||||
data['DescriptionAR'] = this.descriptionAR;
|
|
||||||
data['TotalPrice'] = this.totalPrice;
|
|
||||||
data['VAT'] = this.vAT;
|
|
||||||
return data;
|
return data;
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue