import { OAuthScope as ScopeModel } from "@prisma/client" ; import { OAuthScope } from "@jmondi/oauth2-server" ; export class Scope implements ScopeModel , OAuthScope { readonly id : string ; name : string ; constructor ( entity ) { this . id = entity . id ; this . name = entity . name ; } }