Lib: 1/4, 声明 † JSONModel

Lib: 1/4, 声明 † JSONModel

EssenceModel.h





#import 

@class InfoModel;
@class UserModel;
@class VideoModel;

@protocol ListModel;
@protocol TagModel;
@protocol NSString;
@protocol CommentModel;

@interface EssenceModel : JSONModel

@property (nonatomic, strong)InfoModel *info;
@property (nonatomic, strong)NSArray *list;

@end

@interface InfoModel : JSONModel

@property (nonatomic, assign)NSInteger count;
@property (nonatomic, assign)NSInteger np;

@end

@interface ListModel : JSONModel

@property (nonatomic, assign)NSInteger status;
@property (nonatomic, strong)NSString *comment;

@property (nonatomic, strong)NSArray *top_comments;

@property (nonatomic, strong)NSArray *tags;

@property (nonatomic, strong)NSString *bookmark;
@property (nonatomic, strong)NSString *text;
@property (nonatomic, strong)NSString *up;

@property (nonatomic, strong)NSString *share_url;
@property (nonatomic, assign)NSInteger down;
@property (nonatomic, assign)NSInteger forward;

@property (nonatomic, strong)UserModel *u;
@property (nonatomic, strong)NSString *passtime;
@property (nonatomic, strong)VideoModel *video;

@property (nonatomic, strong)NSString *type;
@property (nonatomic, strong)NSString *listId;

@end

@interface CommentModel : JSONModel

@property (nonatomic, assign)NSInteger voicetime;
@property (nonatomic, assign)NSInteger precid;
@property (nonatomic, strong)NSString * content;


@property (nonatomic, assign)NSInteger like_count;
@property (nonatomic, strong)UserModel *u;

@property (nonatomic, assign)NSInteger preuid;
@property (nonatomic, assign)NSInteger commentId;
@property (nonatomic, strong)NSString * passtime;


@property (nonatomic, assign)NSInteger voiceuri;     //   不是  voiceurl


@end

@interface TagModel : JSONModel

@property (nonatomic, assign)NSInteger tagId;
@property (nonatomic, strong)NSString *name;

@end

@interface UserModel : JSONModel

@property (nonatomic, strong)NSArray *header;
@property (nonatomic, assign)BOOL is_v;
@property (nonatomic, strong)NSString *uid;

@property (nonatomic, assign)BOOL is_vip;
@property (nonatomic, strong)NSString *name;

@property (nonatomic, strong)NSString *sex;

@end

@interface VideoModel : JSONModel

@property (nonatomic, assign)NSInteger playfcount;
@property (nonatomic, assign)NSInteger height;
@property (nonatomic, assign)NSInteger width;

@property (nonatomic, strong)NSArray *video;
@property (nonatomic, strong)NSArray *download;

@property (nonatomic, assign)NSInteger duration;
@property (nonatomic, assign)NSInteger playcount;


@property (nonatomic, strong)NSArray *thumbnail;
@property (nonatomic, strong)NSArray *thumbnail_small;

@end



你可能感兴趣的:(Lib: 1/4, 声明 † JSONModel)