Skip to content

Commit

Permalink
Fixing model naming changes
Browse files Browse the repository at this point in the history
  • Loading branch information
rajagopal28 committed Jul 29, 2021
1 parent 5a7329c commit 88f20b6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions service/model/models.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,13 @@ type DriverAgeFactor struct {

type InsuranceGroupFactor struct {
Label string `json:"label"`
Group int `json:"group"`
Group string `json:"group"`
IsEligible bool `json:"is-eligible"`
factor float64 `json:"factor"`
Factor float64 `json:"factor"`
}

type LicenceValidityFactor struct {
Length int `json:"length"`
Length string `json:"length"`
Factor float64 `json:"factor"`
}

Expand Down

0 comments on commit 88f20b6

Please sign in to comment.