Glific v0.3.1 Glific.Partners.Organization View Source
Organizations are the group of users who will access the system
Link to this section Summary
Functions
Standard changeset pattern we use for all data types
Link to this section Types
Specs
t() :: %Glific.Partners.Organization{ __meta__: Ecto.Schema.Metadata.t(), contact: Glific.Contacts.Contact.t() | Ecto.Association.NotLoaded.t() | nil, contact_id: non_neg_integer() | nil, days: list() | nil, default_language: Glific.Settings.Language.t() | Ecto.Association.NotLoaded.t() | nil, default_language_id: non_neg_integer() | nil, email: String.t() | nil, hours: list() | nil, id: non_neg_integer() | nil, inserted_at: :utc_datetime | nil, is_active: boolean() | true, name: String.t() | nil, out_of_office: Glific.Partners.OrganizationSettings.OutOfOffice.t() | nil, provider: Glific.Partners.Provider.t() | Ecto.Association.NotLoaded.t() | nil, provider_id: non_neg_integer() | nil, provider_key: String.t() | nil, provider_phone: String.t() | nil, shortcode: String.t() | nil, timezone: String.t() | nil, 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