View Source Glific.Groups.UserGroup (Glific v5.1.6)
A pipe for managing the user groups
Link to this section Summary
Functions
Standard changeset pattern we use for all data types
Link to this section Types
@type t() :: %Glific.Groups.UserGroup{ __meta__: Ecto.Schema.Metadata.t(), group: Glific.Groups.Group.t() | Ecto.Association.NotLoaded.t() | nil, group_id: term(), id: non_neg_integer() | nil, organization: Glific.Partners.Organization.t() | Ecto.Association.NotLoaded.t() | nil, organization_id: non_neg_integer() | nil, user: Glific.Users.User.t() | Ecto.Association.NotLoaded.t() | nil, user_id: term() }
Link to this section Functions
@spec changeset(t(), map()) :: Ecto.Changeset.t()
Standard changeset pattern we use for all data types