|
import { prop } from '@typegoose/typegoose';
|
|
|
|
export default class Rank {
|
|
@prop({ required: true })
|
|
public name: string;
|
|
|
|
@prop({ required: true })
|
|
public roleID: string;
|
|
|
|
@prop({ required: true })
|
|
public permissions: string[];
|
|
|
|
@prop()
|
|
public description: string;
|
|
}
|