Current section
Files
Jump to
Current section
Files
lib/merchant/model/customer.ex
defmodule Merchant.Customer do
@moduledoc """
Provides struct and type for a Customer
"""
use TypedStruct
typedstruct do
field(:date_of_birth, Date.t() | nil)
field(:email, String.t() | nil)
field(:full_name, String.t() | nil)
field(:id, String.t() | nil)
field(:phone, String.t() | nil)
end
end