cr-database/mongodb-models/CustomerPortal.ts

22 lines
396 B
TypeScript
Raw Normal View History

2022-02-28 11:51:44 -05:00
import { prop } from '@typegoose/typegoose';
export default class CustomerPortal {
@prop({ required: true })
public key: string;
@prop({ required: true })
public username: string;
@prop({ required: true })
public userID: string;
@prop({ required: true })
public emailAddress: string;
@prop({ required: true })
public expiresOn: Date;
2022-02-28 12:00:48 -05:00
@prop()
2022-02-28 11:51:44 -05:00
public used: boolean;
}