cr-database/mongodb-models/PagerNumber.ts

23 lines
413 B
TypeScript
Raw Normal View History

2022-02-28 11:51:44 -05:00
import { prop } from '@typegoose/typegoose';
export default class PagerNumberRaw {
@prop({ required: true })
public num: string;
@prop({ required: true })
public individualAssignID: string;
@prop({ required: true })
public emailAddresses: string[];
@prop({ required: true })
public discordIDs: string[];
2022-02-28 12:00:48 -05:00
@prop()
2022-02-28 11:51:44 -05:00
public receiveEmail: boolean;
2022-02-28 12:00:48 -05:00
@prop()
2022-02-28 11:51:44 -05:00
public receivePhone: boolean;
}