17 lines
407 B
Go
17 lines
407 B
Go
package models
|
|
|
|
import (
|
|
"encoding/json"
|
|
"time"
|
|
)
|
|
|
|
type ComponentCode struct {
|
|
ID int64 `json:"id"`
|
|
ComponentID int64 `json:"componentId"`
|
|
Code string `json:"code"`
|
|
CodeType string `json:"codeType"`
|
|
IsPrimary bool `json:"isPrimary"`
|
|
Metadata json.RawMessage `json:"metadata"`
|
|
CreatedAt time.Time `json:"createdAt"`
|
|
}
|