add core api
This commit is contained in:
@@ -1,9 +1,6 @@
|
||||
import { Hotel } from "@/database/entities/hotel.entity";
|
||||
import { PackageDetail } from "@/database/entities/package-detail.entity";
|
||||
import {
|
||||
Collection,
|
||||
Entity,
|
||||
ManyToMany,
|
||||
ManyToOne,
|
||||
PrimaryKey,
|
||||
Property,
|
||||
@@ -36,9 +33,4 @@ export class HotelSchedule {
|
||||
onUpdate: () => new Date(),
|
||||
})
|
||||
updatedAt!: Date;
|
||||
|
||||
// Inverse side
|
||||
|
||||
@ManyToMany(() => PackageDetail, (packageDetail) => packageDetail.tourHotels)
|
||||
tourPackageDetails = new Collection<PackageDetail>(this);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user