crra/database/HardInquiry.ts

12 lines
374 B
TypeScript
Raw Normal View History

2024-10-25 16:57:33 -04:00
import { prop, getModelForClass, Ref } from "@typegoose/typegoose";
2024-03-25 15:12:04 -04:00
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 {
2024-10-25 16:57:33 -04:00
@prop({ required: true })
public reason: string | undefined;
2024-03-25 15:12:04 -04:00
}