cr-database/models/Rank.ts

16 lines
301 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[];
@prop({ required: true })
public description: string;
}