GXFProcessProduct.m 762 Bytes
Newer Older
freecui's avatar
freecui committed
1 2 3 4 5 6 7 8 9 10 11 12
//
//  GXFProduct.m
//  XFFruit
//
//  Created by freecui on 15/9/1.
//  Copyright (c) 2015年 Xummer. All rights reserved.
//

#import "GXFProcessProduct.h"

@implementation GXFProcessProduct

13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
- (instancetype)initWithDict:(NSDictionary *)dict {
    self = [super init];
    if (!self) {
        return nil;
    }
    
    self.uuid = dict[@"uuid"];
    self.productUuid = dict[@"productUuid"];
    self.productCode = dict[@"productCode"];
    self.productName = dict[@"productName"];
    self.outstockDate = dict[@"outstockDate"];
    self.unit = dict[@"unit"];
    self.qpc = dict[@"qpc"];
    self.qpcStr = dict[@"qpcStr"];
    self.quantity = dict[@"quantity"];
    self.baseQty = dict[@"baseQty"];
    self.remark = dict[@"remark"];
    return self;
}
freecui's avatar
freecui committed
32
@end