// // JXEpisode.h // AICity // // Created by TogetherWatch on 2025-10-13. // Feature: 003-ios-api-https - 剧星短剧平台API接入 // #import NS_ASSUME_NONNULL_BEGIN /** * 剧集模型 */ @interface JXEpisode : NSObject @property (nonatomic, assign) NSInteger id; @property (nonatomic, copy) NSString *jxEpisodeId; @property (nonatomic, assign) NSInteger dramaId; @property (nonatomic, assign) NSInteger episodeNumber; // UI: "第13集" @property (nonatomic, copy, nullable) NSString *title; // UI: "大学宿舍关系 (五)" @property (nonatomic, assign) NSInteger duration; // 时长(秒) @property (nonatomic, assign) BOOL isPaid; // UI: 是否显示¥图标 @property (nonatomic, copy, nullable) NSString *uploadDate; // UI: "08月25日" @property (nonatomic, copy, nullable) NSString *thumbnail; @property (nonatomic, copy, nullable) NSString *contentType; // 内容类型 // FileID播放方式(DRM推荐) @property (nonatomic, copy, nullable) NSString *appId; // 腾讯云 AppID @property (nonatomic, copy, nullable) NSString *fileId; // 腾讯云 FileID @property (nonatomic, copy, nullable) NSString *psign; // 播放签名(JWT) - (instancetype)initWithDictionary:(NSDictionary *)dict; - (NSDictionary *)toDictionary; @end NS_ASSUME_NONNULL_END