Spaces:
Running
Running
Bibhu Mishra
Add GitHub Actions CI/CD, HF Space deployment, market hours guard, and static serving
abc493d | import { Column, CreateDateColumn, Entity, OneToMany, PrimaryGeneratedColumn } from 'typeorm'; | |
| import { Notification } from './notification.entity'; | |
| ('users') | |
| export class User { | |
| () id: number; | |
| ({ unique: true }) email: string; | |
| () name: string; | |
| () password_hash: string; | |
| ({ default: 'pending' }) role: string; // admin | guest | pending | |
| ({ nullable: true }) approved_at: Date; | |
| () created_at: Date; | |
| (() => Notification, (n) => n.user) notifications: Notification[]; | |
| } | |