Skip to content
Snippets Groups Projects
Commit cd5308e9 authored by Hugo SUBTIL's avatar Hugo SUBTIL
Browse files

feat(consent): add new field for safety sge onboarding

parent 06c128d4
No related branches found
No related tags found
4 merge requests!73Deploy Openshift v2,!65MEP: removed Meilisearch,!52back-office SGE before canary release,!48US878 feat(consent): add new field for safety sge onboarding
Pipeline #43464 passed
......@@ -14,15 +14,16 @@ import (
type Consent struct {
gorm.Model
Firstname string `json:"firstname"`
Lastname string `json:"lastname"`
Address string `json:"address"`
PointID int `json:"pointID"`
PostalCode string `json:"postalCode"`
City string `json:"city"`
InseeCode string `json:"inseeCode"`
EndDate time.Time `json:"endDate"`
ServiceID int `json:"serviceID,omitempty"`
Firstname string `json:"firstname"`
Lastname string `json:"lastname"`
Address string `json:"address"`
PointID int `json:"pointID"`
PostalCode string `json:"postalCode"`
City string `json:"city"`
SafetyBoarding bool `json:"safetyOnBoarding"`
InseeCode string `json:"inseeCode"`
EndDate time.Time `json:"endDate"`
ServiceID int `json:"serviceID,omitempty"`
}
func (dh *DataHandler) GetConsentById(w http.ResponseWriter, r *http.Request) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment