update Judgement.ts

merge-requests/1/head
eirk@staff.libraryofcode.org 2021-12-25 13:28:17 -05:00
parent ba4b92c953
commit 2b12bf506f
1 changed files with 7 additions and 7 deletions

View File

@ -1,6 +1,6 @@
import { prop } from '@typegoose/typegoose';
enum Severity {
export enum Severity {
Low,
Medium,
High,
@ -10,21 +10,21 @@ export default class Judgement {
@prop({ required: true })
public jID: string;
@prop()
@prop({required: true})
public userID: string;
@prop({ required: true })
public enteredBy: string;
@prop()
@prop({required: true})
public severity: Severity;
@prop()
@prop({required: true})
public date: Date;
@prop()
public expires?: Date;
public expires: Date;
@prop()
public description?: string;
public description: string;
}