import AttachmentEntity from "./AttachmentEntity"; export default class PostEntity { private id; private userId; private text; private attachments; private date; constructor(id: string, userId: string, text: string, attachments: AttachmentEntity[], date: number); getId(): string; getUserId(): string; getText(): string; getAttachments(): AttachmentEntity[]; setId(value: string): void; setUserId(value: string): void; setText(value: string): void; setAttachments(value: AttachmentEntity[]): void; getDate(): number; setDate(value: number): void; static parse(json: string): PostEntity; static fromObject(object: any): PostEntity; }