#1 all ratings are maped
This commit is contained in:
@@ -81,15 +81,23 @@ type AreaCol struct {
|
||||
// The cols must be defined by the letter of the col
|
||||
// for example "A" for the first col
|
||||
type Rating struct {
|
||||
Sheet int `json:"sheet"`
|
||||
StartRow int `json:"start_row"`
|
||||
EndRow int `json:"end_row"`
|
||||
PointsCol string `json:"points_col"`
|
||||
MaxPointsCol string `json:"max_points_col"`
|
||||
IDCol string `json:"id_col"`
|
||||
ShortNameCol string `json:"short_name_col"`
|
||||
NameCol string `json:"name_col"`
|
||||
EstimationsCol string `json:"estimations_col"`
|
||||
WeightCol string `json:"weight_col"`
|
||||
SelectedByUserCol string `json:"selected_by_user_col"`
|
||||
Sheet int `json:"sheet"`
|
||||
StartRow int `json:"start_row"`
|
||||
EndRow int `json:"end_row"`
|
||||
Cols []RatingCol `json:"cols"`
|
||||
PointsCol string `json:"points_col"`
|
||||
MaxPointsCol string `json:"max_points_col"`
|
||||
IDCol string `json:"id_col"`
|
||||
ShortNameCol string `json:"short_name_col"`
|
||||
NameCol string `json:"name_col"`
|
||||
EstimationsCol string `json:"estimations_col"`
|
||||
WeightCol string `json:"weight_col"`
|
||||
SelectedByUserCol string `json:"selected_by_user_col"`
|
||||
}
|
||||
|
||||
type RatingCol struct {
|
||||
Col string `json:"col"`
|
||||
Field string `json:"field"`
|
||||
Type string `json:"type"`
|
||||
Default string `json:"default"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user