//
//  WMShareObject.h
//  Gengmei
//
//  Created by Sean Lee on 7/22/15.
//  Copyright (c) 2015 Wanmeichuangyi. All rights reserved.
//
#import "GMShareBaseObject.h"
#import "GMThirdPartyDefine.h"

@protocol WMShareBasicObject  @end
@interface WMShareBasicObject : GMShareBaseObject
@property (nonatomic,strong) NSString * title;
@property (nonatomic,strong) NSString * content;
@end

@protocol GMWechatminiObject  @end
@interface GMWechatminiObject : GMShareBaseObject
@property (nonatomic,strong) NSString * desc;
@property (nonatomic,strong) NSString * title;
@property (nonatomic,strong) NSString * hdImageUrl;
@property (nonatomic,strong) NSString * path;
@property (nonatomic,strong) NSString * userName;
@property (nonatomic,strong) NSString * thumbImageUrl;
@property (nonatomic,strong) UIImage *hdImage;
@property (nonatomic,strong) UIImage *thumbImage;
@end

@protocol GMCoverObject  @end
@interface GMCoverObject : GMShareBaseObject
@property (nonatomic,strong) NSString * desc;
@property (nonatomic,strong) NSString * image;
@end

@protocol GMOthersObject  @end
@interface GMOthersObject : GMShareBaseObject
@property (nonatomic,strong) NSString * cityName;
@property (nonatomic,strong) NSArray<GMCoverObject> * cover;
@property (nonatomic,strong) NSString * title;
@property (nonatomic,strong) NSString * type;
@property (nonatomic,strong) NSString * path;
@property (nonatomic,strong) NSString * voteNum;
@property (nonatomic,strong) NSString * voteNumDesc;
@property (nonatomic,strong) NSString * beforeDesc;
@property (nonatomic,strong) NSString * afterCoverUrl;
@property (nonatomic,strong) NSString * afterDesc;
@property (nonatomic,strong) NSString * beforeCoverUrl;
@property (nonatomic,strong) UIImage *afterCoverImage;
@property (nonatomic,strong) UIImage *beforeCoverImage;
@end



@protocol  WMShareObject  @end
@interface WMShareObject : GMShareBaseObject
@property (nonatomic,strong) NSString * image;
@property (nonatomic,strong) NSString * url;
@property (nonatomic,strong) NSString * from;
@property (nonatomic,strong) NSString * showPrice;
@property (nonatomic,strong) NSString * organizationName;
@property (nonatomic,strong) WMShareBasicObject  <WMShareBasicObject>* wechat;
@property (nonatomic,strong) WMShareBasicObject  <WMShareBasicObject>* wechatline;
@property (nonatomic,strong) WMShareBasicObject  <WMShareBasicObject>* wechatScreenshot;
@property (nonatomic,strong) WMShareBasicObject  <WMShareBasicObject>* wechatlineScreenshot;
@property (nonatomic,strong) WMShareBasicObject  <WMShareBasicObject>* qq;
@property (nonatomic,strong) WMShareBasicObject  <WMShareBasicObject>* qqzone;
@property (nonatomic,strong) WMShareBasicObject  <WMShareBasicObject>* weibo;
@property (nonatomic,strong) GMWechatminiObject  <GMWechatminiObject>* wechatmini;
@property (nonatomic,strong) WMShareBasicObject  <WMShareBasicObject>* douyin; // 分享到抖音 扫脸1.5
@property (nonatomic,strong) GMOthersObject  <GMWechatminiObject>* others;
@property (nonatomic, copy) NSString *page_name;// 埋点使用
@property (nonatomic, copy) NSString *business_id;// 埋点使用
@property (nonatomic, copy) NSString *is_like;//埋点使用
@property (nonatomic, copy) NSString *videoUrl;//视频URL（分享视频时）扫脸1.5
@property (nonatomic, assign) GMShareContentType contentType;
@property (nonatomic, strong) UIImage *shareImage;
@property (nonatomic, assign) GMSharePlatform platform;/// 分享平台
/// 获取分享通用数据
/// @param shareType shareType
- (NSMutableDictionary *)getShareParams:(GMSharePlatform)shareType;
@end

@protocol  GMDiaryShareObject  @end
@interface GMDiaryShareObject : GMShareBaseObject
@property (nonatomic,strong) NSString *id;
@property (nonatomic,strong) NSString *title;
@property (nonatomic,strong) WMShareObject *shareData;

@end

@protocol  GMShareConfigObject  @end
@interface GMShareConfigObject : GMShareBaseObject
@property (nonatomic,strong) NSString *hideCopyLink;
@property (nonatomic,strong) NSString *hideRefresh;
@property (nonatomic,strong) NSString *hideReport;
@property (nonatomic,strong) NSString *shareCallback;
@property (nonatomic,strong) NSString *shareTip;
@property (nonatomic,strong) NSString *shareTitle;
@property (nonatomic,strong) NSString *shareInfo;
@property (nonatomic, copy) NSString *taskType;
@property (nonatomic, copy) NSString *isReportShareResult;

@end
