api
tj
2025-05-29 05d1310a6ec27656712c0c5e5e57b3365d3faf56
types/index.ts
@@ -105,3 +105,76 @@
    createTime?: String;
}
interface Node {
    id: any;
    parentId: any;
    children: Node[];
}
export interface FilmCategoryTree extends Node {
    /** 名称 */
    name: string;
    /** 父分类名称 */
    parentName: string;
    /** 图标 */
    imageUrl: string;
    /** 颜色 */
    color: string;
    /** 排序 */
    sortBy: number;
    /** 是否展示 */
    shown: boolean;
    /** 级别限制 */
    levelLimit: string;
    /** 子分类数量 */
    childrenCount: number;
}
export interface FilmPicture {
    name: string;
    size: number;
    url: string;
}
export interface FilmInfo {
    id: number;
    nameCn: string;
    nameEn: string;
    nickname: string | null;
    actors: string;
    director: string;
    producer: string;
    filmContent: string | null;
    filmPictures: FilmPicture[];
    coverUrl: string;
    coverAlt: string;
    coverTitle: string;
    classify: string | null;
    keywords: string;
    tag: string;
    type: string;
    typeStr: string;
    status: string;
    statusStr: string;
    stickyWeight: number;
    synopsis: string;
    avatar: string | null;
    releaseYear: number | null;
    collectCount: number;
    commentCount: number;
    likeCount: number;
    shareCount: number;
    userType: string;
    userTypeStr: string;
    createBy: string;
    createTime: string;
    updateBy: string | null;
}