Hibit_iOS/HiBit/Project/Player/Model/GKDYVideoModel.m
2024-06-11 10:51:38 +08:00

78 lines
1.7 KiB
Objective-C
Executable File

//
// GKDYVideoModel.m
// GKDYVideo
//
// Created by QuintGao on 2018/9/23.
// Copyright © 2018 QuintGao. All rights reserved.
//
#import "GKDYVideoModel.h"
@implementation GKDYVideoModel
/*
/// 短剧id
@property (assign, nonatomic) NSInteger ;
/// 收藏数量
@property (assign, nonatomic) NSInteger ;
/// 集数
@property (assign, nonatomic) NSInteger ;
/// 是否观看
@property (assign, nonatomic) BOOL ;
/// 是否购买
@property (assign, nonatomic) BOOL ;
/// 是否收藏
@property (assign, nonatomic) BOOL ;
@property (assign, nonatomic) NSInteger ;
/// 价格
@property (strong, nonatomic) NSNumber * ;
/// 标题 剧名
@property (copy, nonatomic) NSString * ; // name
/// 剧情描述
@property (copy, nonatomic) NSString * ;
/// 封面 海报
@property (copy, nonatomic) NSString * ;
@property (strong, nonatomic) GKDUVideoInfoModel * ;
*/
- (id)copyWithZone:(NSZone *)zone{
GKDYVideoModel * model = [self.class new];
model.cid = self.cid;
model.collect_total = self.collect_total;
model.episode_total = self.episode_total;
model.episode = self.episode;
model.watch_total = self.watch_total;
model.buy_type = self.buy_type;
model.is_collect = self.is_collect;
model.process = self.process;
model.all_price = self.all_price;
model.title = self.title;
model.detailText = self.detailText;
model.image_url = self.image_url;
model.videoInfo = self.videoInfo;
return model;
}
+ (NSDictionary *)mj_replacedKeyFromPropertyName {
return @{@"cid" : @"id",
@"detailText" : @"description",
@"videoInfo" : @"video_info",
@"title" : @"name"};
}
@end