src/app/core/models/auth/role.model.ts
Properties |
|
constructor(name: string, permissions: Permission[], id?: number)
|
||||||||||||||||
Defined in src/app/core/models/auth/role.model.ts:3
|
||||||||||||||||
Parameters :
|
Public id |
id:
|
Type : number
|
Defined in src/app/core/models/auth/role.model.ts:5
|
Public name |
name:
|
Type : string
|
Defined in src/app/core/models/auth/role.model.ts:5
|
Public permissions |
permissions:
|
Type : Permission[]
|
Defined in src/app/core/models/auth/role.model.ts:5
|
import {Permission} from "./permission.model";
export class Role {
constructor(public name: string, public permissions: Permission[], public id?: number) {
}
}