StrawHat.Map v2.0.0 StrawHat.Map.City View Source
A City entity.
Link to this section Summary
Link to this section Types
Link to this type
city_attrs() View Source
Link to this type
t()
View Source
t()
View Source
t() :: %StrawHat.Map.City{
__meta__: term(),
addresses: Ecto.Schema.has_many(StrawHat.Map.Address.t()),
capital: boolean(),
county: Ecto.Schema.belongs_to(StrawHat.Map.County.t()),
county_id: Integer.t(),
id: String.t(),
inserted_at: DateTime.t(),
name: String.t(),
state: Ecto.Schema.belongs_to(StrawHat.Map.State.t()),
state_id: Integer.t(),
updated_at: DateTime.t()
}
t() :: %StrawHat.Map.City{
__meta__: term(),
addresses: Ecto.Schema.has_many(StrawHat.Map.Address.t()),
capital: boolean(),
county: Ecto.Schema.belongs_to(StrawHat.Map.County.t()),
county_id: Integer.t(),
id: String.t(),
inserted_at: DateTime.t(),
name: String.t(),
state: Ecto.Schema.belongs_to(StrawHat.Map.State.t()),
state_id: Integer.t(),
updated_at: DateTime.t()
}
Link to this section Functions
Link to this function
changeset(city, city_attrs)
View Source
changeset(city, city_attrs)
View Source
changeset(t(), city_attrs()) :: Ecto.Changeset.t()
changeset(t(), city_attrs()) :: Ecto.Changeset.t()