Initial commit: Harat's Booking monorepo with deploy setup

This commit is contained in:
Eugenius-Anonymous
2026-06-08 14:36:51 +07:00
commit c97f7fd1a8
89 changed files with 10536 additions and 0 deletions
@@ -0,0 +1,15 @@
import { PrismaClient } from '@prisma/client';
const prisma = new PrismaClient();
export class BillboardService {
async getByPub(pubId: number) {
return prisma.billboard.findMany({
where: {
pubId,
datetime: { gte: new Date() },
},
orderBy: { datetime: 'asc' },
});
}
}