package
Version:
v0.0.0-...-775f829
Opens a new window with list of versions in this module.
Published: Mar 26, 2023
License: MIT
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type AddGoods struct {
Barcode string `json:"barcode" binding:"required"`
Name string `json:"name" binding:"required"`
Spec string `json:"spec" `
Cost float64 `json:"cost" binding:"required"`
Price float64 `json:"price" binding:"required"`
Brand string `json:"brand" `
MadeIn string `json:"made_in" `
Img string `json:"img" `
}
type AuthJWT struct {
Storehouse string `json:"storehouse"`
Account string `json:"account"`
}
type CoreExport struct {
Account string `json:"account" binding:"required"`
Password string `json:"password" binding:"required"`
}
type IOList struct {
Offset int `json:"offset"`
Limit int `json:"limit"`
}
type IORevoke struct {
OrderID string `json:"order_id" binding:"required"`
}
type ModifyGoods struct {
ID string `json:"id" binding:"required"`
Name string `json:"name" binding:"required"`
Spec string `json:"spec" `
Cost float64 `json:"cost" binding:"required"`
Price float64 `json:"price" binding:"required"`
Brand string `json:"brand" `
MadeIn string `json:"made_in" `
Img string `json:"img" `
}
type OutStock struct {
Barcode string `json:"barcode" binding:"required"`
Cost float64 `json:"cost" binding:"required"`
Price float64 `json:"price" binding:"required"`
NumberProducts int `json:"number_products" binding:"required"`
}
type UserInfo struct {
Account string `json:"account" binding:"required"`
}
type UserLogin struct {
Account string `json:"account" binding:"required"`
Password string `json:"password" binding:"required"`
}
type Warehousing struct {
Barcode string `json:"barcode" binding:"required"`
Cost float64 `json:"cost" binding:"required"`
NumberProducts int `json:"number_products" binding:"required"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.