export class Permission implements PermissionInterface { id : string ; description : string ; revocable : boolean ; validation ? : Array < ( ) => ValidationResult > ; constructor ( permission ) { this . id = permission . id ; this . description = permission . description ; this . revocable = permission . revocable ; this . validation = permission . validation ; } }