2021-12-25 13:58:49 -05:00
|
|
|
import { prop } from '@typegoose/typegoose';
|
2021-12-25 13:37:42 -05:00
|
|
|
|
2021-12-25 13:58:49 -05:00
|
|
|
export default class ExecutiveOrder {
|
|
|
|
@prop({ required: true })
|
|
|
|
public issuer: string;
|
|
|
|
|
|
|
|
@prop({ required: true })
|
|
|
|
public subject: string;
|
|
|
|
|
|
|
|
@prop({ required: true })
|
|
|
|
public body: string;
|
2021-12-25 13:37:42 -05:00
|
|
|
|
2021-12-25 13:58:49 -05:00
|
|
|
@prop({ required: true })
|
|
|
|
public at: number;
|
2021-12-25 13:37:42 -05:00
|
|
|
|
2021-12-25 13:58:49 -05:00
|
|
|
@prop({ required: true, unique: true })
|
|
|
|
public oID: string;
|
|
|
|
|
|
|
|
@prop({ required: true, unique: true })
|
|
|
|
public msg: string;
|
|
|
|
}
|