23 lines
568 B
TypeScript
23 lines
568 B
TypeScript
import type { ISysFileInfo } from '@/domain/iSysFile';
|
|
|
|
/** 首页分类项(字段与宫格导航一致) */
|
|
export interface ICategoryItem {
|
|
id?: number;
|
|
/** 所属分类ID */
|
|
category_id?: number;
|
|
/** 导航标题 */
|
|
title: string;
|
|
/** 导航图标信息(ISysFileInfo 对象) */
|
|
image: ISysFileInfo | string;
|
|
/** 跳转链接 */
|
|
link?: string;
|
|
/** 导航标签(字符串数组) */
|
|
tag?: string[];
|
|
/** 状态:0=启用,1=禁用 */
|
|
status: number;
|
|
/** 排序 */
|
|
sort: number;
|
|
created_at?: string;
|
|
updated_at?: string;
|
|
}
|