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 ScoreHistorical {
|
|
|
|
@prop({ required: true })
|
|
|
|
public userID: string;
|
2021-12-25 13:37:42 -05:00
|
|
|
|
2021-12-25 13:58:49 -05:00
|
|
|
@prop({ required: true })
|
|
|
|
public report: {
|
|
|
|
total: number;
|
|
|
|
activity: number;
|
|
|
|
roles: number;
|
|
|
|
moderation: number;
|
|
|
|
cloudServices: number;
|
|
|
|
staff: number;
|
|
|
|
other: number;
|
|
|
|
};
|
2021-12-25 13:37:42 -05:00
|
|
|
|
2021-12-25 13:58:49 -05:00
|
|
|
// error with Types.ObjectId[]
|
|
|
|
@prop({ required: true })
|
|
|
|
public inquiries: Types.ObjectId[];
|
2021-12-25 13:37:42 -05:00
|
|
|
|
2021-12-25 13:58:49 -05:00
|
|
|
@prop({ required: true })
|
|
|
|
public date: Date;
|
|
|
|
}
|