| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849 |
- //
- // OrderSalesApproveListDetailModel.m
- // IBOSS
- //
- // Created by 关宏厚 on 2019/4/13.
- // Copyright © 2019 elongtian. All rights reserved.
- //
- #import "OrderSalesApproveListDetailModel.h"
- @implementation OrderSalesApproveListDetailModel
- + (nullable NSDictionary<NSString *, id> *)modelCustomPropertyMapper{
-
- return @{
- @"invoiceNo":@"InvoiceNo",
- @"suggestion":@"Suggestion",
- @"customerName":@"CustomerName",
- @"customerCode":@"CustomerCode",
- @"onlyCode":@"OnlyCode",
- @"code":@"Code",
- @"brandName":@"BrandName",
- @"kindName":@"KindName",
- @"varietyName":@"VarietyName",
- @"seriesName":@"SeriesName",
- @"unitName":@"UnitName",
- @"specification":@"Specification",
- @"gradeName":@"GradeName",
- @"colorNumber":@"ColorNumber",
- @"amount":@"Amount",
- @"discount":@"Discount",
- @"goodsName":@"GoodsName",
- @"expandAttribute":@"ExpandAttribute",
- @"expandAttribute2":@"ExpandAttribute2"
-
- };
- }
- /*!
- * 2. 下面的两个方法 `字典里值`与`模型的值`类型不一样`需要转换`而重写的方法
- * NSDate *time dic[@"t"]是double类型的的秒数
- */
- /// Dic -> model
- - (BOOL)modelCustomTransformFromDictionary:(NSDictionary *)dic {
-
- return YES;
- }
- @end
|