WIP
This commit is contained in:
12
lib/customer_service/events.ex
Normal file
12
lib/customer_service/events.ex
Normal file
@@ -0,0 +1,12 @@
|
||||
defmodule CustomerService.Events.CustomerCreated do
|
||||
@derive Jason.Encoder
|
||||
defstruct [
|
||||
:id,
|
||||
:first_name,
|
||||
:last_name,
|
||||
:birth_date,
|
||||
:gender,
|
||||
:email,
|
||||
:phone
|
||||
]
|
||||
end
|
||||
Reference in New Issue
Block a user