65 lines
833 B
TypeScript
65 lines
833 B
TypeScript
import type { PageQuery, BaseEntity } from '#/api/common';
|
|
|
|
export interface DeviceGroupVO {
|
|
/**
|
|
* 主键id
|
|
*/
|
|
id: string | number;
|
|
|
|
/**
|
|
* 分组名称
|
|
*/
|
|
name: string;
|
|
|
|
/**
|
|
* 父编码id(-1 表示根节点)
|
|
*/
|
|
parentId: string | number;
|
|
|
|
/**
|
|
* 备注
|
|
*/
|
|
remark: string;
|
|
|
|
}
|
|
|
|
export interface DeviceGroupForm extends BaseEntity {
|
|
/**
|
|
* 主键id
|
|
*/
|
|
id?: string | number;
|
|
|
|
/**
|
|
* 分组名称
|
|
*/
|
|
name?: string;
|
|
|
|
/**
|
|
* 父编码id(-1 表示根节点)
|
|
*/
|
|
parentId?: string | number;
|
|
|
|
/**
|
|
* 备注
|
|
*/
|
|
remark?: string;
|
|
|
|
}
|
|
|
|
export interface DeviceGroupQuery extends PageQuery {
|
|
/**
|
|
* 分组名称
|
|
*/
|
|
name?: string;
|
|
|
|
/**
|
|
* 父编码id(-1 表示根节点)
|
|
*/
|
|
parentId?: string | number;
|
|
|
|
/**
|
|
* 日期范围参数
|
|
*/
|
|
params?: any;
|
|
}
|