This commit is contained in:
Manasit.K
2024-12-12 10:12:19 +07:00
parent 43c32ef6cf
commit ed510b00d1
52 changed files with 1256 additions and 1027 deletions

View File

@@ -0,0 +1,73 @@
class MenuIconModel {
String? iconUid;
String? name;
String? link;
String? description;
String? fileUrl;
String? fileName;
bool? isUse;
int? statusId;
var createdBy;
var createdDatetime;
var updatedBy;
var updatedDatetime;
var search;
var ownerAgencyUid;
int? localID = -1;
String? token;
MenuIconModel(
{this.iconUid,
this.name,
this.link,
this.description,
this.fileUrl,
this.fileName,
this.isUse,
this.statusId,
this.createdBy,
this.createdDatetime,
this.updatedBy,
this.updatedDatetime,
this.search,
this.ownerAgencyUid,
this.token,
this.localID});
MenuIconModel.fromJson(Map<String, dynamic> json) {
iconUid = json['icon_uid'];
name = json['name'];
link = json['link'];
description = json['description'];
fileUrl = json['file_url'];
fileName = json['file_name'];
isUse = json['is_use'];
statusId = json['status_id'];
createdBy = json['created_by'];
createdDatetime = json['created_datetime'];
updatedBy = json['updated_by'];
updatedDatetime = json['updated_datetime'];
search = json['search'];
ownerAgencyUid = json['owner_agency_uid'];
token = json['secret_token'];
}
Map<String, dynamic> toJson() {
final Map<String, dynamic> data = new Map<String, dynamic>();
data['icon_uid'] = this.iconUid;
data['name'] = this.name;
data['link'] = this.link;
data['description'] = this.description;
data['file_url'] = this.fileUrl;
data['file_name'] = this.fileName;
data['is_use'] = this.isUse;
data['status_id'] = this.statusId;
data['created_by'] = this.createdBy;
data['created_datetime'] = this.createdDatetime;
data['updated_by'] = this.updatedBy;
data['updated_datetime'] = this.updatedDatetime;
data['search'] = this.search;
data['owner_agency_uid'] = this.ownerAgencyUid;
return data;
}
}