UnReceiptListModel.m 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. //
  2. // UnReceiptListModel.m
  3. // IBOSS
  4. //
  5. // Created by guan hong hou on 16/4/14.
  6. // Copyright © 2017年 沈阳东科云信软件有限公司. All rights reserved.
  7. //
  8. // 功能描述:配送未回执模型
  9. #import "UnReceiptListModel.h"
  10. @implementation UnReceiptListModel
  11. #pragma mark - 私有函数
  12. /*!
  13. * 1.该方法是 `字典里的属性Key` 和 `要转化为模型里的属性名` 不一样 而重写的
  14. * 前:模型的属性 后:字典里的属性
  15. */
  16. + (nullable NSDictionary<NSString *, id> *)modelCustomPropertyMapper{
  17. return @{@"deliveryId":@"DeliveryID",
  18. @"arrangementId":@"ArrangementID",
  19. @"deliveryNo":@"DeliveryNo",
  20. @"arrangementNo":@"ArrangementNo",
  21. @"customerCode":@"CustomerCode",
  22. @"customerName":@"CustomerName",
  23. @"contacts":@"Contacts",
  24. @"telephone":@"Telephone",
  25. @"deliveryDate":@"DeliveryDate",
  26. @"deliveryAddress":@"DeliveryAddress",
  27. @"accountDate":@"AccountDate",
  28. @"truckId":@"TruckID", @"truckName":@"TruckName",
  29. @"organizationName":@"OrganizationName",@"staffName":@"StaffName"
  30. };
  31. }
  32. @end