16 lines
301 B
TypeScript
16 lines
301 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({ required: true })
|
||
|
public description: string;
|
||
|
}
|