Current section
Files
Jump to
Current section
Files
lib/merchant/model/events.ex
defmodule Merchant.Events do
@moduledoc """
Provides struct and type for a Events
"""
use TypedStruct
alias Merchant.Event
typedstruct do
field(:booking_id, String.t())
field(:events, [Event.t()] | nil)
field(:type, String.t())
end
end