16 lines
283 B
TypeScript
16 lines
283 B
TypeScript
|
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;
|
||
|
}
|