import { Basemodel } from "../base/basemodel"; import { IPriceUSD, ModelPriceUsd } from "../currency/price-usd.model"; import { IDiscount } from "../discount/discount-model"; import { IPromotion } from "../discount/promotion-model"; import { IFlatPart, IFlatProperty } from "./flat-type-details.model"; export interface IFlatUnitDetailsSection { readonly id: number; readonly sectionNumber: number; readonly dateBuild: Date; readonly building: { readonly id: number; readonly buildingNumber: number; }; readonly minimapImageUrl: string; readonly installmentEndDate: Date; } export declare class ModelFlatUnitDetailsSection extends Basemodel { readonly id: number; readonly sectionNumber: number; readonly dateBuild: Date; readonly building: { readonly id: number; readonly buildingNumber: number; }; readonly minimapImageUrl: string; readonly installmentEndDate: Date; constructor({ id, sectionNumber, dateBuild, building, minimapImageUrl, installmentEndDate }?: Partial); clone(): ModelFlatUnitDetailsSection; serialize(): IFlatUnitDetailsSection; } export interface IFlatUnitDetailsBuildings { readonly id: number; readonly dateBuild: string; readonly buildingNumber: number; readonly buildingCoordinates: string; readonly buildingPoint: string; } export interface IFlatUnitDetailsComplex { readonly dateBuild: string; readonly district: string; readonly id: number; readonly title: string; readonly url: string; } export interface IFlatUnitTypeDetails { readonly id: number; readonly isAvailable?: boolean; readonly unitNumber: number; readonly promotion: IPromotion; readonly floorPathCoords: number[]; readonly pointer: string; readonly pointerPosition: string; readonly statusPointer: string; readonly totalAreaBti: number; readonly priceM2: number; readonly priceM2Actual: number; readonly priceM2Discount: number; readonly priceTotal: number; readonly priceTotalActual: number; readonly priceTotalDiscount: number; readonly unitTypeId: number; readonly flatTypeId: number; readonly planType: string; readonly levelCount: number; readonly livingArea: number; readonly roomCount: number; readonly floorId: number; readonly floorNumber: number; readonly section: ModelFlatUnitDetailsSection; readonly building: IFlatUnitDetailsBuildings; readonly complex: IFlatUnitDetailsComplex; readonly properties: IFlatProperty[]; readonly rooms: IFlatPart[]; readonly dateBuild: string | Date; readonly imageUrl: string; readonly pdfUrl: string; readonly floorImageUrl: string; readonly priceUSD: IPriceUSD; readonly discounts: IDiscount[]; readonly maxDiscount: IDiscount; } export declare class ModelFlatUnitTypeDetails extends Basemodel implements IFlatUnitTypeDetails { readonly id: number; readonly isAvailable?: boolean; readonly unitNumber: number; readonly promotion: IPromotion; readonly floorPathCoords: number[]; readonly pointer: string; readonly pointerPosition: string; readonly statusPointer: string; readonly totalAreaBti: number; readonly priceM2: number; readonly priceM2Actual: number; readonly priceM2Discount: number; readonly priceTotal: number; readonly priceTotalActual: number; readonly priceTotalDiscount: number; readonly unitTypeId: number; readonly flatTypeId: number; readonly planType: string; readonly levelCount: number; readonly livingArea: number; readonly roomCount: number; readonly floorId: number; readonly floorNumber: number; readonly section: ModelFlatUnitDetailsSection; readonly building: IFlatUnitDetailsBuildings; readonly complex: IFlatUnitDetailsComplex; readonly properties: IFlatProperty[]; readonly rooms: IFlatPart[]; readonly dateBuild: Date | string; readonly imageUrl: string; readonly pdfUrl: string; readonly floorImageUrl: string; readonly priceUSD: ModelPriceUsd | IPriceUSD; readonly discounts: IDiscount[]; readonly maxDiscount: IDiscount; constructor({ id, isAvailable, unitNumber, promotion, floorPathCoords, pointer, pointerPosition, statusPointer, totalAreaBti, priceM2, priceM2Actual, priceM2Discount, priceTotal, priceTotalActual, priceTotalDiscount, unitTypeId, flatTypeId, planType, levelCount, livingArea, roomCount, floorId, floorNumber, section, building, complex, properties, rooms, dateBuild, imageUrl, pdfUrl, floorImageUrl, priceUSD, discounts, maxDiscount }?: Partial); clone(): ModelFlatUnitTypeDetails; serialize(): IFlatUnitTypeDetails; }