diff --git a/api/members/members_models/event.go b/api/members/members_models/event.go index 78b47dc..4ddaa8e 100644 --- a/api/members/members_models/event.go +++ b/api/members/members_models/event.go @@ -43,6 +43,9 @@ type Event struct { // event category EventCategory *EventCategory `json:"EventCategory,omitempty"` + // event category ID + EventCategoryID *string `json:"EventCategoryID,omitempty"` + // ID ID string `json:"ID,omitempty"` diff --git a/api/sfgate/sfgate_models/event.go b/api/sfgate/sfgate_models/event.go index 77df047..b4bcb2d 100644 --- a/api/sfgate/sfgate_models/event.go +++ b/api/sfgate/sfgate_models/event.go @@ -43,6 +43,9 @@ type Event struct { // event category EventCategory *EventCategory `json:"EventCategory,omitempty"` + // event category ID + EventCategoryID *string `json:"EventCategoryID,omitempty"` + // ID ID string `json:"ID,omitempty"` diff --git a/swagger/defs/event.yaml b/swagger/defs/event.yaml index eed6217..d995c4b 100644 --- a/swagger/defs/event.yaml +++ b/swagger/defs/event.yaml @@ -16,6 +16,9 @@ Event: x-nullable: true EventCategory: $ref: "./event-category.yaml#/EventCategory" + EventCategoryID: + type: string + x-nullable: true Description: type: string x-nullable: true