natsio/model/supplier_user_response.go

27 lines
595 B
Go
Raw Normal View History

2022-10-20 07:32:32 +00:00
package model
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"`
}
2022-12-29 06:49:04 +00:00
// 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"`
}