import { Basemodel } from "../base/basemodel"; import { ISimpleBuilding, ModelSimpleBuilding } from "../building/simple-building"; import { IPriceUSD } from "../currency/price-usd.model"; import { IComplexDim, ModelComplexDim } from "../dim-complex/dim-complex.model"; import { IDiscount } from "../discount/discount-model"; import { IPromotion } from "../discount/promotion-model"; import { ISimpleSection, ModelSimpleSection } from "../section/simple-section"; import { IFlatProperty } from "./flat-type-details.model"; interface IFloorItem { readonly id: number; readonly name: string; } interface IRoomItem { readonly id?: number; readonly name?: string; readonly area?: number; } export interface IFlatTypeSearchItem { readonly buildings: ModelSimpleBuilding[] | ISimpleBuilding[]; readonly complex: ModelComplexDim | IComplexDim; readonly dateBuild: Date; readonly discountTypeId: number; readonly discounts: IDiscount[]; readonly promotion: IPromotion; readonly floorRanges: string[]; readonly floors: IFloorItem[]; readonly id: number; readonly imageWithWallsUrl: string; readonly isAvailable: boolean; readonly isReserved: boolean; readonly isHotSale: boolean; readonly livingArea: number; readonly maxDiscount: IDiscount; readonly minPriceM2: number; readonly minPriceTotal: number; readonly percentDiscount: number; readonly planType: string; readonly priceM2: number; readonly priceM2Discount: number; readonly priceTotal: number; readonly priceTotalDiscount: number; readonly priceUSD: IPriceUSD; readonly properties: IFlatProperty[]; readonly roomCount: number; readonly rooms: IRoomItem[]; readonly sections: ModelSimpleSection[] | ISimpleSection[]; readonly totalArea: number; readonly twoLevelFlats: boolean; readonly unitId: number; readonly unitTypeId: number; readonly unitNumber: number; readonly unitTypeName: string; } export declare class ModelFlatTypeSearchItem extends Basemodel { readonly buildings: ModelSimpleBuilding[] | ISimpleBuilding[]; readonly complex: ModelComplexDim | IComplexDim; readonly dateBuild: Date; readonly discountTypeId: number; readonly discounts: IDiscount[]; readonly promotion: IPromotion; readonly floorRanges: string[]; readonly floors: IFloorItem[]; readonly id: number; readonly imageWithWallsUrl: string; readonly isAvailable: boolean; readonly isReserved: boolean; readonly isHotSale: boolean; readonly livingArea: number; readonly maxDiscount: IDiscount; readonly minPriceM2: number; readonly minPriceTotal: number; readonly percentDiscount: number; readonly planType: string; readonly priceM2: number; readonly priceM2Discount: number; readonly priceTotal: number; readonly priceTotalDiscount: number; readonly priceUSD: IPriceUSD; readonly properties: IFlatProperty[]; readonly roomCount: number; readonly rooms: IRoomItem[]; readonly sections: ModelSimpleSection[] | ISimpleSection[]; readonly totalArea: number; readonly twoLevelFlats: boolean; readonly unitId: number; readonly unitTypeId: number; readonly unitNumber: number; readonly unitTypeName: string; constructor({ buildings, complex, dateBuild, isHotSale, discountTypeId, discounts, promotion, floorRanges, floors, id, imageWithWallsUrl, isAvailable, isReserved, livingArea, maxDiscount, minPriceM2, minPriceTotal, percentDiscount, planType, priceM2, priceM2Discount, priceTotal, priceTotalDiscount, priceUSD, properties, roomCount, rooms, sections, totalArea, twoLevelFlats, unitId, unitTypeId, unitNumber, unitTypeName }?: Partial); clone(): ModelFlatTypeSearchItem; serialize(): IFlatTypeSearchItem; } export {};