PhoenixKitStaff.Schemas.Department (PhoenixKitStaff v0.2.0)

Copy Markdown View Source

Top-level organizational unit containing teams.

Summary

Types

t()

@type t() :: %PhoenixKitStaff.Schemas.Department{
  __meta__: term(),
  description: String.t() | nil,
  inserted_at: DateTime.t() | nil,
  name: String.t() | nil,
  teams: [PhoenixKitStaff.Schemas.Team.t()] | Ecto.Association.NotLoaded.t(),
  updated_at: DateTime.t() | nil,
  uuid: UUIDv7.t() | nil
}

Functions

changeset(dept, attrs)

@spec changeset(t() | Ecto.Changeset.t(t()), map()) :: Ecto.Changeset.t(t())