brewman/overlord/src/app/role/permission.ts
2020-11-23 16:42:54 +05:30

12 lines
222 B
TypeScript

export class Permission {
id: string | undefined;
name: string;
enabled: boolean;
public constructor(init?: Partial<Permission>) {
this.name = '';
this.enabled = true;
Object.assign(this, init);
}
}