// // TimingSwitchModel.h // tongxin // // Created by Apple on 2020/4/10. // Copyright © 2020 xTT. All rights reserved. // #import "baseModel.h" NS_ASSUME_NONNULL_BEGIN @interface TimingSwitchModel : baseModel /// 开机时间 格式化时间 : 24小时制 @property (nonatomic, strong) NSString *startTime; /// 关机时间 @property (nonatomic, strong) NSString *endTime; /// 0 关闭, 1 打开 @property (nonatomic, strong) NSNumber *switchStatus; #pragma mark ---定时开关机配置接口--- /// 获取数据接口 + (void)getTimingSwitchDataSuccess:(void (^)(TimingSwitchModel *model))success failure:(void (^)(NSError *error))failure; - (void)postTimingSwitchDataSuccess:(void (^)(id responseObject))success failure:(void (^)(NSError *error))failure; @end NS_ASSUME_NONNULL_END