mobilizon/lib/mobilizon/events/event_participation_condition.ex
2019-09-13 01:01:17 +02:00

20 lines
383 B
Elixir

defmodule Mobilizon.Events.EventParticipationCondition do
@moduledoc """
Represents an event participation condition.
"""
use Ecto.Schema
@type t :: %__MODULE__{
title: String.t(),
content: String.t(),
url: String.t()
}
embedded_schema do
field(:title, :string)
field(:content, :string)
field(:url, :string)
end
end