22 lines
414 B
TypeScript
22 lines
414 B
TypeScript
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;
|
|
|
|
@prop({ required: true })
|
|
public used: boolean;
|
|
}
|