cr-database/models/Customer.ts

10 lines
186 B
TypeScript
Raw Normal View History

2022-02-28 11:51:44 -05:00
import { prop } from '@typegoose/typegoose';
export default class Customer {
@prop({ required: true })
public cusID: string;
@prop({ required: true })
public userID: string;
}