refactor: changed notification entity by adding subject and message

This commit is contained in:
2026-08-01 00:11:55 +03:30
parent b8c1e06e65
commit 13d41ed0ac
@@ -10,6 +10,17 @@ export class AppNotification extends BaseEntity {
})
isRead: boolean;
@Column({
type: 'varchar',
length: 100
})
subject: string;
@Column({
type: 'text'
})
message: string;
@ManyToOne(() => User, (user) => user.notifications)
receiver: User;