//
//  LSGeolocationSurveyLocationCategory.m
//  ReactLightspeedSDK
//
//  Created by marc matta on 2/10/17.
//  Copyright © 2017 com.lightspeed. All rights reserved.
//

#import "LSGeolocationSurveyLocationCategory+RCTNativeModels.h"
#import "RCTLSUtils.h"

@implementation LSGeolocationSurveyLocationCategory (RCTNativeModel)
- (NSDictionary *)reactNativeRepresentation {
    return @{@"categoryId": @(RCTZeroIfNaN(self.categoryId)),
             @"name": RCTNullIfNil(self.name),
             @"quota": @(RCTZeroIfNaN(self.quota))};
}
@end
