cr-database/mongodb-models/Promo.ts

10 lines
179 B
TypeScript

import { prop } from '@typegoose/typegoose';
export default class Promo {
@prop({ required: true })
public code: string;
@prop({ required: true })
public pID: string;
}