chore: create,get all announcements with pagination

This commit is contained in:
Matin
2025-01-29 14:38:53 +03:30
parent 63e5d1b925
commit d5268a396d
9 changed files with 177 additions and 13 deletions
@@ -16,7 +16,6 @@ export class Announcement extends BaseEntity {
@Column({ type: "timestamp", default: null, nullable: true })
publishAt: Date;
//TODO: Add service here
//TODO: Add customer here
@ManyToOne(() => DanakService, (service) => service.announcements, { eager: true, onDelete: "CASCADE" })
service: DanakService;