type PermissionResult {
    totalCount: Int
    count: Int
    nodes: [Permission]
}

type Permission implements DbModel {
    id: ID
    name: String
    description: String

    deleted: Boolean
    editor: User
    createdUtc: String
    updatedUtc: String
}

input PermissionSort {
    id: SortOrder
    name: SortOrder
    description: SortOrder

    deleted: SortOrder
    editorId: SortOrder
    createdUtc: SortOrder
    updatedUtc: SortOrder
}

input PermissionFilter {
    id: IntFilter
    name: StringFilter
    description: StringFilter

    deleted: BooleanFilter
    editor: IntFilter
    createdUtc: DateFilter
    updatedUtc: DateFilter
}

input PermissionInput {
    id: ID
    name: String
    description: String
}
