MODialogsData.h 679 B

1234567891011121314151617181920212223
  1. //
  2. // MODialogsData.h
  3. //
  4. // Created by SuperCabbage on 2025/2/21
  5. // Copyright (c) 2025 __MyCompanyName__. All rights reserved.
  6. //
  7. #import <Foundation/Foundation.h>
  8. @class MOJumpList, MOUserGift;
  9. @interface MODialogsData : NSObject <NSCoding, NSCopying>
  10. @property (nonatomic, assign) double type;//类型(1=签到,2=礼包,3=Banner,4=新手礼包)
  11. @property (nonatomic, strong) MOJumpList *jumpList;
  12. @property (nonatomic, strong) NSArray<MOUserGift *> *userGifts;//type=4的时候才有这个数组
  13. + (instancetype)modelObjectWithDictionary:(NSDictionary *)dict;
  14. - (instancetype)initWithDictionary:(NSDictionary *)dict;
  15. - (NSDictionary *)dictionaryRepresentation;
  16. @end