Last active
March 29, 2019 14:18
-
-
Save leandrocp/724791575a07eb987bd05ed651d95736 to your computer and use it in GitHub Desktop.
art_bc_customer_structs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# apps/sales/lib/domain/customer.ex | |
defmodule Sales.Domain.Customer do | |
defstruct [:id, :name, :address, :score, :has_support_ticket] | |
end | |
# apps/support/lib/domain/customer.ex | |
defmodule Support.Domain.Customer do | |
defstruct [:id, :name, :last_ticket_id, :email] | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment