155 lines
1.7 KiB
TypeScript
155 lines
1.7 KiB
TypeScript
|
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;
|
|||
|
}
|