|
@@ -0,0 +1,889 @@
|
|
|
|
+import 'package:domain/generated/json/base/json_convert_content.dart';
|
|
|
|
+import 'package:domain/entity/response/uk_job_list_detail_entity.dart';
|
|
|
|
+
|
|
|
|
+UkJobListDetailEntity $UkJobListDetailEntityFromJson(
|
|
|
|
+ Map<String, dynamic> json) {
|
|
|
|
+ final UkJobListDetailEntity ukJobListDetailEntity = UkJobListDetailEntity();
|
|
|
|
+ final UkJobListDetailRow? row = jsonConvert.convert<UkJobListDetailRow>(
|
|
|
|
+ json['row']);
|
|
|
|
+ if (row != null) {
|
|
|
|
+ ukJobListDetailEntity.row = row;
|
|
|
|
+ }
|
|
|
|
+ final int? jobId = jsonConvert.convert<int>(json['job_id']);
|
|
|
|
+ if (jobId != null) {
|
|
|
|
+ ukJobListDetailEntity.jobId = jobId;
|
|
|
|
+ }
|
|
|
|
+ final String? jobTitle = jsonConvert.convert<String>(json['job_title']);
|
|
|
|
+ if (jobTitle != null) {
|
|
|
|
+ ukJobListDetailEntity.jobTitle = jobTitle;
|
|
|
|
+ }
|
|
|
|
+ final int? needNum = jsonConvert.convert<int>(json['need_num']);
|
|
|
|
+ if (needNum != null) {
|
|
|
|
+ ukJobListDetailEntity.needNum = needNum;
|
|
|
|
+ }
|
|
|
|
+ final int? departmentId = jsonConvert.convert<int>(json['department_id']);
|
|
|
|
+ if (departmentId != null) {
|
|
|
|
+ ukJobListDetailEntity.departmentId = departmentId;
|
|
|
|
+ }
|
|
|
|
+ final String? startTime = jsonConvert.convert<String>(json['start_time']);
|
|
|
|
+ if (startTime != null) {
|
|
|
|
+ ukJobListDetailEntity.startTime = startTime;
|
|
|
|
+ }
|
|
|
|
+ final String? endTime = jsonConvert.convert<String>(json['end_time']);
|
|
|
|
+ if (endTime != null) {
|
|
|
|
+ ukJobListDetailEntity.endTime = endTime;
|
|
|
|
+ }
|
|
|
|
+ final List<
|
|
|
|
+ UkJobListDetailDepartmentList>? departmentList = (json['department_list'] as List<
|
|
|
|
+ dynamic>?)?.map(
|
|
|
|
+ (e) =>
|
|
|
|
+ jsonConvert.convert<UkJobListDetailDepartmentList>(
|
|
|
|
+ e) as UkJobListDetailDepartmentList).toList();
|
|
|
|
+ if (departmentList != null) {
|
|
|
|
+ ukJobListDetailEntity.departmentList = departmentList;
|
|
|
|
+ }
|
|
|
|
+ final List<
|
|
|
|
+ UkJobListDetailCertificateList>? certificateList = (json['certificate_list'] as List<
|
|
|
|
+ dynamic>?)?.map(
|
|
|
|
+ (e) =>
|
|
|
|
+ jsonConvert.convert<UkJobListDetailCertificateList>(
|
|
|
|
+ e) as UkJobListDetailCertificateList).toList();
|
|
|
|
+ if (certificateList != null) {
|
|
|
|
+ ukJobListDetailEntity.certificateList = certificateList;
|
|
|
|
+ }
|
|
|
|
+ final List<
|
|
|
|
+ UkJobListDetailVehicleList>? vehicleList = (json['vehicle_list'] as List<
|
|
|
|
+ dynamic>?)?.map(
|
|
|
|
+ (e) =>
|
|
|
|
+ jsonConvert.convert<UkJobListDetailVehicleList>(
|
|
|
|
+ e) as UkJobListDetailVehicleList).toList();
|
|
|
|
+ if (vehicleList != null) {
|
|
|
|
+ ukJobListDetailEntity.vehicleList = vehicleList;
|
|
|
|
+ }
|
|
|
|
+ final List<
|
|
|
|
+ UkJobListDetailChallenge25List>? challenge25List = (json['challenge_25_list'] as List<
|
|
|
|
+ dynamic>?)?.map(
|
|
|
|
+ (e) =>
|
|
|
|
+ jsonConvert.convert<UkJobListDetailChallenge25List>(
|
|
|
|
+ e) as UkJobListDetailChallenge25List).toList();
|
|
|
|
+ if (challenge25List != null) {
|
|
|
|
+ ukJobListDetailEntity.challenge25List = challenge25List;
|
|
|
|
+ }
|
|
|
|
+ return ukJobListDetailEntity;
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+Map<String, dynamic> $UkJobListDetailEntityToJson(
|
|
|
|
+ UkJobListDetailEntity entity) {
|
|
|
|
+ final Map<String, dynamic> data = <String, dynamic>{};
|
|
|
|
+ data['row'] = entity.row?.toJson();
|
|
|
|
+ data['job_id'] = entity.jobId;
|
|
|
|
+ data['job_title'] = entity.jobTitle;
|
|
|
|
+ data['need_num'] = entity.needNum;
|
|
|
|
+ data['department_id'] = entity.departmentId;
|
|
|
|
+ data['start_time'] = entity.startTime;
|
|
|
|
+ data['end_time'] = entity.endTime;
|
|
|
|
+ data['department_list'] =
|
|
|
|
+ entity.departmentList?.map((v) => v.toJson()).toList();
|
|
|
|
+ data['certificate_list'] =
|
|
|
|
+ entity.certificateList?.map((v) => v.toJson()).toList();
|
|
|
|
+ data['vehicle_list'] = entity.vehicleList?.map((v) => v.toJson()).toList();
|
|
|
|
+ data['challenge_25_list'] =
|
|
|
|
+ entity.challenge25List?.map((v) => v.toJson()).toList();
|
|
|
|
+ return data;
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+extension UkJobListDetailEntityExtension on UkJobListDetailEntity {
|
|
|
|
+ UkJobListDetailEntity copyWith({
|
|
|
|
+ UkJobListDetailRow? row,
|
|
|
|
+ int? jobId,
|
|
|
|
+ String? jobTitle,
|
|
|
|
+ int? needNum,
|
|
|
|
+ int? departmentId,
|
|
|
|
+ String? startTime,
|
|
|
|
+ String? endTime,
|
|
|
|
+ List<UkJobListDetailDepartmentList>? departmentList,
|
|
|
|
+ List<UkJobListDetailCertificateList>? certificateList,
|
|
|
|
+ List<UkJobListDetailVehicleList>? vehicleList,
|
|
|
|
+ List<UkJobListDetailChallenge25List>? challenge25List,
|
|
|
|
+ }) {
|
|
|
|
+ return UkJobListDetailEntity()
|
|
|
|
+ ..row = row ?? this.row
|
|
|
|
+ ..jobId = jobId ?? this.jobId
|
|
|
|
+ ..jobTitle = jobTitle ?? this.jobTitle
|
|
|
|
+ ..needNum = needNum ?? this.needNum
|
|
|
|
+ ..departmentId = departmentId ?? this.departmentId
|
|
|
|
+ ..startTime = startTime ?? this.startTime
|
|
|
|
+ ..endTime = endTime ?? this.endTime
|
|
|
|
+ ..departmentList = departmentList ?? this.departmentList
|
|
|
|
+ ..certificateList = certificateList ?? this.certificateList
|
|
|
|
+ ..vehicleList = vehicleList ?? this.vehicleList
|
|
|
|
+ ..challenge25List = challenge25List ?? this.challenge25List;
|
|
|
|
+ }
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+UkJobListDetailRow $UkJobListDetailRowFromJson(Map<String, dynamic> json) {
|
|
|
|
+ final UkJobListDetailRow ukJobListDetailRow = UkJobListDetailRow();
|
|
|
|
+ final int? jobId = jsonConvert.convert<int>(json['job_id']);
|
|
|
|
+ if (jobId != null) {
|
|
|
|
+ ukJobListDetailRow.jobId = jobId;
|
|
|
|
+ }
|
|
|
|
+ final int? jobPublishAdminId = jsonConvert.convert<int>(
|
|
|
|
+ json['job_publish_admin_id']);
|
|
|
|
+ if (jobPublishAdminId != null) {
|
|
|
|
+ ukJobListDetailRow.jobPublishAdminId = jobPublishAdminId;
|
|
|
|
+ }
|
|
|
|
+ final String? jobPublishAdminRole = jsonConvert.convert<String>(
|
|
|
|
+ json['job_publish_admin_role']);
|
|
|
|
+ if (jobPublishAdminRole != null) {
|
|
|
|
+ ukJobListDetailRow.jobPublishAdminRole = jobPublishAdminRole;
|
|
|
|
+ }
|
|
|
|
+ final int? jobEmployerAdminId = jsonConvert.convert<int>(
|
|
|
|
+ json['job_employer_admin_id']);
|
|
|
|
+ if (jobEmployerAdminId != null) {
|
|
|
|
+ ukJobListDetailRow.jobEmployerAdminId = jobEmployerAdminId;
|
|
|
|
+ }
|
|
|
|
+ final String? jobEmployerCompanyName = jsonConvert.convert<String>(
|
|
|
|
+ json['job_employer_company_name']);
|
|
|
|
+ if (jobEmployerCompanyName != null) {
|
|
|
|
+ ukJobListDetailRow.jobEmployerCompanyName = jobEmployerCompanyName;
|
|
|
|
+ }
|
|
|
|
+ final int? jobRecruiterAdminId = jsonConvert.convert<int>(
|
|
|
|
+ json['job_recruiter_admin_id']);
|
|
|
|
+ if (jobRecruiterAdminId != null) {
|
|
|
|
+ ukJobListDetailRow.jobRecruiterAdminId = jobRecruiterAdminId;
|
|
|
|
+ }
|
|
|
|
+ final String? jobRecruiterAdminName = jsonConvert.convert<String>(
|
|
|
|
+ json['job_recruiter_admin_name']);
|
|
|
|
+ if (jobRecruiterAdminName != null) {
|
|
|
|
+ ukJobListDetailRow.jobRecruiterAdminName = jobRecruiterAdminName;
|
|
|
|
+ }
|
|
|
|
+ final String? jobTitle = jsonConvert.convert<String>(json['job_title']);
|
|
|
|
+ if (jobTitle != null) {
|
|
|
|
+ ukJobListDetailRow.jobTitle = jobTitle;
|
|
|
|
+ }
|
|
|
|
+ final int? jobTitleId = jsonConvert.convert<int>(json['job_title_id']);
|
|
|
|
+ if (jobTitleId != null) {
|
|
|
|
+ ukJobListDetailRow.jobTitleId = jobTitleId;
|
|
|
|
+ }
|
|
|
|
+ final String? jobDescription = jsonConvert.convert<String>(
|
|
|
|
+ json['job_description']);
|
|
|
|
+ if (jobDescription != null) {
|
|
|
|
+ ukJobListDetailRow.jobDescription = jobDescription;
|
|
|
|
+ }
|
|
|
|
+ final String? jobPost = jsonConvert.convert<String>(json['job_post']);
|
|
|
|
+ if (jobPost != null) {
|
|
|
|
+ ukJobListDetailRow.jobPost = jobPost;
|
|
|
|
+ }
|
|
|
|
+ final String? jobImage = jsonConvert.convert<String>(json['job_image']);
|
|
|
|
+ if (jobImage != null) {
|
|
|
|
+ ukJobListDetailRow.jobImage = jobImage;
|
|
|
|
+ }
|
|
|
|
+ final int? locationType = jsonConvert.convert<int>(json['location_type']);
|
|
|
|
+ if (locationType != null) {
|
|
|
|
+ ukJobListDetailRow.locationType = locationType;
|
|
|
|
+ }
|
|
|
|
+ final String? jobAddress = jsonConvert.convert<String>(json['job_address']);
|
|
|
|
+ if (jobAddress != null) {
|
|
|
|
+ ukJobListDetailRow.jobAddress = jobAddress;
|
|
|
|
+ }
|
|
|
|
+ final int? jobAreaMainId = jsonConvert.convert<int>(json['job_area_main_id']);
|
|
|
|
+ if (jobAreaMainId != null) {
|
|
|
|
+ ukJobListDetailRow.jobAreaMainId = jobAreaMainId;
|
|
|
|
+ }
|
|
|
|
+ final int? jobAreaChildId = jsonConvert.convert<int>(
|
|
|
|
+ json['job_area_child_id']);
|
|
|
|
+ if (jobAreaChildId != null) {
|
|
|
|
+ ukJobListDetailRow.jobAreaChildId = jobAreaChildId;
|
|
|
|
+ }
|
|
|
|
+ final int? jobNeedPeopleCount = jsonConvert.convert<int>(
|
|
|
|
+ json['job_need_people_count']);
|
|
|
|
+ if (jobNeedPeopleCount != null) {
|
|
|
|
+ ukJobListDetailRow.jobNeedPeopleCount = jobNeedPeopleCount;
|
|
|
|
+ }
|
|
|
|
+ final String? jobContactName = jsonConvert.convert<String>(
|
|
|
|
+ json['job_contact_name']);
|
|
|
|
+ if (jobContactName != null) {
|
|
|
|
+ ukJobListDetailRow.jobContactName = jobContactName;
|
|
|
|
+ }
|
|
|
|
+ final String? jobContactNo = jsonConvert.convert<String>(
|
|
|
|
+ json['job_contact_no']);
|
|
|
|
+ if (jobContactNo != null) {
|
|
|
|
+ ukJobListDetailRow.jobContactNo = jobContactNo;
|
|
|
|
+ }
|
|
|
|
+ final int? jobStartDate = jsonConvert.convert<int>(json['job_start_date']);
|
|
|
|
+ if (jobStartDate != null) {
|
|
|
|
+ ukJobListDetailRow.jobStartDate = jobStartDate;
|
|
|
|
+ }
|
|
|
|
+ final int? jobEndDate = jsonConvert.convert<int>(json['job_end_date']);
|
|
|
|
+ if (jobEndDate != null) {
|
|
|
|
+ ukJobListDetailRow.jobEndDate = jobEndDate;
|
|
|
|
+ }
|
|
|
|
+ final int? jobHourRate = jsonConvert.convert<int>(json['job_hour_rate']);
|
|
|
|
+ if (jobHourRate != null) {
|
|
|
|
+ ukJobListDetailRow.jobHourRate = jobHourRate;
|
|
|
|
+ }
|
|
|
|
+ final int? employerRate = jsonConvert.convert<int>(json['employer_rate']);
|
|
|
|
+ if (employerRate != null) {
|
|
|
|
+ ukJobListDetailRow.employerRate = employerRate;
|
|
|
|
+ }
|
|
|
|
+ final String? jobNote = jsonConvert.convert<String>(json['job_note']);
|
|
|
|
+ if (jobNote != null) {
|
|
|
|
+ ukJobListDetailRow.jobNote = jobNote;
|
|
|
|
+ }
|
|
|
|
+ final int? jobAddTime = jsonConvert.convert<int>(json['job_add_time']);
|
|
|
|
+ if (jobAddTime != null) {
|
|
|
|
+ ukJobListDetailRow.jobAddTime = jobAddTime;
|
|
|
|
+ }
|
|
|
|
+ final int? jobUpdateTime = jsonConvert.convert<int>(json['job_update_time']);
|
|
|
|
+ if (jobUpdateTime != null) {
|
|
|
|
+ ukJobListDetailRow.jobUpdateTime = jobUpdateTime;
|
|
|
|
+ }
|
|
|
|
+ final int? jobIndustryId = jsonConvert.convert<int>(json['job_industry_id']);
|
|
|
|
+ if (jobIndustryId != null) {
|
|
|
|
+ ukJobListDetailRow.jobIndustryId = jobIndustryId;
|
|
|
|
+ }
|
|
|
|
+ final String? jobIndustryName = jsonConvert.convert<String>(
|
|
|
|
+ json['job_industry_name']);
|
|
|
|
+ if (jobIndustryName != null) {
|
|
|
|
+ ukJobListDetailRow.jobIndustryName = jobIndustryName;
|
|
|
|
+ }
|
|
|
|
+ final int? jobPeopleSex = jsonConvert.convert<int>(json['job_people_sex']);
|
|
|
|
+ if (jobPeopleSex != null) {
|
|
|
|
+ ukJobListDetailRow.jobPeopleSex = jobPeopleSex;
|
|
|
|
+ }
|
|
|
|
+ final String? jobPeopleLanguage = jsonConvert.convert<String>(
|
|
|
|
+ json['job_people_language']);
|
|
|
|
+ if (jobPeopleLanguage != null) {
|
|
|
|
+ ukJobListDetailRow.jobPeopleLanguage = jobPeopleLanguage;
|
|
|
|
+ }
|
|
|
|
+ final String? jobPeopleNationality = jsonConvert.convert<String>(
|
|
|
|
+ json['job_people_nationality']);
|
|
|
|
+ if (jobPeopleNationality != null) {
|
|
|
|
+ ukJobListDetailRow.jobPeopleNationality = jobPeopleNationality;
|
|
|
|
+ }
|
|
|
|
+ final String? jobPeopleAge = jsonConvert.convert<String>(
|
|
|
|
+ json['job_people_age']);
|
|
|
|
+ if (jobPeopleAge != null) {
|
|
|
|
+ ukJobListDetailRow.jobPeopleAge = jobPeopleAge;
|
|
|
|
+ }
|
|
|
|
+ final String? jobLatitude = jsonConvert.convert<String>(json['job_latitude']);
|
|
|
|
+ if (jobLatitude != null) {
|
|
|
|
+ ukJobListDetailRow.jobLatitude = jobLatitude;
|
|
|
|
+ }
|
|
|
|
+ final String? jobLongitude = jsonConvert.convert<String>(
|
|
|
|
+ json['job_longitude']);
|
|
|
|
+ if (jobLongitude != null) {
|
|
|
|
+ ukJobListDetailRow.jobLongitude = jobLongitude;
|
|
|
|
+ }
|
|
|
|
+ final String? jobRequirements = jsonConvert.convert<String>(
|
|
|
|
+ json['job_requirements']);
|
|
|
|
+ if (jobRequirements != null) {
|
|
|
|
+ ukJobListDetailRow.jobRequirements = jobRequirements;
|
|
|
|
+ }
|
|
|
|
+ final String? jobGeolocation = jsonConvert.convert<String>(
|
|
|
|
+ json['job_geolocation']);
|
|
|
|
+ if (jobGeolocation != null) {
|
|
|
|
+ ukJobListDetailRow.jobGeolocation = jobGeolocation;
|
|
|
|
+ }
|
|
|
|
+ final String? jobZip = jsonConvert.convert<String>(json['job_zip']);
|
|
|
|
+ if (jobZip != null) {
|
|
|
|
+ ukJobListDetailRow.jobZip = jobZip;
|
|
|
|
+ }
|
|
|
|
+ final int? jobStatus = jsonConvert.convert<int>(json['job_status']);
|
|
|
|
+ if (jobStatus != null) {
|
|
|
|
+ ukJobListDetailRow.jobStatus = jobStatus;
|
|
|
|
+ }
|
|
|
|
+ final int? jobIsNotify = jsonConvert.convert<int>(json['job_is_notify']);
|
|
|
|
+ if (jobIsNotify != null) {
|
|
|
|
+ ukJobListDetailRow.jobIsNotify = jobIsNotify;
|
|
|
|
+ }
|
|
|
|
+ final dynamic recipientId = json['recipient_id'];
|
|
|
|
+ if (recipientId != null) {
|
|
|
|
+ ukJobListDetailRow.recipientId = recipientId;
|
|
|
|
+ }
|
|
|
|
+ final int? exportSchedulesPdf = jsonConvert.convert<int>(
|
|
|
|
+ json['export_schedules_pdf']);
|
|
|
|
+ if (exportSchedulesPdf != null) {
|
|
|
|
+ ukJobListDetailRow.exportSchedulesPdf = exportSchedulesPdf;
|
|
|
|
+ }
|
|
|
|
+ final int? employerStatus = jsonConvert.convert<int>(json['employer_status']);
|
|
|
|
+ if (employerStatus != null) {
|
|
|
|
+ ukJobListDetailRow.employerStatus = employerStatus;
|
|
|
|
+ }
|
|
|
|
+ final String? confirmSignature = jsonConvert.convert<String>(
|
|
|
|
+ json['confirm_signature']);
|
|
|
|
+ if (confirmSignature != null) {
|
|
|
|
+ ukJobListDetailRow.confirmSignature = confirmSignature;
|
|
|
|
+ }
|
|
|
|
+ final int? confirmTime = jsonConvert.convert<int>(json['confirm_time']);
|
|
|
|
+ if (confirmTime != null) {
|
|
|
|
+ ukJobListDetailRow.confirmTime = confirmTime;
|
|
|
|
+ }
|
|
|
|
+ final dynamic employementStatus = json['employement_status'];
|
|
|
|
+ if (employementStatus != null) {
|
|
|
|
+ ukJobListDetailRow.employementStatus = employementStatus;
|
|
|
|
+ }
|
|
|
|
+ final int? foodCertificateRequired = jsonConvert.convert<int>(
|
|
|
|
+ json['food_certificate_required']);
|
|
|
|
+ if (foodCertificateRequired != null) {
|
|
|
|
+ ukJobListDetailRow.foodCertificateRequired = foodCertificateRequired;
|
|
|
|
+ }
|
|
|
|
+ final int? rsaCertificate = jsonConvert.convert<int>(json['rsa_certificate']);
|
|
|
|
+ if (rsaCertificate != null) {
|
|
|
|
+ ukJobListDetailRow.rsaCertificate = rsaCertificate;
|
|
|
|
+ }
|
|
|
|
+ final int? foodHandler = jsonConvert.convert<int>(json['food_handler']);
|
|
|
|
+ if (foodHandler != null) {
|
|
|
|
+ ukJobListDetailRow.foodHandler = foodHandler;
|
|
|
|
+ }
|
|
|
|
+ final int? topping = jsonConvert.convert<int>(json['topping']);
|
|
|
|
+ if (topping != null) {
|
|
|
|
+ ukJobListDetailRow.topping = topping;
|
|
|
|
+ }
|
|
|
|
+ final dynamic toppingAt = json['topping_at'];
|
|
|
|
+ if (toppingAt != null) {
|
|
|
|
+ ukJobListDetailRow.toppingAt = toppingAt;
|
|
|
|
+ }
|
|
|
|
+ final int? jobIsNotifyThree = jsonConvert.convert<int>(
|
|
|
|
+ json['job_is_notify_three']);
|
|
|
|
+ if (jobIsNotifyThree != null) {
|
|
|
|
+ ukJobListDetailRow.jobIsNotifyThree = jobIsNotifyThree;
|
|
|
|
+ }
|
|
|
|
+ final String? whatsApp = jsonConvert.convert<String>(json['whats_app']);
|
|
|
|
+ if (whatsApp != null) {
|
|
|
|
+ ukJobListDetailRow.whatsApp = whatsApp;
|
|
|
|
+ }
|
|
|
|
+ final int? source = jsonConvert.convert<int>(json['source']);
|
|
|
|
+ if (source != null) {
|
|
|
|
+ ukJobListDetailRow.source = source;
|
|
|
|
+ }
|
|
|
|
+ final int? jobBreakHours = jsonConvert.convert<int>(json['job_break_hours']);
|
|
|
|
+ if (jobBreakHours != null) {
|
|
|
|
+ ukJobListDetailRow.jobBreakHours = jobBreakHours;
|
|
|
|
+ }
|
|
|
|
+ final int? hotelJobId = jsonConvert.convert<int>(json['hotel_job_id']);
|
|
|
|
+ if (hotelJobId != null) {
|
|
|
|
+ ukJobListDetailRow.hotelJobId = hotelJobId;
|
|
|
|
+ }
|
|
|
|
+ final dynamic revisedDate = json['revised_date'];
|
|
|
|
+ if (revisedDate != null) {
|
|
|
|
+ ukJobListDetailRow.revisedDate = revisedDate;
|
|
|
|
+ }
|
|
|
|
+ final int? typhoidVaccine = jsonConvert.convert<int>(json['typhoid_vaccine']);
|
|
|
|
+ if (typhoidVaccine != null) {
|
|
|
|
+ ukJobListDetailRow.typhoidVaccine = typhoidVaccine;
|
|
|
|
+ }
|
|
|
|
+ final int? hide = jsonConvert.convert<int>(json['hide']);
|
|
|
|
+ if (hide != null) {
|
|
|
|
+ ukJobListDetailRow.hide = hide;
|
|
|
|
+ }
|
|
|
|
+ final int? checkStatus = jsonConvert.convert<int>(json['check_status']);
|
|
|
|
+ if (checkStatus != null) {
|
|
|
|
+ ukJobListDetailRow.checkStatus = checkStatus;
|
|
|
|
+ }
|
|
|
|
+ final dynamic checkDate = json['check_date'];
|
|
|
|
+ if (checkDate != null) {
|
|
|
|
+ ukJobListDetailRow.checkDate = checkDate;
|
|
|
|
+ }
|
|
|
|
+ final String? jobUnit = jsonConvert.convert<String>(json['job_unit']);
|
|
|
|
+ if (jobUnit != null) {
|
|
|
|
+ ukJobListDetailRow.jobUnit = jobUnit;
|
|
|
|
+ }
|
|
|
|
+ final int? coDepartmentId = jsonConvert.convert<int>(
|
|
|
|
+ json['co_department_id']);
|
|
|
|
+ if (coDepartmentId != null) {
|
|
|
|
+ ukJobListDetailRow.coDepartmentId = coDepartmentId;
|
|
|
|
+ }
|
|
|
|
+ final int? jobInstantStatus = jsonConvert.convert<int>(
|
|
|
|
+ json['job_instant_status']);
|
|
|
|
+ if (jobInstantStatus != null) {
|
|
|
|
+ ukJobListDetailRow.jobInstantStatus = jobInstantStatus;
|
|
|
|
+ }
|
|
|
|
+ final int? serviceType = jsonConvert.convert<int>(json['service_type']);
|
|
|
|
+ if (serviceType != null) {
|
|
|
|
+ ukJobListDetailRow.serviceType = serviceType;
|
|
|
|
+ }
|
|
|
|
+ final String? agencyRate = jsonConvert.convert<String>(json['agency_rate']);
|
|
|
|
+ if (agencyRate != null) {
|
|
|
|
+ ukJobListDetailRow.agencyRate = agencyRate;
|
|
|
|
+ }
|
|
|
|
+ final String? jobCertificate = jsonConvert.convert<String>(
|
|
|
|
+ json['job_certificate']);
|
|
|
|
+ if (jobCertificate != null) {
|
|
|
|
+ ukJobListDetailRow.jobCertificate = jobCertificate;
|
|
|
|
+ }
|
|
|
|
+ final String? jobVehicle = jsonConvert.convert<String>(json['job_vehicle']);
|
|
|
|
+ if (jobVehicle != null) {
|
|
|
|
+ ukJobListDetailRow.jobVehicle = jobVehicle;
|
|
|
|
+ }
|
|
|
|
+ final int? challenge25 = jsonConvert.convert<int>(json['challenge_25']);
|
|
|
|
+ if (challenge25 != null) {
|
|
|
|
+ ukJobListDetailRow.challenge25 = challenge25;
|
|
|
|
+ }
|
|
|
|
+ final int? toppingAdminId = jsonConvert.convert<int>(
|
|
|
|
+ json['topping_admin_id']);
|
|
|
|
+ if (toppingAdminId != null) {
|
|
|
|
+ ukJobListDetailRow.toppingAdminId = toppingAdminId;
|
|
|
|
+ }
|
|
|
|
+ final int? sourceType = jsonConvert.convert<int>(json['source_type']);
|
|
|
|
+ if (sourceType != null) {
|
|
|
|
+ ukJobListDetailRow.sourceType = sourceType;
|
|
|
|
+ }
|
|
|
|
+ final int? agencyId = jsonConvert.convert<int>(json['agency_id']);
|
|
|
|
+ if (agencyId != null) {
|
|
|
|
+ ukJobListDetailRow.agencyId = agencyId;
|
|
|
|
+ }
|
|
|
|
+ final String? agencyName = jsonConvert.convert<String>(json['agency_name']);
|
|
|
|
+ if (agencyName != null) {
|
|
|
|
+ ukJobListDetailRow.agencyName = agencyName;
|
|
|
|
+ }
|
|
|
|
+ final String? video = jsonConvert.convert<String>(json['video']);
|
|
|
|
+ if (video != null) {
|
|
|
|
+ ukJobListDetailRow.video = video;
|
|
|
|
+ }
|
|
|
|
+ final String? addBy = jsonConvert.convert<String>(json['add_by']);
|
|
|
|
+ if (addBy != null) {
|
|
|
|
+ ukJobListDetailRow.addBy = addBy;
|
|
|
|
+ }
|
|
|
|
+ final String? videoCover = jsonConvert.convert<String>(json['video_cover']);
|
|
|
|
+ if (videoCover != null) {
|
|
|
|
+ ukJobListDetailRow.videoCover = videoCover;
|
|
|
|
+ }
|
|
|
|
+ final int? templateId = jsonConvert.convert<int>(json['template_id']);
|
|
|
|
+ if (templateId != null) {
|
|
|
|
+ ukJobListDetailRow.templateId = templateId;
|
|
|
|
+ }
|
|
|
|
+ final String? client = jsonConvert.convert<String>(json['client']);
|
|
|
|
+ if (client != null) {
|
|
|
|
+ ukJobListDetailRow.client = client;
|
|
|
|
+ }
|
|
|
|
+ final String? otherImage = jsonConvert.convert<String>(json['other_image']);
|
|
|
|
+ if (otherImage != null) {
|
|
|
|
+ ukJobListDetailRow.otherImage = otherImage;
|
|
|
|
+ }
|
|
|
|
+ final String? otherDocument = jsonConvert.convert<String>(
|
|
|
|
+ json['other_document']);
|
|
|
|
+ if (otherDocument != null) {
|
|
|
|
+ ukJobListDetailRow.otherDocument = otherDocument;
|
|
|
|
+ }
|
|
|
|
+ final String? videoText = jsonConvert.convert<String>(json['video_text']);
|
|
|
|
+ if (videoText != null) {
|
|
|
|
+ ukJobListDetailRow.videoText = videoText;
|
|
|
|
+ }
|
|
|
|
+ return ukJobListDetailRow;
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+Map<String, dynamic> $UkJobListDetailRowToJson(UkJobListDetailRow entity) {
|
|
|
|
+ final Map<String, dynamic> data = <String, dynamic>{};
|
|
|
|
+ data['job_id'] = entity.jobId;
|
|
|
|
+ data['job_publish_admin_id'] = entity.jobPublishAdminId;
|
|
|
|
+ data['job_publish_admin_role'] = entity.jobPublishAdminRole;
|
|
|
|
+ data['job_employer_admin_id'] = entity.jobEmployerAdminId;
|
|
|
|
+ data['job_employer_company_name'] = entity.jobEmployerCompanyName;
|
|
|
|
+ data['job_recruiter_admin_id'] = entity.jobRecruiterAdminId;
|
|
|
|
+ data['job_recruiter_admin_name'] = entity.jobRecruiterAdminName;
|
|
|
|
+ data['job_title'] = entity.jobTitle;
|
|
|
|
+ data['job_title_id'] = entity.jobTitleId;
|
|
|
|
+ data['job_description'] = entity.jobDescription;
|
|
|
|
+ data['job_post'] = entity.jobPost;
|
|
|
|
+ data['job_image'] = entity.jobImage;
|
|
|
|
+ data['location_type'] = entity.locationType;
|
|
|
|
+ data['job_address'] = entity.jobAddress;
|
|
|
|
+ data['job_area_main_id'] = entity.jobAreaMainId;
|
|
|
|
+ data['job_area_child_id'] = entity.jobAreaChildId;
|
|
|
|
+ data['job_need_people_count'] = entity.jobNeedPeopleCount;
|
|
|
|
+ data['job_contact_name'] = entity.jobContactName;
|
|
|
|
+ data['job_contact_no'] = entity.jobContactNo;
|
|
|
|
+ data['job_start_date'] = entity.jobStartDate;
|
|
|
|
+ data['job_end_date'] = entity.jobEndDate;
|
|
|
|
+ data['job_hour_rate'] = entity.jobHourRate;
|
|
|
|
+ data['employer_rate'] = entity.employerRate;
|
|
|
|
+ data['job_note'] = entity.jobNote;
|
|
|
|
+ data['job_add_time'] = entity.jobAddTime;
|
|
|
|
+ data['job_update_time'] = entity.jobUpdateTime;
|
|
|
|
+ data['job_industry_id'] = entity.jobIndustryId;
|
|
|
|
+ data['job_industry_name'] = entity.jobIndustryName;
|
|
|
|
+ data['job_people_sex'] = entity.jobPeopleSex;
|
|
|
|
+ data['job_people_language'] = entity.jobPeopleLanguage;
|
|
|
|
+ data['job_people_nationality'] = entity.jobPeopleNationality;
|
|
|
|
+ data['job_people_age'] = entity.jobPeopleAge;
|
|
|
|
+ data['job_latitude'] = entity.jobLatitude;
|
|
|
|
+ data['job_longitude'] = entity.jobLongitude;
|
|
|
|
+ data['job_requirements'] = entity.jobRequirements;
|
|
|
|
+ data['job_geolocation'] = entity.jobGeolocation;
|
|
|
|
+ data['job_zip'] = entity.jobZip;
|
|
|
|
+ data['job_status'] = entity.jobStatus;
|
|
|
|
+ data['job_is_notify'] = entity.jobIsNotify;
|
|
|
|
+ data['recipient_id'] = entity.recipientId;
|
|
|
|
+ data['export_schedules_pdf'] = entity.exportSchedulesPdf;
|
|
|
|
+ data['employer_status'] = entity.employerStatus;
|
|
|
|
+ data['confirm_signature'] = entity.confirmSignature;
|
|
|
|
+ data['confirm_time'] = entity.confirmTime;
|
|
|
|
+ data['employement_status'] = entity.employementStatus;
|
|
|
|
+ data['food_certificate_required'] = entity.foodCertificateRequired;
|
|
|
|
+ data['rsa_certificate'] = entity.rsaCertificate;
|
|
|
|
+ data['food_handler'] = entity.foodHandler;
|
|
|
|
+ data['topping'] = entity.topping;
|
|
|
|
+ data['topping_at'] = entity.toppingAt;
|
|
|
|
+ data['job_is_notify_three'] = entity.jobIsNotifyThree;
|
|
|
|
+ data['whats_app'] = entity.whatsApp;
|
|
|
|
+ data['source'] = entity.source;
|
|
|
|
+ data['job_break_hours'] = entity.jobBreakHours;
|
|
|
|
+ data['hotel_job_id'] = entity.hotelJobId;
|
|
|
|
+ data['revised_date'] = entity.revisedDate;
|
|
|
|
+ data['typhoid_vaccine'] = entity.typhoidVaccine;
|
|
|
|
+ data['hide'] = entity.hide;
|
|
|
|
+ data['check_status'] = entity.checkStatus;
|
|
|
|
+ data['check_date'] = entity.checkDate;
|
|
|
|
+ data['job_unit'] = entity.jobUnit;
|
|
|
|
+ data['co_department_id'] = entity.coDepartmentId;
|
|
|
|
+ data['job_instant_status'] = entity.jobInstantStatus;
|
|
|
|
+ data['service_type'] = entity.serviceType;
|
|
|
|
+ data['agency_rate'] = entity.agencyRate;
|
|
|
|
+ data['job_certificate'] = entity.jobCertificate;
|
|
|
|
+ data['job_vehicle'] = entity.jobVehicle;
|
|
|
|
+ data['challenge_25'] = entity.challenge25;
|
|
|
|
+ data['topping_admin_id'] = entity.toppingAdminId;
|
|
|
|
+ data['source_type'] = entity.sourceType;
|
|
|
|
+ data['agency_id'] = entity.agencyId;
|
|
|
|
+ data['agency_name'] = entity.agencyName;
|
|
|
|
+ data['video'] = entity.video;
|
|
|
|
+ data['add_by'] = entity.addBy;
|
|
|
|
+ data['video_cover'] = entity.videoCover;
|
|
|
|
+ data['template_id'] = entity.templateId;
|
|
|
|
+ data['client'] = entity.client;
|
|
|
|
+ data['other_image'] = entity.otherImage;
|
|
|
|
+ data['other_document'] = entity.otherDocument;
|
|
|
|
+ data['video_text'] = entity.videoText;
|
|
|
|
+ return data;
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+extension UkJobListDetailRowExtension on UkJobListDetailRow {
|
|
|
|
+ UkJobListDetailRow copyWith({
|
|
|
|
+ int? jobId,
|
|
|
|
+ int? jobPublishAdminId,
|
|
|
|
+ String? jobPublishAdminRole,
|
|
|
|
+ int? jobEmployerAdminId,
|
|
|
|
+ String? jobEmployerCompanyName,
|
|
|
|
+ int? jobRecruiterAdminId,
|
|
|
|
+ String? jobRecruiterAdminName,
|
|
|
|
+ String? jobTitle,
|
|
|
|
+ int? jobTitleId,
|
|
|
|
+ String? jobDescription,
|
|
|
|
+ String? jobPost,
|
|
|
|
+ String? jobImage,
|
|
|
|
+ int? locationType,
|
|
|
|
+ String? jobAddress,
|
|
|
|
+ int? jobAreaMainId,
|
|
|
|
+ int? jobAreaChildId,
|
|
|
|
+ int? jobNeedPeopleCount,
|
|
|
|
+ String? jobContactName,
|
|
|
|
+ String? jobContactNo,
|
|
|
|
+ int? jobStartDate,
|
|
|
|
+ int? jobEndDate,
|
|
|
|
+ int? jobHourRate,
|
|
|
|
+ int? employerRate,
|
|
|
|
+ String? jobNote,
|
|
|
|
+ int? jobAddTime,
|
|
|
|
+ int? jobUpdateTime,
|
|
|
|
+ int? jobIndustryId,
|
|
|
|
+ String? jobIndustryName,
|
|
|
|
+ int? jobPeopleSex,
|
|
|
|
+ String? jobPeopleLanguage,
|
|
|
|
+ String? jobPeopleNationality,
|
|
|
|
+ String? jobPeopleAge,
|
|
|
|
+ String? jobLatitude,
|
|
|
|
+ String? jobLongitude,
|
|
|
|
+ String? jobRequirements,
|
|
|
|
+ String? jobGeolocation,
|
|
|
|
+ String? jobZip,
|
|
|
|
+ int? jobStatus,
|
|
|
|
+ int? jobIsNotify,
|
|
|
|
+ dynamic recipientId,
|
|
|
|
+ int? exportSchedulesPdf,
|
|
|
|
+ int? employerStatus,
|
|
|
|
+ String? confirmSignature,
|
|
|
|
+ int? confirmTime,
|
|
|
|
+ dynamic employementStatus,
|
|
|
|
+ int? foodCertificateRequired,
|
|
|
|
+ int? rsaCertificate,
|
|
|
|
+ int? foodHandler,
|
|
|
|
+ int? topping,
|
|
|
|
+ dynamic toppingAt,
|
|
|
|
+ int? jobIsNotifyThree,
|
|
|
|
+ String? whatsApp,
|
|
|
|
+ int? source,
|
|
|
|
+ int? jobBreakHours,
|
|
|
|
+ int? hotelJobId,
|
|
|
|
+ dynamic revisedDate,
|
|
|
|
+ int? typhoidVaccine,
|
|
|
|
+ int? hide,
|
|
|
|
+ int? checkStatus,
|
|
|
|
+ dynamic checkDate,
|
|
|
|
+ String? jobUnit,
|
|
|
|
+ int? coDepartmentId,
|
|
|
|
+ int? jobInstantStatus,
|
|
|
|
+ int? serviceType,
|
|
|
|
+ String? agencyRate,
|
|
|
|
+ String? jobCertificate,
|
|
|
|
+ String? jobVehicle,
|
|
|
|
+ int? challenge25,
|
|
|
|
+ int? toppingAdminId,
|
|
|
|
+ int? sourceType,
|
|
|
|
+ int? agencyId,
|
|
|
|
+ String? agencyName,
|
|
|
|
+ String? video,
|
|
|
|
+ String? addBy,
|
|
|
|
+ String? videoCover,
|
|
|
|
+ int? templateId,
|
|
|
|
+ String? client,
|
|
|
|
+ String? otherImage,
|
|
|
|
+ String? otherDocument,
|
|
|
|
+ String? videoText,
|
|
|
|
+ }) {
|
|
|
|
+ return UkJobListDetailRow()
|
|
|
|
+ ..jobId = jobId ?? this.jobId
|
|
|
|
+ ..jobPublishAdminId = jobPublishAdminId ?? this.jobPublishAdminId
|
|
|
|
+ ..jobPublishAdminRole = jobPublishAdminRole ?? this.jobPublishAdminRole
|
|
|
|
+ ..jobEmployerAdminId = jobEmployerAdminId ?? this.jobEmployerAdminId
|
|
|
|
+ ..jobEmployerCompanyName = jobEmployerCompanyName ??
|
|
|
|
+ this.jobEmployerCompanyName
|
|
|
|
+ ..jobRecruiterAdminId = jobRecruiterAdminId ?? this.jobRecruiterAdminId
|
|
|
|
+ ..jobRecruiterAdminName = jobRecruiterAdminName ??
|
|
|
|
+ this.jobRecruiterAdminName
|
|
|
|
+ ..jobTitle = jobTitle ?? this.jobTitle
|
|
|
|
+ ..jobTitleId = jobTitleId ?? this.jobTitleId
|
|
|
|
+ ..jobDescription = jobDescription ?? this.jobDescription
|
|
|
|
+ ..jobPost = jobPost ?? this.jobPost
|
|
|
|
+ ..jobImage = jobImage ?? this.jobImage
|
|
|
|
+ ..locationType = locationType ?? this.locationType
|
|
|
|
+ ..jobAddress = jobAddress ?? this.jobAddress
|
|
|
|
+ ..jobAreaMainId = jobAreaMainId ?? this.jobAreaMainId
|
|
|
|
+ ..jobAreaChildId = jobAreaChildId ?? this.jobAreaChildId
|
|
|
|
+ ..jobNeedPeopleCount = jobNeedPeopleCount ?? this.jobNeedPeopleCount
|
|
|
|
+ ..jobContactName = jobContactName ?? this.jobContactName
|
|
|
|
+ ..jobContactNo = jobContactNo ?? this.jobContactNo
|
|
|
|
+ ..jobStartDate = jobStartDate ?? this.jobStartDate
|
|
|
|
+ ..jobEndDate = jobEndDate ?? this.jobEndDate
|
|
|
|
+ ..jobHourRate = jobHourRate ?? this.jobHourRate
|
|
|
|
+ ..employerRate = employerRate ?? this.employerRate
|
|
|
|
+ ..jobNote = jobNote ?? this.jobNote
|
|
|
|
+ ..jobAddTime = jobAddTime ?? this.jobAddTime
|
|
|
|
+ ..jobUpdateTime = jobUpdateTime ?? this.jobUpdateTime
|
|
|
|
+ ..jobIndustryId = jobIndustryId ?? this.jobIndustryId
|
|
|
|
+ ..jobIndustryName = jobIndustryName ?? this.jobIndustryName
|
|
|
|
+ ..jobPeopleSex = jobPeopleSex ?? this.jobPeopleSex
|
|
|
|
+ ..jobPeopleLanguage = jobPeopleLanguage ?? this.jobPeopleLanguage
|
|
|
|
+ ..jobPeopleNationality = jobPeopleNationality ?? this.jobPeopleNationality
|
|
|
|
+ ..jobPeopleAge = jobPeopleAge ?? this.jobPeopleAge
|
|
|
|
+ ..jobLatitude = jobLatitude ?? this.jobLatitude
|
|
|
|
+ ..jobLongitude = jobLongitude ?? this.jobLongitude
|
|
|
|
+ ..jobRequirements = jobRequirements ?? this.jobRequirements
|
|
|
|
+ ..jobGeolocation = jobGeolocation ?? this.jobGeolocation
|
|
|
|
+ ..jobZip = jobZip ?? this.jobZip
|
|
|
|
+ ..jobStatus = jobStatus ?? this.jobStatus
|
|
|
|
+ ..jobIsNotify = jobIsNotify ?? this.jobIsNotify
|
|
|
|
+ ..recipientId = recipientId ?? this.recipientId
|
|
|
|
+ ..exportSchedulesPdf = exportSchedulesPdf ?? this.exportSchedulesPdf
|
|
|
|
+ ..employerStatus = employerStatus ?? this.employerStatus
|
|
|
|
+ ..confirmSignature = confirmSignature ?? this.confirmSignature
|
|
|
|
+ ..confirmTime = confirmTime ?? this.confirmTime
|
|
|
|
+ ..employementStatus = employementStatus ?? this.employementStatus
|
|
|
|
+ ..foodCertificateRequired = foodCertificateRequired ??
|
|
|
|
+ this.foodCertificateRequired
|
|
|
|
+ ..rsaCertificate = rsaCertificate ?? this.rsaCertificate
|
|
|
|
+ ..foodHandler = foodHandler ?? this.foodHandler
|
|
|
|
+ ..topping = topping ?? this.topping
|
|
|
|
+ ..toppingAt = toppingAt ?? this.toppingAt
|
|
|
|
+ ..jobIsNotifyThree = jobIsNotifyThree ?? this.jobIsNotifyThree
|
|
|
|
+ ..whatsApp = whatsApp ?? this.whatsApp
|
|
|
|
+ ..source = source ?? this.source
|
|
|
|
+ ..jobBreakHours = jobBreakHours ?? this.jobBreakHours
|
|
|
|
+ ..hotelJobId = hotelJobId ?? this.hotelJobId
|
|
|
|
+ ..revisedDate = revisedDate ?? this.revisedDate
|
|
|
|
+ ..typhoidVaccine = typhoidVaccine ?? this.typhoidVaccine
|
|
|
|
+ ..hide = hide ?? this.hide
|
|
|
|
+ ..checkStatus = checkStatus ?? this.checkStatus
|
|
|
|
+ ..checkDate = checkDate ?? this.checkDate
|
|
|
|
+ ..jobUnit = jobUnit ?? this.jobUnit
|
|
|
|
+ ..coDepartmentId = coDepartmentId ?? this.coDepartmentId
|
|
|
|
+ ..jobInstantStatus = jobInstantStatus ?? this.jobInstantStatus
|
|
|
|
+ ..serviceType = serviceType ?? this.serviceType
|
|
|
|
+ ..agencyRate = agencyRate ?? this.agencyRate
|
|
|
|
+ ..jobCertificate = jobCertificate ?? this.jobCertificate
|
|
|
|
+ ..jobVehicle = jobVehicle ?? this.jobVehicle
|
|
|
|
+ ..challenge25 = challenge25 ?? this.challenge25
|
|
|
|
+ ..toppingAdminId = toppingAdminId ?? this.toppingAdminId
|
|
|
|
+ ..sourceType = sourceType ?? this.sourceType
|
|
|
|
+ ..agencyId = agencyId ?? this.agencyId
|
|
|
|
+ ..agencyName = agencyName ?? this.agencyName
|
|
|
|
+ ..video = video ?? this.video
|
|
|
|
+ ..addBy = addBy ?? this.addBy
|
|
|
|
+ ..videoCover = videoCover ?? this.videoCover
|
|
|
|
+ ..templateId = templateId ?? this.templateId
|
|
|
|
+ ..client = client ?? this.client
|
|
|
|
+ ..otherImage = otherImage ?? this.otherImage
|
|
|
|
+ ..otherDocument = otherDocument ?? this.otherDocument
|
|
|
|
+ ..videoText = videoText ?? this.videoText;
|
|
|
|
+ }
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+UkJobListDetailDepartmentList $UkJobListDetailDepartmentListFromJson(
|
|
|
|
+ Map<String, dynamic> json) {
|
|
|
|
+ final UkJobListDetailDepartmentList ukJobListDetailDepartmentList = UkJobListDetailDepartmentList();
|
|
|
|
+ final int? value = jsonConvert.convert<int>(json['value']);
|
|
|
|
+ if (value != null) {
|
|
|
|
+ ukJobListDetailDepartmentList.value = value;
|
|
|
|
+ }
|
|
|
|
+ final String? txt = jsonConvert.convert<String>(json['txt']);
|
|
|
|
+ if (txt != null) {
|
|
|
|
+ ukJobListDetailDepartmentList.txt = txt;
|
|
|
|
+ }
|
|
|
|
+ final String? selected = jsonConvert.convert<String>(json['selected']);
|
|
|
|
+ if (selected != null) {
|
|
|
|
+ ukJobListDetailDepartmentList.selected = selected;
|
|
|
|
+ }
|
|
|
|
+ return ukJobListDetailDepartmentList;
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+Map<String, dynamic> $UkJobListDetailDepartmentListToJson(
|
|
|
|
+ UkJobListDetailDepartmentList entity) {
|
|
|
|
+ final Map<String, dynamic> data = <String, dynamic>{};
|
|
|
|
+ data['value'] = entity.value;
|
|
|
|
+ data['txt'] = entity.txt;
|
|
|
|
+ data['selected'] = entity.selected;
|
|
|
|
+ return data;
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+extension UkJobListDetailDepartmentListExtension on UkJobListDetailDepartmentList {
|
|
|
|
+ UkJobListDetailDepartmentList copyWith({
|
|
|
|
+ int? value,
|
|
|
|
+ String? txt,
|
|
|
|
+ String? selected,
|
|
|
|
+ }) {
|
|
|
|
+ return UkJobListDetailDepartmentList()
|
|
|
|
+ ..value = value ?? this.value
|
|
|
|
+ ..txt = txt ?? this.txt
|
|
|
|
+ ..selected = selected ?? this.selected;
|
|
|
|
+ }
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+UkJobListDetailCertificateList $UkJobListDetailCertificateListFromJson(
|
|
|
|
+ Map<String, dynamic> json) {
|
|
|
|
+ final UkJobListDetailCertificateList ukJobListDetailCertificateList = UkJobListDetailCertificateList();
|
|
|
|
+ final int? value = jsonConvert.convert<int>(json['value']);
|
|
|
|
+ if (value != null) {
|
|
|
|
+ ukJobListDetailCertificateList.value = value;
|
|
|
|
+ }
|
|
|
|
+ final String? txt = jsonConvert.convert<String>(json['txt']);
|
|
|
|
+ if (txt != null) {
|
|
|
|
+ ukJobListDetailCertificateList.txt = txt;
|
|
|
|
+ }
|
|
|
|
+ final String? checked = jsonConvert.convert<String>(json['checked']);
|
|
|
|
+ if (checked != null) {
|
|
|
|
+ ukJobListDetailCertificateList.checked = checked;
|
|
|
|
+ }
|
|
|
|
+ return ukJobListDetailCertificateList;
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+Map<String, dynamic> $UkJobListDetailCertificateListToJson(
|
|
|
|
+ UkJobListDetailCertificateList entity) {
|
|
|
|
+ final Map<String, dynamic> data = <String, dynamic>{};
|
|
|
|
+ data['value'] = entity.value;
|
|
|
|
+ data['txt'] = entity.txt;
|
|
|
|
+ data['checked'] = entity.checked;
|
|
|
|
+ return data;
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+extension UkJobListDetailCertificateListExtension on UkJobListDetailCertificateList {
|
|
|
|
+ UkJobListDetailCertificateList copyWith({
|
|
|
|
+ int? value,
|
|
|
|
+ String? txt,
|
|
|
|
+ String? checked,
|
|
|
|
+ }) {
|
|
|
|
+ return UkJobListDetailCertificateList()
|
|
|
|
+ ..value = value ?? this.value
|
|
|
|
+ ..txt = txt ?? this.txt
|
|
|
|
+ ..checked = checked ?? this.checked;
|
|
|
|
+ }
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+UkJobListDetailVehicleList $UkJobListDetailVehicleListFromJson(
|
|
|
|
+ Map<String, dynamic> json) {
|
|
|
|
+ final UkJobListDetailVehicleList ukJobListDetailVehicleList = UkJobListDetailVehicleList();
|
|
|
|
+ final String? value = jsonConvert.convert<String>(json['value']);
|
|
|
|
+ if (value != null) {
|
|
|
|
+ ukJobListDetailVehicleList.value = value;
|
|
|
|
+ }
|
|
|
|
+ final String? txt = jsonConvert.convert<String>(json['txt']);
|
|
|
|
+ if (txt != null) {
|
|
|
|
+ ukJobListDetailVehicleList.txt = txt;
|
|
|
|
+ }
|
|
|
|
+ final String? checked = jsonConvert.convert<String>(json['checked']);
|
|
|
|
+ if (checked != null) {
|
|
|
|
+ ukJobListDetailVehicleList.checked = checked;
|
|
|
|
+ }
|
|
|
|
+ return ukJobListDetailVehicleList;
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+Map<String, dynamic> $UkJobListDetailVehicleListToJson(
|
|
|
|
+ UkJobListDetailVehicleList entity) {
|
|
|
|
+ final Map<String, dynamic> data = <String, dynamic>{};
|
|
|
|
+ data['value'] = entity.value;
|
|
|
|
+ data['txt'] = entity.txt;
|
|
|
|
+ data['checked'] = entity.checked;
|
|
|
|
+ return data;
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+extension UkJobListDetailVehicleListExtension on UkJobListDetailVehicleList {
|
|
|
|
+ UkJobListDetailVehicleList copyWith({
|
|
|
|
+ String? value,
|
|
|
|
+ String? txt,
|
|
|
|
+ String? checked,
|
|
|
|
+ }) {
|
|
|
|
+ return UkJobListDetailVehicleList()
|
|
|
|
+ ..value = value ?? this.value
|
|
|
|
+ ..txt = txt ?? this.txt
|
|
|
|
+ ..checked = checked ?? this.checked;
|
|
|
|
+ }
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+UkJobListDetailChallenge25List $UkJobListDetailChallenge25ListFromJson(
|
|
|
|
+ Map<String, dynamic> json) {
|
|
|
|
+ final UkJobListDetailChallenge25List ukJobListDetailChallenge25List = UkJobListDetailChallenge25List();
|
|
|
|
+ final int? value = jsonConvert.convert<int>(json['value']);
|
|
|
|
+ if (value != null) {
|
|
|
|
+ ukJobListDetailChallenge25List.value = value;
|
|
|
|
+ }
|
|
|
|
+ final String? txt = jsonConvert.convert<String>(json['txt']);
|
|
|
|
+ if (txt != null) {
|
|
|
|
+ ukJobListDetailChallenge25List.txt = txt;
|
|
|
|
+ }
|
|
|
|
+ final String? checked = jsonConvert.convert<String>(json['checked']);
|
|
|
|
+ if (checked != null) {
|
|
|
|
+ ukJobListDetailChallenge25List.checked = checked;
|
|
|
|
+ }
|
|
|
|
+ return ukJobListDetailChallenge25List;
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+Map<String, dynamic> $UkJobListDetailChallenge25ListToJson(
|
|
|
|
+ UkJobListDetailChallenge25List entity) {
|
|
|
|
+ final Map<String, dynamic> data = <String, dynamic>{};
|
|
|
|
+ data['value'] = entity.value;
|
|
|
|
+ data['txt'] = entity.txt;
|
|
|
|
+ data['checked'] = entity.checked;
|
|
|
|
+ return data;
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+extension UkJobListDetailChallenge25ListExtension on UkJobListDetailChallenge25List {
|
|
|
|
+ UkJobListDetailChallenge25List copyWith({
|
|
|
|
+ int? value,
|
|
|
|
+ String? txt,
|
|
|
|
+ String? checked,
|
|
|
|
+ }) {
|
|
|
|
+ return UkJobListDetailChallenge25List()
|
|
|
|
+ ..value = value ?? this.value
|
|
|
|
+ ..txt = txt ?? this.txt
|
|
|
|
+ ..checked = checked ?? this.checked;
|
|
|
|
+ }
|
|
|
|
+}
|