| 12345678910111213141516171819202122232425262728293031323334353637 |
- //
- // JXDrama.h
- // AICity
- //
- // Created by TogetherWatch on 2025-10-13.
- // Feature: 003-ios-api-https - 剧星短剧平台API接入
- //
- #import <Foundation/Foundation.h>
- NS_ASSUME_NONNULL_BEGIN
- /**
- * 剧星短剧模型
- */
- @interface JXDrama : NSObject
- @property (nonatomic, assign) NSInteger id;
- @property (nonatomic, copy) NSString *jxDramaId;
- @property (nonatomic, copy) NSString *title;
- @property (nonatomic, copy) NSString *cover;
- @property (nonatomic, copy) NSString *desc;
- @property (nonatomic, copy) NSString *category; // UI: "搞笑日常"
- @property (nonatomic, strong) NSArray<NSString *> *tags;
- @property (nonatomic, assign) CGFloat rating;
- @property (nonatomic, assign) NSInteger totalEpisodes; // UI: "更新至第49集"
- @property (nonatomic, assign) BOOL isPaid;
- @property (nonatomic, assign) NSInteger viewCount;
- @property (nonatomic, copy) NSString *authorInfo; // UI: "@于鱼丘比特"
- // 初始化方法
- - (instancetype)initWithDictionary:(NSDictionary *)dict;
- - (NSDictionary *)toDictionary;
- @end
- NS_ASSUME_NONNULL_END
|