Some checks are pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Waiting to run
2、保养计划
205 lines
2.4 KiB
TypeScript
205 lines
2.4 KiB
TypeScript
import type { PageQuery, BaseEntity } from '#/api/common';
|
|
|
|
export interface MachineVO {
|
|
/**
|
|
* 主键
|
|
*/
|
|
id: string | number;
|
|
|
|
/**
|
|
* 设备名称
|
|
*/
|
|
machineName: string;
|
|
|
|
/**
|
|
* 设备编码
|
|
*/
|
|
machineCode: string;
|
|
|
|
/**
|
|
* 设备品牌
|
|
*/
|
|
machineBrand: string;
|
|
|
|
/**
|
|
* 设备类型
|
|
*/
|
|
machineTypeId: string | number;
|
|
|
|
/**
|
|
* 位置详情
|
|
*/
|
|
locationId: string | number;
|
|
|
|
/**
|
|
* 采购价格
|
|
*/
|
|
purchasePrice: number;
|
|
|
|
/**
|
|
* 启用时间
|
|
*/
|
|
activationTime: string;
|
|
|
|
/**
|
|
* 保修截至时间
|
|
*/
|
|
deadline: string;
|
|
|
|
/**
|
|
* 使用年限(年)
|
|
*/
|
|
serviceLife: number;
|
|
|
|
/**
|
|
* 保修周期
|
|
*/
|
|
maintenanceCycle: string;
|
|
|
|
/**
|
|
* 使用状态
|
|
*/
|
|
state: string;
|
|
|
|
/**
|
|
* 责任人
|
|
*/
|
|
personId: string | number;
|
|
|
|
}
|
|
|
|
export interface MachineForm extends BaseEntity {
|
|
/**
|
|
* 主键
|
|
*/
|
|
id?: string | number;
|
|
|
|
/**
|
|
* 设备名称
|
|
*/
|
|
machineName?: string;
|
|
|
|
/**
|
|
* 设备编码
|
|
*/
|
|
machineCode?: string;
|
|
|
|
/**
|
|
* 设备品牌
|
|
*/
|
|
machineBrand?: string;
|
|
|
|
/**
|
|
* 设备类型
|
|
*/
|
|
machineTypeId?: string | number;
|
|
|
|
/**
|
|
* 位置详情
|
|
*/
|
|
locationId?: string | number;
|
|
|
|
/**
|
|
* 采购价格
|
|
*/
|
|
purchasePrice?: number;
|
|
|
|
/**
|
|
* 启用时间
|
|
*/
|
|
activationTime?: string;
|
|
|
|
/**
|
|
* 保修截至时间
|
|
*/
|
|
deadline?: string;
|
|
|
|
/**
|
|
* 使用年限(年)
|
|
*/
|
|
serviceLife?: number;
|
|
|
|
/**
|
|
* 保修周期
|
|
*/
|
|
maintenanceCycle?: string;
|
|
|
|
/**
|
|
* 使用状态
|
|
*/
|
|
state?: string;
|
|
|
|
/**
|
|
* 责任人
|
|
*/
|
|
personId?: string | number;
|
|
|
|
}
|
|
|
|
export interface MachineQuery extends PageQuery {
|
|
/**
|
|
* 设备名称
|
|
*/
|
|
machineName?: string;
|
|
|
|
/**
|
|
* 设备编码
|
|
*/
|
|
machineCode?: string;
|
|
|
|
/**
|
|
* 设备品牌
|
|
*/
|
|
machineBrand?: string;
|
|
|
|
/**
|
|
* 设备类型
|
|
*/
|
|
machineTypeId?: string | number;
|
|
|
|
/**
|
|
* 位置详情
|
|
*/
|
|
locationId?: string | number;
|
|
|
|
/**
|
|
* 采购价格
|
|
*/
|
|
purchasePrice?: number;
|
|
|
|
/**
|
|
* 启用时间
|
|
*/
|
|
activationTime?: string;
|
|
|
|
/**
|
|
* 保修截至时间
|
|
*/
|
|
deadline?: string;
|
|
|
|
/**
|
|
* 使用年限(年)
|
|
*/
|
|
serviceLife?: number;
|
|
|
|
/**
|
|
* 保修周期
|
|
*/
|
|
maintenanceCycle?: string;
|
|
|
|
/**
|
|
* 使用状态
|
|
*/
|
|
state?: string;
|
|
|
|
/**
|
|
* 责任人
|
|
*/
|
|
personId?: string | number;
|
|
|
|
/**
|
|
* 日期范围参数
|
|
*/
|
|
params?: any;
|
|
}
|