19 lines
455 B
Go
19 lines
455 B
Go
package model
|
|
|
|
type Company struct {
|
|
ID int
|
|
Symbol string
|
|
SharesOutstanding int
|
|
Price float64
|
|
CurrencyID int
|
|
CurrencyCode string
|
|
}
|
|
|
|
type CompanyInput struct {
|
|
Symbol string `json:"symbol"`
|
|
SharesOutstanding int `json:"shares_outstanding"`
|
|
Price float64 `json:"price"`
|
|
CurrencyID int `json:"currency_id"`
|
|
CurrencyCode string `json:"currency_code"`
|
|
}
|