Some checks failed
Build and Publish / build-release (push) Failing after 1s
28 lines
431 B
Elixir
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
|