//
//  ALCreateDiaryObject.h
//  GMAlpha
//
//  Created by Q14 on 2018/11/7.
//  Copyright © 2018年 Gengmei. All rights reserved.
//

#import "GMPhotoModel.h"
@protocol GMPhotoModel @end
@interface ALCreateDiaryObject : GMObject
@property (nonatomic, strong) NSNumber *id;
@property (nonatomic, strong) NSMutableArray<GMPhotoModel> *images;
@property (nonatomic, strong) GMPhotoModel *videoModel;

// 视频封面
@property (nonatomic, copy) NSString *videoCover;
@property (nonatomic, copy) NSString *content;

@property (nonatomic, copy) NSString *groupId;
//@property (nonatomic, assign) CGFloat operationTimestamp;
@property (nonatomic, assign) CGFloat operationDate;
// 用来记录视频上传是否成功，服务器不需要
@property (nonatomic, assign) BOOL isVideoUploadSuccess;
/**  临时的视频小图  */
@property (nonatomic, strong) UIImage<Ignore> *thumbPhoto;
/**  临时的视频大图  */
@property (nonatomic, strong) UIImage<Ignore> *previewPhoto;
/**  视频AVAsset对象  */
@property (nonatomic, strong) PHAsset<Ignore> *avAsset;

@end
