18 lines
530 B
Go
18 lines
530 B
Go
package domain
|
|
|
|
type History struct {
|
|
ID int64 `json:"id"`
|
|
Institution Institution `json:"institution"`
|
|
Compra float64 `json:"compra,omitempty"`
|
|
Venta float64 `json:"venta,omitempty"`
|
|
Parser string `json:"parser,omitempty"`
|
|
Parsed string `json:"parsed,omitempty"`
|
|
}
|
|
|
|
type Institution struct {
|
|
ID int64 `json:"id,omitempty"`
|
|
Name string `json:"name,omitempty"`
|
|
ShortName string `json:"short_name,omitempty"`
|
|
Created int64 `json:"created,omitempty"`
|
|
}
|