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