second commit

This commit is contained in:
Anbarasu
2026-05-27 10:35:09 +05:30
parent c53794c04c
commit 1435ac47b0
501 changed files with 52818 additions and 0 deletions

View File

@@ -0,0 +1,184 @@
class GetRiderPoolsModel {
int? code;
List<GetRiderDetails>? details;
String? message;
bool? status;
GetRiderPoolsModel({this.code, this.details, this.message, this.status});
GetRiderPoolsModel.fromJson(Map<String, dynamic> json) {
code = json['code'];
if (json['details'] != null) {
details = <GetRiderDetails>[];
json['details'].forEach((v) {
details!.add(new GetRiderDetails.fromJson(v));
});
}
message = json['message'];
status = json['status'];
}
Map<String, dynamic> toJson() {
final Map<String, dynamic> data = new Map<String, dynamic>();
data['code'] = this.code;
if (this.details != null) {
data['details'] = this.details!.map((v) => v.toJson()).toList();
}
data['message'] = this.message;
data['status'] = this.status;
return data;
}
}
class GetRiderDetails {
int? userid;
String? authname;
int? configid;
int? authmode;
int? roleid;
String? firstname;
String? lastname;
String? fullname;
String? password;
String? email;
String? contactno;
String? address;
String? suburb;
String? city;
String? state;
String? postcode;
String? userfcmtoken;
int? pin;
int? partnerid;
String? identificationno;
String? vehiclename;
String? vehicleno;
String? licenseno;
String? insoranceno;
String? insurancedate;
int? shiftid;
String? starttime;
String? endtime;
int? shifthours;
double? basefare;
double? additionalcharges;
int? orders;
double? fuelcharge;
String? logdate;
String? status;
GetRiderDetails(
{this.userid,
this.authname,
this.configid,
this.authmode,
this.roleid,
this.firstname,
this.lastname,
this.fullname,
this.password,
this.email,
this.contactno,
this.address,
this.suburb,
this.city,
this.state,
this.postcode,
this.userfcmtoken,
this.pin,
this.partnerid,
this.identificationno,
this.vehiclename,
this.vehicleno,
this.licenseno,
this.insoranceno,
this.insurancedate,
this.shiftid,
this.starttime,
this.endtime,
this.shifthours,
this.basefare,
this.additionalcharges,
this.orders,
this.fuelcharge,
this.logdate,
this.status});
GetRiderDetails.fromJson(Map<String, dynamic> json) {
userid = json['userid'];
authname = json['authname'];
configid = json['configid'];
authmode = json['authmode'];
roleid = json['roleid'];
firstname = json['firstname'];
lastname = json['lastname'];
fullname = json['fullname'];
password = json['password'];
email = json['email'];
contactno = json['contactno'];
address = json['address'];
suburb = json['suburb'];
city = json['city'];
state = json['state'];
postcode = json['postcode'];
userfcmtoken = json['userfcmtoken'];
pin = json['pin'];
partnerid = json['partnerid'];
identificationno = json['identificationno'];
vehiclename = json['vehiclename'];
vehicleno = json['vehicleno'];
licenseno = json['licenseno'];
insoranceno = json['insoranceno'];
insurancedate = json['insurancedate'];
shiftid = json['shiftid'];
starttime = json['starttime'];
endtime = json['endtime'];
shifthours = json['shifthours'];
basefare = json['basefare'].toDouble();
additionalcharges = json['additionalcharges'].toDouble();
orders = json['orders'];
fuelcharge = json['fuelcharge'].toDouble();
logdate = json['logdate'];
status = json['status'];
}
Map<String, dynamic> toJson() {
final Map<String, dynamic> data = new Map<String, dynamic>();
data['userid'] = this.userid;
data['authname'] = this.authname;
data['configid'] = this.configid;
data['authmode'] = this.authmode;
data['roleid'] = this.roleid;
data['firstname'] = this.firstname;
data['lastname'] = this.lastname;
data['fullname'] = this.fullname;
data['password'] = this.password;
data['email'] = this.email;
data['contactno'] = this.contactno;
data['address'] = this.address;
data['suburb'] = this.suburb;
data['city'] = this.city;
data['state'] = this.state;
data['postcode'] = this.postcode;
data['userfcmtoken'] = this.userfcmtoken;
data['pin'] = this.pin;
data['partnerid'] = this.partnerid;
data['identificationno'] = this.identificationno;
data['vehiclename'] = this.vehiclename;
data['vehicleno'] = this.vehicleno;
data['licenseno'] = this.licenseno;
data['insoranceno'] = this.insoranceno;
data['insurancedate'] = this.insurancedate;
data['shiftid'] = this.shiftid;
data['starttime'] = this.starttime;
data['endtime'] = this.endtime;
data['shifthours'] = this.shifthours;
data['basefare'] = this.basefare;
data['additionalcharges'] = this.additionalcharges;
data['orders'] = this.orders;
data['fuelcharge'] = this.fuelcharge;
data['logdate'] = this.logdate;
data['status'] = this.status;
return data;
}
}