StrawHat.Map v2.0.0 StrawHat.Map.Address View Source
An Address entity.
Link to this section Summary
Link to this section Types
Link to this type
address_attrs() View Source
Link to this type
t()
View Source
t()
View Source
t() :: %StrawHat.Map.Address{
__meta__: term(),
city: Schema.belongs_to(StrawHat.Map.City.t()),
city_id: Integer.t(),
id: String.t(),
inserted_at: DateTime.t(),
line_one: String.t(),
line_two: String.t(),
locations: Schema.has_many(StrawHat.Map.Location.t()),
postal_code: String.t(),
updated_at: DateTime.t()
}
t() :: %StrawHat.Map.Address{
__meta__: term(),
city: Schema.belongs_to(StrawHat.Map.City.t()),
city_id: Integer.t(),
id: String.t(),
inserted_at: DateTime.t(),
line_one: String.t(),
line_two: String.t(),
locations: Schema.has_many(StrawHat.Map.Location.t()),
postal_code: String.t(),
updated_at: DateTime.t()
}
Link to this section Functions
Link to this function
changeset(address, address_attrs, opts \\ [])
View Source
changeset(address, address_attrs, opts \\ [])
View Source
changeset(t(), address_attrs(), Keyword.t()) :: Ecto.Changeset.t()
changeset(t(), address_attrs(), Keyword.t()) :: Ecto.Changeset.t()