Files
admin-vben5/apps/web-antd/src/api/property/room/model.d.ts
dev_ljl b7ecd38f59
Some checks are pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Waiting to run
feat:房间添加是否重要、房间图片字段
2025-07-31 11:40:57 +08:00

150 lines
2.1 KiB
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import type { PageQuery, BaseEntity } from '#/api/common';
export interface RoomVO {
/**
*
*/
id: string | number;
/**
* 所属楼层ID
*/
floorId: string | number;
/**
* 房间号(如101,202)
*/
roomNumber: string;
/**
* 房间类型('住宅','商铺','办公室','设备间','公共区域')
*/
roomType: string;
/**
* 建筑面积(平方米)
*/
area: number;
/**
* 套内面积(平方米)
*/
insideInArea: number;
/**
* 户型(如2室1厅1卫)
*/
layout: string;
/**
* 朝向('东','南','西','北','东南','东北','西南','西北')
*/
orientation: number;
/**
* 是否可售
*/
isForSale: number;
/**
* 状态('空置','已售','已租','自用'
*/
status: string;
}
export interface RoomForm extends BaseEntity {
/**
*
*/
id?: string | number;
/**
* 所属楼层ID
*/
floorId?: string | number;
/**
* 房间号(如101,202)
*/
roomNumber?: string;
/**
* 房间类型('住宅','商铺','办公室','设备间','公共区域')
*/
roomType?: number;
/**
* 面积(平方米)
*/
area?: number;
/**
* 户型(如2室1厅1卫)
*/
layout?: string;
/**
* 朝向('东','南','西','北','东南','东北','西南','西北')
*/
orientation?: number;
/**
* 是否可售
*/
isForSale?: number;
/**
* 状态('空置','已售','已租','自用'
*/
status?: number;
}
export interface RoomQuery extends PageQuery {
/**
* 所属楼层ID
*/
floorId?: string | number;
/**
* 房间号(如101,202)
*/
roomNumber?: string;
/**
* 房间类型('住宅','商铺','办公室','设备间','公共区域')
*/
roomType?: number;
/**
* 面积(平方米)
*/
area?: number;
/**
* 户型(如2室1厅1卫)
*/
layout?: string;
/**
* 朝向('东','南','西','北','东南','东北','西南','西北')
*/
orientation?: number;
/**
* 是否可售
*/
isForSale?: number;
/**
* 状态('空置','已售','已租','自用'
*/
status?: number;
/**
* 日期范围参数
*/
params?: any;
}