Files
Agent-System/internal/quote/models.go
T

28 lines
818 B
Go

package quote
type Input struct {
CustomerName string `json:"customer_name"`
ProductName string `json:"product_name"`
Author string `json:"author"`
Hours map[string]float64 `json:"hours"`
}
type SummaryLine struct {
Code string `json:"code"`
Name string `json:"name"`
PersonYear float64 `json:"person_year"`
Cost float64 `json:"cost"`
Buffer float64 `json:"buffer"`
Margin float64 `json:"margin"`
Tax float64 `json:"tax"`
Price float64 `json:"price"`
}
type Summary struct {
CustomerName string `json:"customer_name"`
ProductName string `json:"product_name"`
Lines []SummaryLine `json:"lines"`
TotalPrice float64 `json:"total_price"`
Notes []string `json:"notes"`
}