产品管理
This commit is contained in:
154
apps/web-antd/src/api/property/productManagement/model.d.ts
vendored
Normal file
154
apps/web-antd/src/api/property/productManagement/model.d.ts
vendored
Normal file
@@ -0,0 +1,154 @@
|
||||
import type { PageQuery, BaseEntity } from '#/api/common';
|
||||
|
||||
export interface PropertyVO {
|
||||
/**
|
||||
* 主键
|
||||
*/
|
||||
id: string | number;
|
||||
|
||||
/**
|
||||
* 产品编号
|
||||
*/
|
||||
plantCode: string;
|
||||
|
||||
/**
|
||||
* 产品名称
|
||||
*/
|
||||
plantName: string;
|
||||
|
||||
/**
|
||||
* 产品分类
|
||||
*/
|
||||
plantType: number;
|
||||
|
||||
/**
|
||||
* 产品图片
|
||||
*/
|
||||
imgPath: string;
|
||||
|
||||
/**
|
||||
* 规格
|
||||
*/
|
||||
specification: string;
|
||||
|
||||
/**
|
||||
* 租金
|
||||
*/
|
||||
rent: number;
|
||||
|
||||
/**
|
||||
* 库存数量
|
||||
*/
|
||||
inventory: number;
|
||||
|
||||
/**
|
||||
* 状态(0下架 1上架 )
|
||||
*/
|
||||
state: number;
|
||||
|
||||
/**
|
||||
* 备注
|
||||
*/
|
||||
remark: string;
|
||||
|
||||
}
|
||||
|
||||
export interface PropertyForm extends BaseEntity {
|
||||
/**
|
||||
* 主键
|
||||
*/
|
||||
id?: string | number;
|
||||
|
||||
/**
|
||||
* 产品编号
|
||||
*/
|
||||
plantCode?: string;
|
||||
|
||||
/**
|
||||
* 产品名称
|
||||
*/
|
||||
plantName?: string;
|
||||
|
||||
/**
|
||||
* 产品分类
|
||||
*/
|
||||
plantType?: number;
|
||||
|
||||
/**
|
||||
* 产品图片
|
||||
*/
|
||||
imgPath?: string;
|
||||
|
||||
/**
|
||||
* 规格
|
||||
*/
|
||||
specification?: string;
|
||||
|
||||
/**
|
||||
* 租金
|
||||
*/
|
||||
rent?: number;
|
||||
|
||||
/**
|
||||
* 库存数量
|
||||
*/
|
||||
inventory?: number;
|
||||
|
||||
/**
|
||||
* 状态(0下架 1上架 )
|
||||
*/
|
||||
state?: number;
|
||||
|
||||
/**
|
||||
* 备注
|
||||
*/
|
||||
remark?: string;
|
||||
|
||||
}
|
||||
|
||||
export interface PropertyQuery extends PageQuery {
|
||||
/**
|
||||
* 产品编号
|
||||
*/
|
||||
plantCode?: string;
|
||||
|
||||
/**
|
||||
* 产品名称
|
||||
*/
|
||||
plantName?: string;
|
||||
|
||||
/**
|
||||
* 产品分类
|
||||
*/
|
||||
plantType?: number;
|
||||
|
||||
/**
|
||||
* 产品图片
|
||||
*/
|
||||
imgPath?: string;
|
||||
|
||||
/**
|
||||
* 规格
|
||||
*/
|
||||
specification?: string;
|
||||
|
||||
/**
|
||||
* 租金
|
||||
*/
|
||||
rent?: number;
|
||||
|
||||
/**
|
||||
* 库存数量
|
||||
*/
|
||||
inventory?: number;
|
||||
|
||||
/**
|
||||
* 状态(0下架 1上架 )
|
||||
*/
|
||||
state?: number;
|
||||
|
||||
/**
|
||||
* 日期范围参数
|
||||
*/
|
||||
params?: any;
|
||||
}
|
Reference in New Issue
Block a user