cr-database/mongodb/PagerNumber.ts

23 lines
389 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;
2022-03-01 13:44:04 -05:00
@prop()
2022-02-28 11:51:44 -05:00
public individualAssignID: string;
2022-03-01 13:44:04 -05:00
@prop({ default: [] })
2022-02-28 11:51:44 -05:00
public emailAddresses: string[];
2022-03-01 13:44:04 -05:00
@prop({ default: [] })
2022-02-28 11:51:44 -05:00
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;
}