2023-07-14 10:16:58 +08:00
|
|
|
package dto
|
|
|
|
|
2023-08-30 13:25:57 +08:00
|
|
|
import (
|
|
|
|
"time"
|
|
|
|
|
|
|
|
"joylink.club/bj-rtsts-server/db/model"
|
|
|
|
)
|
2023-07-28 11:15:44 +08:00
|
|
|
|
2023-07-14 10:16:58 +08:00
|
|
|
// 分页查询用户请求
|
|
|
|
type PageUserReqDto struct {
|
|
|
|
PageQueryDto
|
2023-07-14 16:28:47 +08:00
|
|
|
// 用户名
|
|
|
|
Name string `json:"name" form:"name"`
|
|
|
|
// 手机号
|
2023-07-14 10:16:58 +08:00
|
|
|
Mobile string `json:"mobile" form:"mobile"`
|
|
|
|
}
|
2023-07-28 11:15:44 +08:00
|
|
|
|
|
|
|
type RegisterUser = model.User
|
2023-08-30 13:25:57 +08:00
|
|
|
|
|
|
|
type UserRspDto struct {
|
|
|
|
ID int32 `json:"id" form:"id"`
|
|
|
|
Name string `json:"name" form:"name"` // 名字
|
|
|
|
Mobile string `json:"mobile" form:"mobile"` // 手机号
|
|
|
|
RegisterTime time.Time `json:"register_time" form:"register_time"` // 注册时间
|
|
|
|
Roles []*AuthRoleRspDto `json:"roles" form:"roles"`
|
|
|
|
}
|