41 lines
1.4 KiB
Go
41 lines
1.4 KiB
Go
package types
|
|
|
|
import "time"
|
|
|
|
type Character struct {
|
|
AllianceID int64 `json:"alliance_id"`
|
|
Birthday time.Time `json:"birthday"`
|
|
BloodlineID int64 `json:"bloodline_id"`
|
|
CorporationID int64 `json:"corporation_id"`
|
|
Description string `json:"description"`
|
|
Gender string `json:"gender"`
|
|
Name string `json:"name"`
|
|
RaceID int64 `json:"race_id"`
|
|
SecurityStatus float64 `json:"security_status"`
|
|
}
|
|
|
|
type Corporation struct {
|
|
AllianceID int64 `json:"alliance_id"`
|
|
CeoID int64 `json:"ceo_id"`
|
|
CreatorID int64 `json:"creator_id"`
|
|
DateFounded time.Time `json:"date_founded"`
|
|
Description string `json:"description"`
|
|
HomeStationID int64 `json:"home_station_id"`
|
|
MemberCount int64 `json:"member_count"`
|
|
Name string `json:"name"`
|
|
Shares int64 `json:"shares"`
|
|
TaxRate float64 `json:"tax_rate"`
|
|
Ticker string `json:"ticker"`
|
|
URL string `json:"url"`
|
|
WarEligible bool `json:"war_eligible"`
|
|
}
|
|
|
|
type Alliance struct {
|
|
CreatorCorporationID int64 `json:"creator_corporation_id"`
|
|
CreatorID int64 `json:"creator_id"`
|
|
DateFounded time.Time `json:"date_founded"`
|
|
ExecutorCorporationID int64 `json:"executor_corporation_id"`
|
|
Name string `json:"name"`
|
|
Ticker string `json:"ticker"`
|
|
}
|