StrawHat.Map v2.0.0 StrawHat.Map.State View Source
A State entity.
Link to this section Summary
Link to this section Types
Link to this type
state_attrs() View Source
Link to this type
t()
View Source
t()
View Source
t() :: %StrawHat.Map.State{
__meta__: term(),
cities: Schema.has_many(StrawHat.Map.City.t()),
code: String.t(),
counties: Schema.has_many(StrawHat.Map.County.t()),
country: Schema.belongs_to(State.t()),
country_id: String.t(),
id: String.t(),
inserted_at: DateTime.t(),
name: String.t(),
updated_at: DateTime.t()
}
t() :: %StrawHat.Map.State{
__meta__: term(),
cities: Schema.has_many(StrawHat.Map.City.t()),
code: String.t(),
counties: Schema.has_many(StrawHat.Map.County.t()),
country: Schema.belongs_to(State.t()),
country_id: String.t(),
id: String.t(),
inserted_at: DateTime.t(),
name: String.t(),
updated_at: DateTime.t()
}
Link to this section Functions
Link to this function
changeset(state, state_attrs)
View Source
changeset(state, state_attrs)
View Source
changeset(t(), state_attrs()) :: Ecto.Changeset.t()
changeset(t(), state_attrs()) :: Ecto.Changeset.t()