1 2 3 4 5 6 7 8 9 10 11 12 13
export class RoleFunction { public name:string; public code:string; public type:string; public action:string; constructor(roleFun:any){ this.name= roleFun.name; this.code = roleFun.code; this.type = roleFun.type; this.action = roleFun.action; } }