All checks were successful
Deploy Smart Search Backend Test / deploy (push) Successful in 2m25s
35 lines
543 B
Go
35 lines
543 B
Go
package model
|
|
|
|
import (
|
|
"time"
|
|
|
|
"github.com/google/uuid"
|
|
)
|
|
|
|
type Supplier struct {
|
|
ID int
|
|
RequestID uuid.UUID
|
|
Name string
|
|
Email string
|
|
Phone string
|
|
Address string
|
|
URL string
|
|
CreatedAt time.Time
|
|
}
|
|
|
|
type TokenUsage struct {
|
|
ID int
|
|
RequestID uuid.UUID
|
|
RequestTokenCount int
|
|
ResponseTokenCount int
|
|
TokenCost float64
|
|
Type string
|
|
CreatedAt time.Time
|
|
}
|
|
|
|
type WriteOffHistory struct {
|
|
OperationID string
|
|
Data string
|
|
Amount float64
|
|
}
|