Files
school2/web/domain/iGridNav.ts
T
2026-08-09 11:15:38 +08:00

26 lines
709 B
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
import type { ICategory } from '@/domain/iCategory';
import type { ISysFileInfo } from '@/domain/iSysFile';
/** 首页宫格导航 */
export interface IGridNav {
id?: number;
/** 导航标题 */
title: string;
/** 导航图标信息(ISysFileInfo 对象) */
image: ISysFileInfo | string;
/** 跳转类型:0=链接,1=分类 */
link_type?: number;
/** 跳转链接(link_type=0 时生效) */
link?: string;
/** 分类IDlink_type=1 时生效) */
category_id?: number;
/** 所属分类(后端关联返回) */
category?: ICategory;
/** 状态:0=启用,1=禁用 */
status: number;
/** 排序 */
sort: number;
created_at?: string;
updated_at?: string;
}