///todo deleted
// import 'asset.dart';
// import 'asset_transfer.dart';
//
// class AssetTransferSearch extends AssetTransfer {
//   Asset asset;
//   int pageNumber = 10, pageSize;
//   bool mostRecent;
//
//   Map<String, dynamic> toSearch() {
//     final map = <String, dynamic>{};
//     map['pageSize'] = pageSize;
//     map['pageNumber'] = pageNumber;
//     map['id'] = id;
//     map['transferNo'] = transferNo;
//     map['transferCode'] = transferCode;
//     map['assetId'] = assetId;
//     map['destSiteId'] = destSiteId;
//     map['destBuildingId'] = destBuildingId;
//     map['destFloorId'] = destFloorId;
//     map['destDepartmentId'] = destDepartmentId;
//     map['destRoomId'] = destRoomId;
//     map['senderSiteId'] = senderSiteId;
//     map['senderBuildingId'] = senderBuildingId;
//     map['senderFloorId'] = senderFloorId;
//     map['senderDepartmentId'] = senderDepartmentId;
//     map['senderRoom'] = senderRoom;
//     map['senderAssignedEmployeeId'] = senderAssignedEmployeeId;
//     map['receiverAssignedEmployeeId'] = receiverAssignedEmployeeId;
//     map['mostRecent'] = mostRecent;
//     map['assetNumber'] = asset?.assetNumber;
//     map['assetSerialNo'] = asset?.assetSerialNo;
//     map['siteName'] = asset?.site?.custName;
//
//     /// TODO : the below parameters need to be discussed
//     // map['relatedToEmployeeId'] = "";
//     // map['assetGroup'] = {
//     //   "id": 1,
//     //   "name": "",
//     //   "code": "",
//     // };
//     return map;
//   }
// }
