HomeLiveGroupModel.h 992 B

123456789101112131415161718192021222324252627282930
  1. //
  2. // HomeLiveGroupModel.h
  3. //
  4. // Created by Steven on 2022/4/24
  5. // Copyright (c) 2022 __MyCompanyName__. All rights reserved.
  6. //
  7. #import <Foundation/Foundation.h>
  8. @interface HomeLiveGroupModel : NSObject <NSCoding, NSCopying>
  9. @property (nonatomic, strong) NSString *courseGroupId;
  10. @property (nonatomic, strong) NSString *backgroundPic;
  11. @property (nonatomic, strong) NSString *avatar;
  12. @property (nonatomic, assign) double courseGroupPrice;
  13. @property (nonatomic, strong) NSString *teacherId;
  14. @property (nonatomic, strong) NSString *teacherName;
  15. @property (nonatomic, strong) NSString *courseStartTime;
  16. @property (nonatomic, assign) NSInteger courseNum;
  17. @property (nonatomic, strong) NSString *courseGroupName;
  18. @property (nonatomic, assign) NSInteger buyCount;
  19. @property (nonatomic, strong) NSString *subjectName;
  20. + (instancetype)modelObjectWithDictionary:(NSDictionary *)dict;
  21. - (instancetype)initWithDictionary:(NSDictionary *)dict;
  22. - (NSDictionary *)dictionaryRepresentation;
  23. @end