export {}

declare global {
  namespace RoleTypes {

    interface SysRole {
      id?: string
      roleCode?: string
      roleName?: string
      memo?: string
      resIds?: string[]
    }

    interface SysResource {
      id?: string
      sn?: string
      memo?: string
    }

    type SearchForm = Pick<SysRole, 'roleCode' | 'roleName'>

  }
}

