cr-database/mongodb-models/Promo.ts

10 lines
179 B
TypeScript
Raw Normal View History

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