feat: implement component-item management with CRUD operations and status updates
This commit is contained in:
14
internal/models/component_status_history_model.go
Normal file
14
internal/models/component_status_history_model.go
Normal file
@@ -0,0 +1,14 @@
|
||||
package models
|
||||
|
||||
import "time"
|
||||
|
||||
type ComponentStatusHistory struct {
|
||||
ID int64 `json:"id"`
|
||||
ComponentItemID int64 `json:"componentItemId"`
|
||||
OldStatus string `json:"oldStatus"`
|
||||
NewStatus string `json:"newStatus"`
|
||||
ChangedQuantity int32 `json:"changedQuantity"`
|
||||
Note string `json:"note"`
|
||||
ChangedBy string `json:"changedBy"`
|
||||
ChangedAt time.Time `json:"changedAt"`
|
||||
}
|
||||
Reference in New Issue
Block a user