115 lines
1.2 KiB
TypeScript
115 lines
1.2 KiB
TypeScript
|
import type { PageQuery, BaseEntity } from '#/api/common';
|
||
|
|
||
|
export interface RentalPlanVO {
|
||
|
/**
|
||
|
* 主键
|
||
|
*/
|
||
|
id: string | number;
|
||
|
|
||
|
/**
|
||
|
* 方案名称
|
||
|
*/
|
||
|
planName: string;
|
||
|
|
||
|
/**
|
||
|
* 租赁周期
|
||
|
*/
|
||
|
rentalPeriod: number;
|
||
|
|
||
|
/**
|
||
|
* 适用场景
|
||
|
*/
|
||
|
scene: string;
|
||
|
|
||
|
/**
|
||
|
* 价格
|
||
|
*/
|
||
|
price: number;
|
||
|
|
||
|
/**
|
||
|
* 状态
|
||
|
*/
|
||
|
state: number;
|
||
|
|
||
|
/**
|
||
|
* 备注
|
||
|
*/
|
||
|
remarks: string;
|
||
|
|
||
|
}
|
||
|
|
||
|
export interface RentalPlanForm extends BaseEntity {
|
||
|
/**
|
||
|
* 主键
|
||
|
*/
|
||
|
id?: string | number;
|
||
|
|
||
|
/**
|
||
|
* 方案名称
|
||
|
*/
|
||
|
planName?: string;
|
||
|
|
||
|
/**
|
||
|
* 租赁周期
|
||
|
*/
|
||
|
rentalPeriod?: number;
|
||
|
|
||
|
/**
|
||
|
* 适用场景
|
||
|
*/
|
||
|
scene?: string;
|
||
|
|
||
|
/**
|
||
|
* 价格
|
||
|
*/
|
||
|
price?: number;
|
||
|
|
||
|
/**
|
||
|
* 状态
|
||
|
*/
|
||
|
state?: number;
|
||
|
|
||
|
/**
|
||
|
* 备注
|
||
|
*/
|
||
|
remarks?: string;
|
||
|
|
||
|
}
|
||
|
|
||
|
export interface RentalPlanQuery extends PageQuery {
|
||
|
/**
|
||
|
* 方案名称
|
||
|
*/
|
||
|
planName?: string;
|
||
|
|
||
|
/**
|
||
|
* 租赁周期
|
||
|
*/
|
||
|
rentalPeriod?: number;
|
||
|
|
||
|
/**
|
||
|
* 适用场景
|
||
|
*/
|
||
|
scene?: string;
|
||
|
|
||
|
/**
|
||
|
* 价格
|
||
|
*/
|
||
|
price?: number;
|
||
|
|
||
|
/**
|
||
|
* 状态
|
||
|
*/
|
||
|
state?: number;
|
||
|
|
||
|
/**
|
||
|
* 备注
|
||
|
*/
|
||
|
remarks?: string;
|
||
|
|
||
|
/**
|
||
|
* 日期范围参数
|
||
|
*/
|
||
|
params?: any;
|
||
|
}
|