Files
Portfolio-Engine/internal/model/company.go
2026-03-24 21:31:01 +01:00

17 lines
377 B
Go

package model
type Company struct {
ID int
Name string
SharesOutstanding int
Price float64
CurrencyID int
}
type CompanyInput struct {
Name string `json:"name"`
SharesOutstanding int `json:"shares_outstanding"`
Price float64 `json:"price"`
CurrencyID int `json:"currency_id"`
}