DoubleEntryLedger.JournalEventAccountLink (double_entry_ledger v0.1.0)
View SourceSchema for linking events and accounts.
Summary
Functions
Returns a changeset for the given JournalEventAccountLink and attrs.
Types
@type t() :: %DoubleEntryLedger.JournalEventAccountLink{ __meta__: term(), account: DoubleEntryLedger.Account.t() | Ecto.Association.NotLoaded.t(), account_id: Ecto.UUID.t() | nil, id: Ecto.UUID.t() | nil, inserted_at: DateTime.t() | nil, journal_event: DoubleEntryLedger.JournalEvent.t() | Ecto.Association.NotLoaded.t(), journal_event_id: Ecto.UUID.t() | nil, updated_at: DateTime.t() | nil }
Functions
@spec changeset(t(), map()) :: Ecto.Changeset.t(t())
Returns a changeset for the given JournalEventAccountLink and attrs.