second commit
This commit is contained in:
@@ -0,0 +1,161 @@
|
||||
class CreateDelivery {
|
||||
int? deliveryid;
|
||||
int? applocationid;
|
||||
int? partnerid;
|
||||
int? tenantid;
|
||||
int? locationid;
|
||||
int? configid;
|
||||
int? moduleid;
|
||||
int? userid;
|
||||
int? orderheaderid;
|
||||
int? categoryid;
|
||||
int? subcategoryid;
|
||||
String? orderid;
|
||||
String? deliverydate;
|
||||
String? assigntime;
|
||||
int? orderamount;
|
||||
int? itemcount;
|
||||
String? ordernotes;
|
||||
String? orderstatus;
|
||||
int? customerid;
|
||||
String? pickupcustomer;
|
||||
String? pickupcontactno;
|
||||
int? pickuplocationid;
|
||||
String? pickupaddress;
|
||||
String? pickuplocation;
|
||||
String? pickuplat;
|
||||
String? pickuplon;
|
||||
int? deliverycustomerid;
|
||||
String? deliverycustomer;
|
||||
String? deliverycontactno;
|
||||
int? deliverylocationid;
|
||||
String? deliveryaddress;
|
||||
String? deliverylocation;
|
||||
String? droplat;
|
||||
String? droplon;
|
||||
String? kms;
|
||||
double? deliverycharges;
|
||||
int? paymenttype;
|
||||
|
||||
CreateDelivery(
|
||||
{this.deliveryid,
|
||||
this.applocationid,
|
||||
this.partnerid,
|
||||
this.tenantid,
|
||||
this.locationid,
|
||||
this.configid,
|
||||
this.moduleid,
|
||||
this.userid,
|
||||
this.orderheaderid,
|
||||
this.categoryid,
|
||||
this.subcategoryid,
|
||||
this.orderid,
|
||||
this.deliverydate,
|
||||
this.orderamount,
|
||||
this.itemcount,
|
||||
this.ordernotes,
|
||||
this.orderstatus,
|
||||
this.customerid,
|
||||
this.pickupcustomer,
|
||||
this.pickupcontactno,
|
||||
this.pickuplocationid,
|
||||
this.pickupaddress,
|
||||
this.pickuplocation,
|
||||
this.pickuplat,
|
||||
this.pickuplon,
|
||||
this.deliverycustomerid,
|
||||
this.deliverycustomer,
|
||||
this.deliverycontactno,
|
||||
this.deliverylocationid,
|
||||
this.deliveryaddress,
|
||||
this.deliverylocation,
|
||||
this.droplat,
|
||||
this.droplon,
|
||||
this.kms,
|
||||
this.deliverycharges,
|
||||
this.paymenttype,
|
||||
this.assigntime,
|
||||
});
|
||||
|
||||
CreateDelivery.fromJson(Map<String, dynamic> json) {
|
||||
deliveryid = json['deliveryid'];
|
||||
applocationid = json['applocationid'];
|
||||
partnerid = json['Partnerid'];
|
||||
tenantid = json['Tenantid'];
|
||||
locationid = json['Locationid'];
|
||||
configid = json['configid'];
|
||||
moduleid = json['moduleid'];
|
||||
userid = json['userid'];
|
||||
orderheaderid = json['orderheaderid'];
|
||||
categoryid = json['categoryid'];
|
||||
subcategoryid = json['subcategoryid'];
|
||||
orderid = json['orderid'];
|
||||
deliverydate = json['deliverydate'];
|
||||
orderamount = json['orderamount'];
|
||||
itemcount = json['itemcount'];
|
||||
ordernotes = json['ordernotes'];
|
||||
orderstatus = json['orderstatus'];
|
||||
customerid = json['customerid'];
|
||||
pickupcustomer = json['pickupcustomer'];
|
||||
pickupcontactno = json['pickupcontactno'];
|
||||
pickuplocationid = json['pickuplocationid'];
|
||||
pickupaddress = json['pickupaddress'];
|
||||
pickuplocation = json['pickuplocation'];
|
||||
pickuplat = json['pickuplat'];
|
||||
pickuplon = json['pickuplon'];
|
||||
deliverycustomerid = json['deliverycustomerid'];
|
||||
deliverycustomer = json['deliverycustomer'];
|
||||
deliverycontactno = json['deliverycontactno'];
|
||||
deliverylocationid = json['deliverylocationid'];
|
||||
deliveryaddress = json['deliveryaddress'];
|
||||
deliverylocation = json['deliverylocation'];
|
||||
droplat = json['droplat'];
|
||||
droplon = json['droplon'];
|
||||
kms = json['kms'];
|
||||
deliverycharges = json['deliverycharges'];
|
||||
paymenttype = json['paymenttype'];
|
||||
assigntime = json['assigntime'];
|
||||
}
|
||||
|
||||
Map<String, dynamic> toJson() {
|
||||
final Map<String, dynamic> data = new Map<String, dynamic>();
|
||||
data['deliveryid'] = this.deliveryid;
|
||||
data['applocationid'] = this.applocationid;
|
||||
data['Partnerid'] = this.partnerid;
|
||||
data['Tenantid'] = this.tenantid;
|
||||
data['Locationid'] = this.locationid;
|
||||
data['configid'] = this.configid;
|
||||
data['moduleid'] = this.moduleid;
|
||||
data['userid'] = this.userid;
|
||||
data['orderheaderid'] = this.orderheaderid;
|
||||
data['categoryid'] = this.categoryid;
|
||||
data['subcategoryid'] = this.subcategoryid;
|
||||
data['orderid'] = this.orderid;
|
||||
data['deliverydate'] = this.deliverydate;
|
||||
data['orderamount'] = this.orderamount;
|
||||
data['itemcount'] = this.itemcount;
|
||||
data['ordernotes'] = this.ordernotes;
|
||||
data['orderstatus'] = this.orderstatus;
|
||||
data['customerid'] = this.customerid;
|
||||
data['pickupcustomer'] = this.pickupcustomer;
|
||||
data['pickupcontactno'] = this.pickupcontactno;
|
||||
data['pickuplocationid'] = this.pickuplocationid;
|
||||
data['pickupaddress'] = this.pickupaddress;
|
||||
data['pickuplocation'] = this.pickuplocation;
|
||||
data['pickuplat'] = this.pickuplat;
|
||||
data['pickuplon'] = this.pickuplon;
|
||||
data['deliverycustomerid'] = this.deliverycustomerid;
|
||||
data['deliverycustomer'] = this.deliverycustomer;
|
||||
data['deliverycontactno'] = this.deliverycontactno;
|
||||
data['deliverylocationid'] = this.deliverylocationid;
|
||||
data['deliveryaddress'] = this.deliveryaddress;
|
||||
data['deliverylocation'] = this.deliverylocation;
|
||||
data['droplat'] = this.droplat;
|
||||
data['droplon'] = this.droplon;
|
||||
data['kms'] = this.kms;
|
||||
data['deliverycharges'] = this.deliverycharges;
|
||||
data['paymenttype'] = this.paymenttype;
|
||||
data['assigntime'] = this.assigntime;
|
||||
return data;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user