2022-10-20 07:32:32 +00:00
|
|
|
package model
|
|
|
|
|
2022-11-01 03:43:20 +00:00
|
|
|
type GetListOwnerResponse struct {
|
|
|
|
SupplierUsers []SupplierUserBrief `json:"supplierUsers"`
|
|
|
|
Total int64 `json:"total"`
|
|
|
|
}
|
|
|
|
|
|
|
|
type SupplierUserBrief struct {
|
|
|
|
ID string `json:"_id"`
|
|
|
|
Role RoleBrief `json:"role"`
|
|
|
|
Supplier SupplierShort `json:"supplier"`
|
|
|
|
Name string `json:"name"`
|
|
|
|
Phone string `json:"phone"`
|
|
|
|
Email string `json:"email"`
|
|
|
|
Status string `json:"status"`
|
|
|
|
Avatar interface{} `json:"avatar"`
|
|
|
|
Type string `json:"type"`
|
|
|
|
CreatedAt string `json:"createdAt"`
|
|
|
|
UpdatedAt string `json:"updatedAt"`
|
|
|
|
}
|
|
|
|
|
2022-10-28 02:31:39 +00:00
|
|
|
type CreateOwnerResponse struct {
|
2022-10-27 02:09:48 +00:00
|
|
|
ID string `json:"_id"`
|
|
|
|
}
|
|
|
|
|
2022-10-28 02:31:39 +00:00
|
|
|
type CreateStaffResponse struct {
|
2022-10-20 07:32:32 +00:00
|
|
|
ID string `json:"_id"`
|
|
|
|
}
|
2022-10-28 02:31:39 +00:00
|
|
|
|
|
|
|
type ResetPasswordResponse struct {
|
|
|
|
Password string `json:"password"`
|
|
|
|
}
|