cr-database/mongodb-models/Rank.ts

16 lines
283 B
TypeScript
Raw Normal View History

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;
@prop({ required: true })
public permissions: string[];
2022-02-28 12:00:48 -05:00
@prop()
2022-02-28 11:51:44 -05:00
public description: string;
}