import { TTimeStatus } from "spm-core/enums"; import { Basemodel } from "../base/basemodel"; import { IComplexDim, ModelComplexDim } from "../dim-complex/dim-complex.model"; import { IFlatTypeSearchItem, ModelFlatTypeSearchItem } from "../flat-type/flat-type-search-item.model"; import { ISitePageParameters } from "../site-page-parameters/site-page-parameters.model"; import { IGalleryList } from "./news-listitem.model"; import { ModelPreviewNews } from "./preview-news.model"; export interface INews { readonly ceoUrl: string; readonly content: string; readonly endDate: Date; readonly groupRoute: string; readonly id: number; readonly imageUrl: string; readonly imageGallery: IGalleryList; readonly nextPage: ModelPreviewNews | null; readonly prevPage: ModelPreviewNews | null; readonly publishDate: string | Date; readonly seoDescription: string; readonly seoTitle: string; readonly startDate: Date; readonly timeStatus?: TTimeStatus; readonly title: string; readonly previewTitleImagePath: string; readonly flatTypes: ModelFlatTypeSearchItem[] | IFlatTypeSearchItem[]; readonly sitePageTypeId: number; readonly pageStatus: number; readonly complexes: ModelComplexDim[] | IComplexDim[]; readonly sitePageParameters: ISitePageParameters[]; } export declare class ModelNews extends Basemodel implements INews { readonly ceoUrl: string; readonly content: string; readonly endDate: Date; readonly groupRoute: string; readonly id: number; readonly imageUrl: string; readonly imageGallery: IGalleryList; readonly nextPage: ModelPreviewNews | null; readonly prevPage: ModelPreviewNews | null; readonly publishDate: Date; readonly seoDescription: string; readonly seoTitle: string; readonly startDate: Date; readonly timeStatus?: TTimeStatus; readonly title: string; readonly previewTitleImagePath: string; readonly flatTypes: ModelFlatTypeSearchItem[]; readonly sitePageTypeId: number; readonly pageStatus: number; readonly complexes: ModelComplexDim[]; readonly sitePageParameters: ISitePageParameters[]; constructor({ ceoUrl, content, endDate, groupRoute, id, imageUrl, imageGallery, nextPage, prevPage, publishDate, seoDescription, previewTitleImagePath, seoTitle: seoHeader, startDate, title, flatTypes, sitePageTypeId, pageStatus, complexes, sitePageParameters }?: Partial); clone(): ModelNews; serialize(): INews; }