This commit is contained in:
qq
2026-04-21 22:34:39 +08:00
commit c28429b589
718 changed files with 48804 additions and 0 deletions
+20
View File
@@ -0,0 +1,20 @@
import { BaseModel } from './_base_model';
import { NewsCategoryModel } from './news_category.model';
export declare enum NewsType {
ImageText = 1,
Video = 2
}
export declare class NewsModel extends BaseModel {
categoryId: number;
coverImage: string;
video?: string;
title: string;
content: string;
publishTime: string;
readCount: number;
type: NewsType;
isRecommended: number;
isHeadline: number;
isShow: number;
category?: NewsCategoryModel;
}