12345678910111213141516171819202122232425262728293031323334353637 |
- package http_model
- type FindAllSubAccountRequest struct {
- PageNum int32 `json:"page"`
- PageSize int32 `json:"page_size"`
- SupplierId int `json:"supplier_id"` // 子账号属于的服务商id
- JobId int `json:"job_id"` // 岗位ID
- AccountStatus int `json:"account_status"` // 账号状态,1为正常,2为停用
- Condition string `json:"condition"` // 搜索框内容
- }
- type FindAllSubAccountInfo struct {
- SubAccountId int `json:"sub_account_id"` // 子账号ID
- PhoneNumber string `json:"phone_number"` // 手机号
- SubAccountName string `json:"sub_account_name"` // 子账号名称
- JobId int `json:"job_id"` // 岗位ID
- JobName string `json:"job_name"` // 岗位名称
- SupplierId int `json:"supplier_id"` // 所属服务商ID
- SupplierName string `json:"supplier_name"` // 所属服务商名称
- AccountStatus int `json:"account_status"` // 账号状态,1为正常,2为停用
- UserId int `json:"user_id"` // 用户表中ID
- }
- type FindAllSubAccountData struct {
- SubAccountInfo []*FindAllSubAccountInfo `json:"sub_account_info"` // 子账号信息列表
- Total int64 `json:"total"` // 总数
- }
- func NewFindAllSubAccountRequest() *FindAllSubAccountRequest {
- return new(FindAllSubAccountRequest)
- }
- func NewFindAllSubAccountResponse() *CommonResponse {
- resp := new(CommonResponse)
- resp.Data = new(FindAllSubAccountData)
- return resp
- }
|