ui fixes
parent
68a8dc250f
commit
53c5240377
@ -0,0 +1,3 @@
|
||||
<svg width="16" height="15" viewBox="0 0 16 15" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M13.688 1.4117C11.8058 -0.470567 8.74304 -0.470567 6.86053 1.4117L1.00825 7.26395C-0.336157 8.60851 -0.336069 10.7962 1.00843 12.1407C1.68073 12.813 2.56355 13.1491 3.44673 13.149C4.32967 13.1489 5.21296 12.8129 5.88515 12.1407L11.2496 6.77612C11.6404 6.38535 11.8557 5.86578 11.8557 5.31313C11.8557 4.76046 11.6405 4.24092 11.2497 3.85004C10.4429 3.04334 9.13017 3.04337 8.32357 3.85018L4.81544 7.35822C4.54611 7.62752 4.54611 8.06421 4.81538 8.33357C5.08468 8.60296 5.52137 8.60287 5.79073 8.33357L9.29889 4.8255C9.56781 4.55659 10.0053 4.55653 10.2742 4.82544C10.4045 4.9557 10.4763 5.1289 10.4763 5.31311C10.4763 5.49731 10.4045 5.67045 10.2742 5.80077L4.9098 11.1653C4.10305 11.972 2.79047 11.9721 1.98378 11.1654C1.17709 10.3586 1.17703 9.04597 1.98363 8.23922L7.83588 2.38705C9.1805 1.0425 11.3682 1.0425 12.7126 2.38705C13.364 3.03833 13.7227 3.90431 13.7227 4.82539C13.7227 5.74646 13.3639 6.61244 12.7126 7.26378L6.86044 13.1161C6.59114 13.3854 6.59114 13.8221 6.8605 14.0915C6.99518 14.2262 7.17169 14.2935 7.34816 14.2935C7.52467 14.2935 7.70117 14.2261 7.83585 14.0915L13.6879 8.23916C14.5998 7.32734 15.102 6.11499 15.102 4.82542C15.102 3.53587 14.5998 2.32352 13.688 1.4117Z" fill="#3DA5E5"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.3 KiB |
@ -0,0 +1,116 @@
|
||||
class WorkOrderHModel {
|
||||
int? assetId;
|
||||
int? equipmentStatusId;
|
||||
int? priorityId;
|
||||
int? problemDescriptionId;
|
||||
String? comments;
|
||||
String? voiceNote;
|
||||
List<WorkOrderAttachments>? workOrderAttachments;
|
||||
|
||||
WorkOrderHModel(
|
||||
{this.assetId,
|
||||
this.equipmentStatusId,
|
||||
this.priorityId,
|
||||
this.problemDescriptionId,
|
||||
this.comments,
|
||||
this.voiceNote,
|
||||
this.workOrderAttachments});
|
||||
|
||||
WorkOrderHModel.fromJson(Map<String, dynamic> json) {
|
||||
assetId = json['assetId'];
|
||||
equipmentStatusId = json['equipmentStatusId'];
|
||||
priorityId = json['priorityId'];
|
||||
problemDescriptionId = json['problemDescriptionId'];
|
||||
comments = json['comments'];
|
||||
voiceNote = json['voiceNote'];
|
||||
if (json['workOrderAttachments'] != null) {
|
||||
workOrderAttachments = <WorkOrderAttachments>[];
|
||||
json['workOrderAttachments'].forEach((v) {
|
||||
workOrderAttachments!.add( WorkOrderAttachments.fromJson(v));
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
Map<String, dynamic> toJson() {
|
||||
final Map<String, dynamic> data = <String, dynamic>{};
|
||||
data['assetId'] = assetId;
|
||||
data['equipmentStatusId'] = equipmentStatusId;
|
||||
data['priorityId'] = priorityId;
|
||||
data['problemDescriptionId'] = problemDescriptionId;
|
||||
data['comments'] = comments;
|
||||
data['voiceNote'] = voiceNote;
|
||||
if (workOrderAttachments != null) {
|
||||
data['workOrderAttachments'] =
|
||||
workOrderAttachments!.map((v) => v.toJson()).toList();
|
||||
}
|
||||
return data;
|
||||
}
|
||||
}
|
||||
|
||||
class WorkOrderAttachments {
|
||||
int? id;
|
||||
String? name;
|
||||
|
||||
WorkOrderAttachments({this.id, this.name});
|
||||
|
||||
WorkOrderAttachments.fromJson(Map<String, dynamic> json) {
|
||||
id = json['id'];
|
||||
name = json['name'];
|
||||
}
|
||||
|
||||
Map<String, dynamic> toJson() {
|
||||
final Map<String, dynamic> data = <String, dynamic>{};
|
||||
data['id'] = id;
|
||||
data['name'] = name;
|
||||
return data;
|
||||
}
|
||||
}
|
||||
class EngineerUpdateWorkOrderHModel {
|
||||
int? workOrderId;
|
||||
int? equipmentStatusId;
|
||||
String? returnToService;
|
||||
int? serviceTypeId;
|
||||
int? loanAvailabilityId;
|
||||
int? loanAssetId;
|
||||
int? failureReasonId;
|
||||
int? faultDescriptionId;
|
||||
String? solution;
|
||||
|
||||
EngineerUpdateWorkOrderHModel(
|
||||
{this.workOrderId,
|
||||
this.equipmentStatusId,
|
||||
this.returnToService,
|
||||
this.serviceTypeId,
|
||||
this.loanAvailabilityId,
|
||||
this.loanAssetId,
|
||||
this.failureReasonId,
|
||||
this.faultDescriptionId,
|
||||
this.solution});
|
||||
|
||||
EngineerUpdateWorkOrderHModel.fromJson(Map<String, dynamic> json) {
|
||||
workOrderId = json['workOrderId'];
|
||||
equipmentStatusId = json['equipmentStatusId'];
|
||||
returnToService = json['returnToService'];
|
||||
serviceTypeId = json['serviceTypeId'];
|
||||
loanAvailabilityId = json['loanAvailabilityId'];
|
||||
loanAssetId = json['loanAssetId'];
|
||||
failureReasonId = json['failureReasonId'];
|
||||
faultDescriptionId = json['faultDescriptionId'];
|
||||
solution = json['solution'];
|
||||
}
|
||||
|
||||
Map<String, dynamic> toJson() {
|
||||
final Map<String, dynamic> data = <String, dynamic>{};
|
||||
data['workOrderId'] = workOrderId;
|
||||
data['equipmentStatusId'] = equipmentStatusId;
|
||||
data['returnToService'] = returnToService;
|
||||
data['serviceTypeId'] = serviceTypeId;
|
||||
data['loanAvailabilityId'] = loanAvailabilityId;
|
||||
data['loanAssetId'] = loanAssetId;
|
||||
data['failureReasonId'] = failureReasonId;
|
||||
data['faultDescriptionId'] = faultDescriptionId;
|
||||
data['solution'] = solution;
|
||||
return data;
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue