StrawHat.Map v2.0.0 StrawHat.Map.County View Source

A County entity.

Link to this section Summary

Link to this section Types

Link to this type

county_attrs() View Source
county_attrs() :: %{name: String.t(), state_id: String.t()}

Link to this type

t() View Source
t() :: %StrawHat.Map.County{
  __meta__: term(),
  id: String.t(),
  inserted_at: DateTime.t(),
  name: String.t(),
  state: Schema.belongs_to(StrawHat.Map.State.t()),
  state_id: String.t(),
  updated_at: DateTime.t()
}

Link to this section Functions

Link to this function

changeset(city, county_attrs) View Source
changeset(t(), county_attrs()) :: Ecto.Changeset.t()