package entity

// AdminResp \game\game_cluster\nodes\webadmin\entity\admin.go
type AdminResp struct {
	ToKen string `json:"token"`
}
type AdminLoginReq struct {
	Username string `json:"username"`
	Password string `json:"password"`
}
type AdminAddReq struct {
	Password string `json:"password"`
	RealName string `json:"real_name"`
	Username string `json:"username"`
	Pid      int64  `json:"pid"`
	RoleId   int64  `json:"role_id"`
	Status   int    `json:"status"`
}

// Admin \game\game_cluster\nodes\webadmin\entity\admin.go
type AdminChangePasswordReq struct {
	Password string `json:"

"`
	Username string `json:"username"`
}

type AdminDelReq struct {
	Username string `json:"username"`
}

type AdminFindAllReq struct {
	Page     int    `json:"page"`
	Size     int    `json:"size"`
	Username string `json:"username"`
}

type AdminUpdateStatusReq struct {
	Username string `json:"username"`
	Status   int    `json:"status"`
}
