WIP - scaffold approvals
This commit is contained in:
15
backend/src/models/task.model.ts
Normal file
15
backend/src/models/task.model.ts
Normal file
@@ -0,0 +1,15 @@
|
||||
import { BaseModel } from './base.model';
|
||||
|
||||
export class Task extends BaseModel {
|
||||
static tableName = 'tasks';
|
||||
|
||||
id!: string;
|
||||
title!: string;
|
||||
description?: string;
|
||||
status!: string;
|
||||
priority?: string;
|
||||
dueAt?: Date;
|
||||
assignedToId?: string | null;
|
||||
relatedObjectType?: string | null;
|
||||
relatedObjectId?: string | null;
|
||||
}
|
||||
Reference in New Issue
Block a user