feat: add shelve management functionality
This commit is contained in:
14
internal/models/requests/shelve_request.go
Normal file
14
internal/models/requests/shelve_request.go
Normal file
@@ -0,0 +1,14 @@
|
||||
package requests
|
||||
|
||||
type CreateShelveRequest struct {
|
||||
CabinetID int64 `json:"cabinetId" binding:"required"`
|
||||
Name string `json:"name" binding:"required"`
|
||||
LevelIndex int32 `json:"levelIndex" binding:"required"`
|
||||
Description string `json:"description"`
|
||||
}
|
||||
|
||||
type UpdateShelveRequest struct {
|
||||
Name string `json:"name"`
|
||||
LevelIndex int32 `json:"levelIndex"`
|
||||
Description string `json:"description"`
|
||||
}
|
||||
Reference in New Issue
Block a user