2025-06-26 09:33:34 +08:00
|
|
|
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;
|
2025-07-02 14:42:17 +08:00
|
|
|
/**
|
|
|
|
* 绿植产品包
|
|
|
|
*/
|
|
|
|
productList: any[];
|
2025-06-26 09:33:34 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
export interface RentalPlanForm extends BaseEntity {
|
|
|
|
/**
|
|
|
|
* 主键
|
|
|
|
*/
|
2025-07-02 14:42:17 +08:00
|
|
|
id?: string | number | undefined;
|
2025-06-26 09:33:34 +08:00
|
|
|
|
|
|
|
/**
|
|
|
|
* 方案名称
|
|
|
|
*/
|
|
|
|
planName?: string;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* 租赁周期
|
|
|
|
*/
|
|
|
|
rentalPeriod?: number;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* 适用场景
|
|
|
|
*/
|
|
|
|
scene?: string;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* 价格
|
|
|
|
*/
|
|
|
|
price?: number;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* 状态
|
|
|
|
*/
|
|
|
|
state?: number;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* 备注
|
|
|
|
*/
|
|
|
|
remarks?: string;
|
|
|
|
|
2025-07-02 18:00:26 +08:00
|
|
|
/**
|
|
|
|
* 方案下绿植产品
|
|
|
|
*/
|
2025-07-07 14:38:01 +08:00
|
|
|
productList?:any[];
|
2025-07-02 18:00:26 +08:00
|
|
|
|
2025-06-26 09:33:34 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
export interface RentalPlanQuery extends PageQuery {
|
|
|
|
/**
|
|
|
|
* 方案名称
|
|
|
|
*/
|
|
|
|
planName?: string;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* 租赁周期
|
|
|
|
*/
|
|
|
|
rentalPeriod?: number;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* 适用场景
|
|
|
|
*/
|
|
|
|
scene?: string;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* 价格
|
|
|
|
*/
|
|
|
|
price?: number;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* 状态
|
|
|
|
*/
|
|
|
|
state?: number;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* 备注
|
|
|
|
*/
|
|
|
|
remarks?: string;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* 日期范围参数
|
|
|
|
*/
|
|
|
|
params?: any;
|
|
|
|
}
|