cr-database/models/PagerNumber.ts

23 lines
449 B
TypeScript
Raw Normal View History

2021-12-25 13:58:49 -05:00
import { prop } from '@typegoose/typegoose';
2021-12-25 13:37:42 -05:00
2021-12-25 13:58:49 -05:00
export default class PagerNumberRaw {
@prop({ required: true })
public num: string;
2021-12-25 13:37:42 -05:00
2021-12-25 13:58:49 -05:00
@prop({ required: true })
public individualAssignID: string;
@prop({ required: true })
public emailAddresses: string[];
2021-12-25 13:37:42 -05:00
2021-12-25 13:58:49 -05:00
@prop({ required: true })
public discordIDs: string[];
@prop({ required: true })
public receiveEmail: boolean;
@prop({ required: true })
public receivePhone: boolean;
}
2021-12-25 13:37:42 -05:00