Files
customer-service/lib/customer_service/commands.ex
HaimKortovich b1b1c21e4e
Some checks failed
Build and Publish / build-release (push) Failing after 1s
init commit
2026-04-15 16:20:22 -05:00

28 lines
431 B
Elixir

defmodule CustomerService.Commands.CreateCustomer do
defstruct [
:id,
:first_name,
:last_name,
:birth_date,
:gender,
:email,
:phone,
:address,
:document_id
]
end
defmodule CustomerService.Commands.CreateCorporateCustomer do
defstruct [
:id,
:legal_name,
:commercial_name,
:ruc,
:legal_rep_name,
:legal_rep_document_id,
:email,
:phone,
:address
]
end