Glific v0.3.1 Glific.Contacts.Location View Source
Current location of a contact
Link to this section Summary
Functions
Standard changeset pattern we use for all data types
Link to this section Types
Specs
t() :: %Glific.Contacts.Location{
__meta__: Ecto.Schema.Metadata.t(),
contact: Glific.Contacts.Contact.t() | Ecto.Association.NotLoaded.t() | nil,
contact_id: term(),
id: non_neg_integer() | nil,
inserted_at: :utc_datetime | nil,
latitude: float() | nil,
longitude: float() | nil,
message: Glific.Messages.Message.t() | Ecto.Association.NotLoaded.t() | nil,
message_id: term(),
updated_at: :utc_datetime | nil
}
Link to this section Functions
Specs
changeset(t(), map()) :: Ecto.Changeset.t()
Standard changeset pattern we use for all data types