Merge branch 'main' of https://git.shiblysolution.id/SAUDE-TL/entity
This commit is contained in:
@ -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
|
||||
|
||||
Reference in New Issue
Block a user