Add LOT model mapping management, UI, and first-seen tracking

This commit is contained in:
2026-02-15 19:51:04 +03:00
parent 3ffdf9b0e1
commit fd149c3d64
22 changed files with 987 additions and 56 deletions

View File

@@ -34,6 +34,15 @@ type Lot struct {
UpdatedAt time.Time `json:"updated_at"`
}
type LotModelMapping struct {
ID string `json:"id"`
Model string `json:"model"`
LotID string `json:"lot_id"`
LotCode string `json:"lot_code,omitempty"`
CreatedAt time.Time `json:"created_at"`
UpdatedAt time.Time `json:"updated_at"`
}
type Machine struct {
ID string `json:"id"`
ProjectID string `json:"project_id"`