models_gen.go
659 字节
// Code generated by github.com/99designs/gqlgen, DO NOT EDIT.
package model
type Role struct {
ID *int `json:"id"`
RoleName *string `json:"roleName"`
ParentID *int `json:"parentId"`
CreateTime *string `json:"createTime"`
UpdateTime *string `json:"updateTime"`
}
type CreateUsersInput struct {
Name string `json:"name"`
Phone string `json:"phone"`
}
type GetUsersInput struct {
ID int `json:"id"`
}
type ListUsersInput struct {
Offset int `json:"offset"`
Limit int `json:"limit"`
}
type RemoveUsersInput struct {
ID int `json:"id"`
}
type UpdateUsersInput struct {
ID int `json:"id"`
Name *string `json:"name"`
}