27 lines
595 B
Go
27 lines
595 B
Go
package model
|
|
|
|
type CreateOwnerResponse struct {
|
|
ID string `json:"_id"`
|
|
}
|
|
|
|
type CreateStaffResponse struct {
|
|
ID string `json:"_id"`
|
|
}
|
|
|
|
type ResetPasswordResponse struct {
|
|
Password string `json:"password"`
|
|
}
|
|
|
|
// ResponseCheckTokenSupplierUser ...
|
|
type ResponseCheckTokenSupplierUser struct {
|
|
IsValid bool `json:"isValid"`
|
|
Reason string `json:"reason"`
|
|
User ResponseSupplierUserInfo `json:"supplier"`
|
|
}
|
|
|
|
type ResponseSupplierUserInfo struct {
|
|
ID string `json:"_id"`
|
|
Name string `json:"name"`
|
|
SupplierID string `json:"supplierId"`
|
|
}
|