import { BaseEntity, EntityId, RelationType } from "../../../src"; import { Comment } from "./Comment"; import { Project } from "./Project"; import { User } from "./User"; export declare class Task extends BaseEntity { static relations: { readonly creator: { readonly type: RelationType.ManyToOne; readonly to: () => typeof User; readonly inversedBy: "createdTasks"; }; readonly assignees: { readonly type: RelationType.ManyToMany; readonly to: () => typeof User; readonly inversedBy: "assignedTasks"; readonly optional: true; }; readonly comments: { readonly type: RelationType.OneToMany; readonly to: () => typeof Comment; readonly inversedBy: "task"; readonly optional: true; }; readonly project: { readonly type: RelationType.ManyToOne; readonly to: () => typeof Project; readonly inversedBy: "tasks"; readonly optional: true; }; }; name: string; description?: string; creatorId: EntityId; projectId?: EntityId; priority?: number; } //# sourceMappingURL=Task.d.ts.map