From 6c31fd164b4e3cd9728bd4267249e19e71a8e371 Mon Sep 17 00:00:00 2001 From: Vernon Keenan Date: Tue, 2 May 2023 03:00:15 +0000 Subject: [PATCH] eventcategoryid --- api/members/members_models/event.go | 3 +++ api/sfgate/sfgate_models/event.go | 3 +++ swagger/defs/event.yaml | 3 +++ 3 files changed, 9 insertions(+) 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