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

#import "LSGeolocationSurveyScheduleSetting+RCTNativeModel.h"
#import "RCTLSUtils.h"

@implementation LSGeolocationSurveyScheduleSetting (RCTNativeModel)
- (NSDictionary *)reactNativeRepresentation {
    return @{
             @"dayOfWeek" : @(RCTZeroIfNaN(self.dayOfWeek)),
             @"fromTime" : RCTNullIfNil(self.fromTimeString),
             @"toTime" : RCTNullIfNil(self.toTimeString)
             };
}
@end
