Loading...
Searching...
No Matches
NCCategory.h
Go to the documentation of this file.
1#import "NCExport.h"
2#import <Foundation/Foundation.h>
3
15DEFAULT_EXPORT_ATTRIBUTE
16@interface NCCategory : NSObject
17
21- (nonnull instancetype)initWithId:(int32_t)id
22 name:(nonnull NSString *)name
23 imageUrl:(nullable NSString *)imageUrl;
24
28+ (nonnull instancetype)categoryWithId:(int32_t)id
29 name:(nonnull NSString *)name
30 imageUrl:(nullable NSString *)imageUrl;
31
45@property (nonatomic, readonly) int32_t id;
46
60@property (nonatomic, readonly, nonnull) NSString * name;
61
75@property (nonatomic, readonly, nullable) NSString * imageUrl;
76
77@end