//
//  JPDiscoverModel.h
//  JPDiscover
//
//  Created by Jasper on 16/3/25.
//  Copyright 漏 2016骞?Jasper. All rights reserved.
//

#import <Foundation/Foundation.h>

#pragma mark cell鐨刴odel

@class JPDiscoverTitleModel;
@class JPDiscoverContentModel;
@class JPDiscoverImageModel;
@class JPDiscoverShareModel;
@class JPDiscoverVideoModel;
@class JPDiscoverCommentsModel;

@interface JPDiscoverModel : NSObject

@property (nonatomic, strong) JPDiscoverTitleModel *titleModel;
@property (nonatomic, strong) JPDiscoverContentModel *contentModel;
@property (nonatomic, strong) JPDiscoverImageModel *imageModel;
@property (nonatomic, strong) JPDiscoverShareModel *shareModel;
@property (nonatomic, strong) JPDiscoverVideoModel *videoModel;
@property (nonatomic, strong) JPDiscoverCommentsModel *commentsModel;

+ (JPDiscoverModel *)getTestModel;

@end

#pragma mark 鏍囬妯″潡model

@interface JPDiscoverTitleModel : NSObject
/**
 *  @brief  澶村儚URL
 */
@property (nonatomic, strong) NSString *headIconUrl;
/**
 *  @brief  鐢ㄦ埛鍚? */
@property (nonatomic, strong) NSString *username;
/**
 *  @brief  鏃堕棿
 */
@property (nonatomic, strong) NSString *time;

+ (JPDiscoverTitleModel *)getTestModel;

@end

#pragma mark 鏂囨湰涓婚妯″潡model

@interface JPDiscoverContentModel : NSObject
/**
 *  @brief  涓讳綋鏂囨湰鍐呭
 */
@property (nonatomic, strong) NSString *content;

+ (JPDiscoverContentModel *)getTestModel;

@end

#pragma mark 鍥剧墖妯″潡model

@interface JPDiscoverImageModel : NSObject
/**
 *  @brief  鍥剧墖URL鏁扮粍
 */
@property (nonatomic, strong) NSArray *imageUrlArr;
/**
 *  @brief  瀹藉拰楂樼殑鏁扮粍锛屽厓绱犵ず渚?123x456
 */
@property (nonatomic, strong) NSArray *sizeArr;

+ (JPDiscoverImageModel *)getTestModel;

@end

#pragma mark 鍒嗕韩妯″潡model

@interface JPDiscoverShareModel : NSObject
/**
 *  @brief  缂╃暐鍥綰RL
 */
@property (nonatomic, strong) NSString *thumImageUrl;
/**
 *  @brief  鏍囬
 */
@property (nonatomic, strong) NSString *title;
/**
 *  @brief  绠€浠? */
@property (nonatomic, strong) NSString *summary;
/**
 *  @brief  鍗曞嚮鍚庤烦杞殑鐩爣鍦板潃
 */
@property (nonatomic, strong) NSString *uri;

+ (JPDiscoverShareModel *)getTestModel;

@end

#pragma mark 瑙嗛妯″潡model

@interface JPDiscoverVideoModel : NSObject
/**
 *  @brief  瑙嗛鍚嶅瓧
 */
@property (nonatomic, strong) NSString *name;
/**
 *  @brief  瑙嗛鎸佺画鏃堕棿
 */
@property (nonatomic, strong) NSString *duration;
/**
 *  @brief  缂╃暐鍥綰RL
 */
@property (nonatomic, strong) NSString *thumImageUrl;
/**
 *  @brief  瑙嗛URL
 */
@property (nonatomic, strong) NSString *videoUrl;
/**
 *  @brief  瑙嗛瀹? */
@property (nonatomic, assign) NSInteger width;
/**
 *  @brief  瑙嗛楂? */
@property (nonatomic, assign) NSInteger height;

+ (JPDiscoverVideoModel *)getTestModel;

@end

#pragma mark 璇勮鐐硅禐妯″潡model

@interface JPDiscoverCommentsModel : NSObject
/**
 *  @brief  鎴戞槸鍚﹁禐浜嗚璇濋
 */
@property (nonatomic, assign) BOOL isPraised;
/**
 *  @brief  鐐硅禐鎬绘暟
 */
@property (nonatomic, assign) NSInteger praiseCount;
/**
 *  @brief  璇勮鎬绘暟
 */
@property (nonatomic, assign) NSInteger commentCount;

+ (JPDiscoverCommentsModel *)getTestModel;

@end// 鐗堟潈灞炰簬鍘熶綔鑰?// http://code4app.com (cn) http://code4app.net (en)
// 鍙戝竷浠g爜浜庢渶涓撲笟鐨勬簮鐮佸垎浜綉绔? Code4App.com