mongodb model prop
parent
fb51d14c51
commit
e784834ea8
|
@ -8,7 +8,7 @@ export default class Merchant {
|
|||
@prop({ required: true })
|
||||
public key: string;
|
||||
|
||||
@prop({ required: true })
|
||||
@prop()
|
||||
public privileged: boolean;
|
||||
|
||||
@prop({ required: true })
|
||||
|
|
|
@ -19,7 +19,7 @@ export default class Moderation {
|
|||
@prop({ required: true })
|
||||
public moderatorID: string;
|
||||
|
||||
@prop({ required: true })
|
||||
@prop()
|
||||
public reason: string;
|
||||
|
||||
@prop({ required: true })
|
||||
|
|
|
@ -24,7 +24,7 @@ export default class Motion {
|
|||
absent: number;
|
||||
};
|
||||
|
||||
@prop({ required: true })
|
||||
@prop()
|
||||
public processed: boolean;
|
||||
|
||||
@prop({ required: true, unique: true })
|
||||
|
|
Loading…
Reference in New Issue