Current section
Files
Jump to
Current section
Files
lib/diffo/provider/components/party/extension/party_role.ex
# SPDX-FileCopyrightText: 2025 diffo contributors <https://github.com/diffo-dev/diffo/graphs.contributors>
#
# SPDX-License-Identifier: MIT
defmodule Diffo.Provider.Party.Extension.PartyRole do
@moduledoc """
PartyRole - DSL entity declaring a role this Party kind plays with respect to other Parties
"""
defstruct [:role, :party_type, __spark_metadata__: nil]
defimpl String.Chars do
def to_string(struct), do: inspect(struct)
end
end