crv2/database/HardInquiry.ts

12 lines
377 B
TypeScript
Raw Normal View History

2024-03-25 15:12:04 -04:00
import { prop, getModelForClass, Ref } from "@typegoose/typegoose"
import Inquiry from "./Inquiry";
/**
* HardInquiry is a class which extends Inquiry.
* Structure is performed this way to have two separate collections for Hard and Soft inquiries.
*/
export default class HardInquiry extends Inquiry {
@prop({ required: true })
public reason: string | undefined;
}