mongodb model prop

master
Matthew 2022-03-01 13:44:04 -05:00
parent e784834ea8
commit 3113144340
No known key found for this signature in database
GPG Key ID: 210AF32ADE3B5C4B
1 changed files with 3 additions and 3 deletions

View File

@ -4,13 +4,13 @@ export default class PagerNumberRaw {
@prop({ required: true }) @prop({ required: true })
public num: string; public num: string;
@prop({ required: true }) @prop()
public individualAssignID: string; public individualAssignID: string;
@prop({ required: true }) @prop({ default: [] })
public emailAddresses: string[]; public emailAddresses: string[];
@prop({ required: true }) @prop({ default: [] })
public discordIDs: string[]; public discordIDs: string[];
@prop() @prop()