import { BaseEntity, EntityId, RelationType } from "../../../src"; import { Task } from "./Task"; import { User } from "./User"; export declare class Comment extends BaseEntity { static relations: { readonly task: { readonly type: RelationType.ManyToOne; readonly to: () => typeof Task; readonly inversedBy: "comments"; readonly foreignKey: "taskId"; }; readonly author: { readonly type: RelationType.ManyToOne; readonly to: () => typeof User; readonly inversedBy: "comments"; readonly foreignKey: "authorId"; }; }; message: string; taskId: EntityId; authorId: EntityId; } //# sourceMappingURL=Comment.d.ts.map