Files
school2/web/domain/iActivity.ts
T
2026-08-09 11:23:54 +08:00

28 lines
756 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 IActivity {
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;
/** 活动描述 */
description?: string;
/** 状态:0=启用,1=禁用 */
status: number;
/** 排序 */
sort: number;
created_at?: string;
updated_at?: string;
}