access.graphqls 405 字节
## type
type Access{
  id: Int
  parentId: Int
  accessName: String
  accessCode: String
  accessType: String
  sort: Int
  object: String
  action: String
  module: String
  icon: String
  status: Int
  user: Users
}

##  input
input menuAccessInput{
  name: String
}
extend type Query {
  menu(input: menuAccessInput): [Access!]
}
extend type Mutation {
  createMenu(input: menuAccessInput): [Access!]
}