This commit is contained in:
avicenan
2026-03-30 15:33:50 +07:00

View File

@ -9,18 +9,23 @@ import {
JoinColumn,
ManyToMany,
JoinTable,
OneToMany,
} from 'typeorm';
import { ServiceType } from './service_type';
import { Room } from './room';
import { ExaminationDetail } from './examination_detail';
import { Status } from '../types/status';
import { ServiceFare } from './service_fare';
@Entity('services')
export class Service {
@PrimaryGeneratedColumn('uuid')
id: string;
@OneToMany(() => ServiceFare, (servicefare) => servicefare.service)
servicefare: ServiceFare;
@Column({
nullable: false,
length: 256