Skip to content

Commit 4ab70bd

Browse files
committed
Fixed model
Fix Date types in string
1 parent 32fe9cb commit 4ab70bd

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

task-manager/src/app/shared/models/database/project-task.entity.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,6 @@ export class ProjectTaskEntity extends Entity<DatabaseService> {
66
public id!: string;
77
public taskId!: string;
88
public projectId!: string;
9+
public createdAt!: Date;
10+
public updatedAt!: Date;
911
}

task-manager/src/app/shared/models/database/project-user.entity.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,6 @@ export class ProjectUserEntity extends Entity<DatabaseService> {
66
public id!: string;
77
public userId!: string;
88
public projectId!: string;
9+
public createdAt!: Date;
10+
public updatedAt!: Date;
911
}

0 commit comments

Comments
 (0)