85 lines
1.0 KiB
TypeScript
85 lines
1.0 KiB
TypeScript
|
import type { PageQuery, BaseEntity } from '#/api/common';
|
||
|
|
||
|
export interface DeviceLocationVO {
|
||
|
/**
|
||
|
* 主键
|
||
|
*/
|
||
|
id: string | number;
|
||
|
|
||
|
/**
|
||
|
* 位置名称
|
||
|
*/
|
||
|
locationName: string;
|
||
|
|
||
|
/**
|
||
|
* 位置编号
|
||
|
*/
|
||
|
locationCode: string;
|
||
|
|
||
|
/**
|
||
|
* 位置类型
|
||
|
*/
|
||
|
locationType: string;
|
||
|
|
||
|
/**
|
||
|
* 搜索值
|
||
|
*/
|
||
|
searchValue: string;
|
||
|
|
||
|
}
|
||
|
|
||
|
export interface DeviceLocationForm extends BaseEntity {
|
||
|
/**
|
||
|
* 主键
|
||
|
*/
|
||
|
id?: string | number;
|
||
|
|
||
|
/**
|
||
|
* 位置名称
|
||
|
*/
|
||
|
locationName?: string;
|
||
|
|
||
|
/**
|
||
|
* 位置编号
|
||
|
*/
|
||
|
locationCode?: string;
|
||
|
|
||
|
/**
|
||
|
* 位置类型
|
||
|
*/
|
||
|
locationType?: string;
|
||
|
|
||
|
/**
|
||
|
* 搜索值
|
||
|
*/
|
||
|
searchValue?: string;
|
||
|
|
||
|
}
|
||
|
|
||
|
export interface DeviceLocationQuery extends PageQuery {
|
||
|
/**
|
||
|
* 位置名称
|
||
|
*/
|
||
|
locationName?: string;
|
||
|
|
||
|
/**
|
||
|
* 位置编号
|
||
|
*/
|
||
|
locationCode?: string;
|
||
|
|
||
|
/**
|
||
|
* 位置类型
|
||
|
*/
|
||
|
locationType?: string;
|
||
|
|
||
|
/**
|
||
|
* 搜索值
|
||
|
*/
|
||
|
searchValue?: string;
|
||
|
|
||
|
/**
|
||
|
* 日期范围参数
|
||
|
*/
|
||
|
params?: any;
|
||
|
}
|