company facts simple read out of xls works

This commit is contained in:
Andreas Schröpfer
2021-02-28 08:33:00 +01:00
parent e0faa1fc7c
commit 90af0db862
11 changed files with 197 additions and 170 deletions

View File

@@ -24,7 +24,7 @@ type CompanyFacts struct {
NumberOfEmployees int `json:"numberOfEmployees,omitempty"`
HasCanteen bool `json:"hasCanteen,omitempty"`
IsB2B bool `json:"isB2B,omitempty"`
AverageJourneyToWorkForStaffInKm float32 `json:"averageJourneyToWorkForStaffInKm,omitempty"`
AverageJourneyToWorkForStaffInKm float64 `json:"averageJourneyToWorkForStaffInKm,omitempty"`
Rating Rating `json:"rating,omitempty"`
}
@@ -38,7 +38,7 @@ type SupplyFraction struct {
type EmployeesFraction struct {
ID int `json:"id,omitempty"`
CountryCode string `json:"countryCode,omitempty"`
Percentage float32 `json:"percentage,omitempty"`
Percentage float64 `json:"percentage,omitempty"`
}
type IndustrySector struct {
@@ -54,24 +54,24 @@ type Rating struct {
type Topic struct {
Points int `json:"points,omitempty"`
MaxPoints float32 `json:"maxPoints,omitempty"`
MaxPoints float64 `json:"maxPoints,omitempty"`
ID int `json:"id,omitempty"`
ShortName string `json:"shortName,omitempty"`
Name string `json:"name,omitempty"`
Estimations int `json:"estimations,omitempty"`
Weight float32 `json:"weight,omitempty"`
Weight float64 `json:"weight,omitempty"`
IsWeightSelectedByUser bool `json:"isWeightSelectedByUser,omitempty"`
Aspects []Aspect `json:"aspects,omitempty"`
}
type Aspect struct {
Points int `json:"points,omitempty"`
MaxPoints float32 `json:"maxPoints,omitempty"`
MaxPoints float64 `json:"maxPoints,omitempty"`
ID int `json:"id,omitempty"`
ShortName string `json:"shortName,omitempty"`
Name string `json:"name,omitempty"`
Estimations int `json:"estimations,omitempty"`
Weight float32 `json:"weight,omitempty"`
Weight float64 `json:"weight,omitempty"`
IsWeightSelectedByUser bool `json:"isWeightSelectedByUser,omitempty"`
Aspects []Aspect `json:"aspects,omitempty"`
IsPositive bool `json:"isPositive,omitempty"`