mobilizon.chapril.org-mobil.../lib/mobilizon/events/event_participation_condition.ex

20 lines
383 B
Elixir
Raw Normal View History

2019-09-13 01:01:17 +02:00
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