MOUserGift.h 580 B

1234567891011121314151617181920212223
  1. //
  2. // MOUserGift.h
  3. //
  4. // Created by 青天 猫 on 2025/6/9
  5. // Copyright (c) 2025 __MyCompanyName__. All rights reserved.
  6. //
  7. #import <Foundation/Foundation.h>
  8. @interface MOUserGift : NSObject <NSCoding, NSCopying>
  9. @property (nonatomic, strong) NSString *image;
  10. @property (nonatomic, strong) NSString *name;
  11. @property (nonatomic, assign) NSInteger type;
  12. @property (nonatomic, assign) NSInteger amount;
  13. + (instancetype)modelObjectWithDictionary:(NSDictionary *)dict;
  14. - (instancetype)initWithDictionary:(NSDictionary *)dict;
  15. - (NSDictionary *)dictionaryRepresentation;
  16. @end