cr-database/mongodb/ExecutiveOrder.ts

23 lines
427 B
TypeScript
Raw Normal View History

2022-02-28 11:51:44 -05:00
import { prop } from '@typegoose/typegoose';
export default class ExecutiveOrder {
@prop({ required: true })
public issuer: string;
@prop({ required: true })
public subject: string;
@prop({ required: true })
public body: string;
@prop({ required: true })
public at: number;
@prop({ required: true, unique: true })
public oID: string;
@prop({ required: true, unique: true })
public msg: string;
}
2022-02-28 12:57:43 -05:00