You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
789 B
33 lines
789 B
![]()
2 years ago
|
//
|
||
|
// CourseGroup.h
|
||
|
// tongxin
|
||
|
//
|
||
|
// Created by ecell on 2021/11/26.
|
||
|
// Copyright © 2021 xTT. All rights reserved.
|
||
|
//
|
||
|
|
||
|
#import <Foundation/Foundation.h>
|
||
|
#import "CourseModel.h"
|
||
|
#import "baseModel.h"
|
||
|
#import "MJExtension.h"
|
||
|
|
||
|
|
||
|
@interface CourseSchedule : baseModel
|
||
|
|
||
|
@property(nonatomic, strong)NSString *imei; // 课程表ID=IMEI
|
||
|
@property(nonatomic, strong)NSString *timetable;
|
||
|
@property(nonatomic, strong)NSString *schedule;
|
||
|
|
||
|
|
||
|
-(void)save:(NSString *)timetable schedule:(NSString *)schedule success:(void(^)(void))success failure:(void (^)(NSError *error))failure;
|
||
|
|
||
|
-(void)query:(void (^)(CourseSchedule *model))success failure:(void (^)(NSError *error))failure;
|
||
|
|
||
|
-(void)saveToUserDefaults:(CourseSchedule *)schedule;
|
||
|
|
||
|
-(CourseSchedule *)getFromUserDefaults:(NSString *)imei;
|
||
|
|
||
|
@end
|
||
|
|
||
|
|