51 lines
828 B
TypeScript
51 lines
828 B
TypeScript
/**
|
|
* 主页推荐产品视图模型
|
|
*/
|
|
export interface HomepageProductView {
|
|
/** 唯一标识符 **/
|
|
id: number;
|
|
|
|
/** 产品名称 **/
|
|
name: string;
|
|
|
|
/** 产品简介 **/
|
|
summary: string;
|
|
|
|
/** 产品封面 **/
|
|
cover: string;
|
|
}
|
|
|
|
/**
|
|
* 主页推荐解决方案视图模型
|
|
*/
|
|
export interface HomepageSolutionView {
|
|
/** 唯一标识符 **/
|
|
id: number;
|
|
|
|
/** 解决方案标题 **/
|
|
title: string;
|
|
|
|
/** 解决方案摘要 **/
|
|
summary: string;
|
|
|
|
/** 解决方案封面 **/
|
|
cover: string;
|
|
}
|
|
|
|
/**
|
|
* 主页视图模型
|
|
*/
|
|
export interface HomepageView {
|
|
/** 唯一标识符 **/
|
|
id: number;
|
|
|
|
/** 首页图片 **/
|
|
carousel: string[];
|
|
|
|
/** 首页推荐产品 **/
|
|
recommendProducts: HomepageProductView[];
|
|
|
|
/** 首页推荐解决方案 **/
|
|
recommendSolutions: HomepageSolutionView[];
|
|
}
|