katoikia-app/servicio-reservaciones/src/schemas/reservation.schema.ts

15 lines
273 B
TypeScript
Raw Normal View History

import { Schema, Prop, SchemaFactory } from '@nestjs/mongoose';
import { Document } from 'mongoose';
export type ReservationDocument = Reservation & Document;
export class Reservation {
}
export const ReservationSchema = SchemaFactory.createForClass(Reservation);