239 lines
2.5 KiB
TypeScript
239 lines
2.5 KiB
TypeScript
import type { BaseEntity, PageQuery } from '#/api/common';
|
||
|
||
export interface CommunityVO {
|
||
/**
|
||
*
|
||
*/
|
||
id: string | number;
|
||
|
||
/**
|
||
* 社区名称
|
||
*/
|
||
communityName: string;
|
||
|
||
/**
|
||
* 社区类型 1:园区,2:小区
|
||
*/
|
||
communityType: number;
|
||
|
||
cityFullCode: string;
|
||
cityFullName: string;
|
||
|
||
/**
|
||
* 省
|
||
*/
|
||
province: string;
|
||
|
||
/**
|
||
* 市
|
||
*/
|
||
city: string;
|
||
|
||
/**
|
||
* 区
|
||
*/
|
||
district: string;
|
||
|
||
/**
|
||
* 地址
|
||
*/
|
||
addr: string;
|
||
|
||
/**
|
||
* 经度
|
||
*/
|
||
lon: string;
|
||
|
||
/**
|
||
* 维度
|
||
*/
|
||
lat: string;
|
||
|
||
/**
|
||
* 占地面积(平方米)
|
||
*/
|
||
area: number;
|
||
|
||
/**
|
||
*
|
||
*/
|
||
builtYear: string;
|
||
|
||
/**
|
||
* 物业公司
|
||
*/
|
||
propertyCompany: string;
|
||
|
||
/**
|
||
* 联系电话
|
||
*/
|
||
contactPhone: string;
|
||
|
||
/**
|
||
* 社区描述
|
||
*/
|
||
description: string;
|
||
|
||
/**
|
||
* 小图图片
|
||
*/
|
||
img: string;
|
||
}
|
||
|
||
export interface CommunityForm extends BaseEntity {
|
||
/**
|
||
*
|
||
*/
|
||
id?: string | number;
|
||
|
||
/**
|
||
* 社区名称
|
||
*/
|
||
communityName?: string;
|
||
|
||
/**
|
||
* 社区类型 1:园区,2:小区
|
||
*/
|
||
communityType?: number;
|
||
|
||
cityFullName: string;
|
||
cityFullCode: string;
|
||
|
||
/**
|
||
* 省
|
||
*/
|
||
province?: string;
|
||
|
||
/**
|
||
* 市
|
||
*/
|
||
city?: string;
|
||
|
||
/**
|
||
* 区
|
||
*/
|
||
district?: string;
|
||
|
||
/**
|
||
* 地址
|
||
*/
|
||
addr?: string;
|
||
|
||
/**
|
||
* 经度
|
||
*/
|
||
lon?: string;
|
||
|
||
/**
|
||
* 维度
|
||
*/
|
||
lat?: string;
|
||
|
||
/**
|
||
* 占地面积(平方米)
|
||
*/
|
||
area?: number;
|
||
|
||
/**
|
||
*
|
||
*/
|
||
builtYear?: string;
|
||
|
||
/**
|
||
* 物业公司
|
||
*/
|
||
propertyCompany?: string;
|
||
|
||
/**
|
||
* 联系电话
|
||
*/
|
||
contactPhone?: string;
|
||
|
||
/**
|
||
* 社区描述
|
||
*/
|
||
description?: string;
|
||
|
||
/**
|
||
* 小图图片
|
||
*/
|
||
img?: string;
|
||
}
|
||
|
||
export interface CommunityQuery extends PageQuery {
|
||
/**
|
||
* 社区名称
|
||
*/
|
||
communityName?: string;
|
||
|
||
/**
|
||
* 社区类型 1:园区,2:小区
|
||
*/
|
||
communityType?: number;
|
||
|
||
/**
|
||
* 省
|
||
*/
|
||
province?: string;
|
||
|
||
/**
|
||
* 市
|
||
*/
|
||
city?: string;
|
||
|
||
/**
|
||
* 区
|
||
*/
|
||
district?: string;
|
||
|
||
/**
|
||
* 地址
|
||
*/
|
||
addr?: string;
|
||
|
||
/**
|
||
* 经度
|
||
*/
|
||
lon?: string;
|
||
|
||
/**
|
||
* 维度
|
||
*/
|
||
lat?: string;
|
||
|
||
/**
|
||
* 占地面积(平方米)
|
||
*/
|
||
area?: number;
|
||
|
||
/**
|
||
*
|
||
*/
|
||
builtYear?: string;
|
||
|
||
/**
|
||
* 物业公司
|
||
*/
|
||
propertyCompany?: string;
|
||
|
||
/**
|
||
* 联系电话
|
||
*/
|
||
contactPhone?: string;
|
||
|
||
/**
|
||
* 社区描述
|
||
*/
|
||
description?: string;
|
||
|
||
/**
|
||
* 小图图片
|
||
*/
|
||
img?: string;
|
||
|
||
/**
|
||
* 日期范围参数
|
||
*/
|
||
params?: any;
|
||
}
|