Skip to content

Commit ad5ac0b

Browse files
committed
add: ad status to dto event
1 parent c415aaa commit ad5ac0b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

domain/event.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,7 @@ type EventDTO struct {
175175
Capacity int `json:"capacity"`
176176
RegistrationLink string `json:"registration_link"`
177177
SessionType string `json:"session_type"`
178+
Status string `json:"status"`
178179
}
179180

180181
type UpdateEvenPayload struct {
@@ -284,6 +285,7 @@ func (e Event) ToDTO() EventDTO {
284285
ImageEvent: e.Image,
285286
DateEvent: e.Date,
286287
Type: e.Type,
288+
Status: e.Status,
287289
Location: e.Location,
288290
Duration: e.Duration,
289291
Capacity: e.Capacity,

0 commit comments

Comments
 (0)