2022-02-28 11:51:44 -05:00
|
|
|
import { prop } from '@typegoose/typegoose';
|
|
|
|
|
|
|
|
export default class Rank {
|
|
|
|
@prop({ required: true })
|
|
|
|
public name: string;
|
|
|
|
|
|
|
|
@prop({ required: true })
|
|
|
|
public roleID: string;
|
|
|
|
|
2022-03-01 13:34:28 -05:00
|
|
|
@prop({ default: [] })
|
2022-02-28 11:51:44 -05:00
|
|
|
public permissions: string[];
|
|
|
|
|
2022-02-28 12:00:48 -05:00
|
|
|
@prop()
|
2022-02-28 11:51:44 -05:00
|
|
|
public description: string;
|
|
|
|
}
|