214 lines
2.4 KiB
TypeScript
214 lines
2.4 KiB
TypeScript
import type { PageQuery, BaseEntity } from '#/api/common';
|
||
|
||
export interface PropertyVO {
|
||
/**
|
||
* 主键
|
||
*/
|
||
id: string | number;
|
||
|
||
/**
|
||
* 产品编号
|
||
*/
|
||
plantCode: string;
|
||
|
||
/**
|
||
* 产品名称
|
||
*/
|
||
plantName: string;
|
||
|
||
/**
|
||
* 产品分类
|
||
*/
|
||
plantType: number|string;
|
||
|
||
/**
|
||
* 产品图片
|
||
*/
|
||
imgPath: string;
|
||
|
||
plantImg: string;
|
||
|
||
/**
|
||
* 规格
|
||
*/
|
||
specification: string;
|
||
|
||
/**
|
||
* 租金
|
||
*/
|
||
rent: number;
|
||
|
||
/**
|
||
* 库存数量
|
||
*/
|
||
inventory: number;
|
||
|
||
/**
|
||
* 状态(0下架 1上架 )
|
||
*/
|
||
state: number|string;
|
||
|
||
/**
|
||
* 备注
|
||
*/
|
||
remark: string;
|
||
|
||
}
|
||
|
||
export interface PropertyForm extends BaseEntity {
|
||
/**
|
||
* 主键
|
||
*/
|
||
id?: string | number;
|
||
|
||
/**
|
||
* 产品编号
|
||
*/
|
||
plantCode?: string;
|
||
|
||
/**
|
||
* 产品名称
|
||
*/
|
||
plantName?: string;
|
||
|
||
/**
|
||
* 产品分类
|
||
*/
|
||
plantType?: number|string;
|
||
/**
|
||
* 产品图片
|
||
*/
|
||
imgPath?: string;
|
||
|
||
/**
|
||
* 规格
|
||
*/
|
||
specification?: string;
|
||
|
||
/**
|
||
* 租金
|
||
*/
|
||
rent?: number;
|
||
|
||
/**
|
||
* 库存数量
|
||
*/
|
||
inventory?: number;
|
||
|
||
/**
|
||
* 状态(0下架 1上架 )
|
||
*/
|
||
state?: number|string;
|
||
|
||
/**
|
||
* 备注
|
||
*/
|
||
remark?: string;
|
||
}
|
||
|
||
export interface PropertyQuery extends PageQuery {
|
||
/**
|
||
* 产品编号
|
||
*/
|
||
plantCode?: string;
|
||
|
||
/**
|
||
* 产品名称
|
||
*/
|
||
plantName?: string;
|
||
|
||
/**
|
||
* 产品分类
|
||
*/
|
||
plantType?: number|string;
|
||
|
||
/**
|
||
* 产品图片
|
||
*/
|
||
imgPath?: string;
|
||
|
||
/**
|
||
* 规格
|
||
*/
|
||
specification?: string;
|
||
|
||
/**
|
||
* 租金
|
||
*/
|
||
rent?: number;
|
||
|
||
/**
|
||
* 库存数量
|
||
*/
|
||
inventory?: number;
|
||
|
||
/**
|
||
* 状态(0下架 1上架 )
|
||
*/
|
||
state?: number|string;
|
||
|
||
/**
|
||
* 日期范围参数
|
||
*/
|
||
params?: any;
|
||
}
|
||
|
||
export interface plantsProduct extends BaseEntity {
|
||
/**
|
||
* 主键
|
||
*/
|
||
id?: string | number;
|
||
|
||
/**
|
||
* 产品编号
|
||
*/
|
||
plantCode?: string;
|
||
|
||
/**
|
||
* 产品名称
|
||
*/
|
||
plantName?: string;
|
||
|
||
/**
|
||
* 产品分类
|
||
*/
|
||
plantType?: number|string;
|
||
|
||
/**
|
||
* 产品图片
|
||
*/
|
||
imgPath?: string;
|
||
|
||
plantImg: string |undefined;
|
||
|
||
/**
|
||
* 规格
|
||
*/
|
||
specification?: number|string;
|
||
|
||
/**
|
||
* 租金
|
||
*/
|
||
rent?: number;
|
||
|
||
/**
|
||
* 库存数量
|
||
*/
|
||
inventory?: number;
|
||
|
||
/**
|
||
* 状态(0下架 1上架 )
|
||
*/
|
||
state?: number|string;
|
||
|
||
/**
|
||
* 备注
|
||
*/
|
||
remark?: string;
|
||
|
||
/**
|
||
* 日期范围参数
|
||
*/
|
||
params?: any;
|
||
}
|