formatting and refactor member fields constant
This commit is contained in:
parent
e81aecce48
commit
dce2053ce7
6 changed files with 149 additions and 104 deletions
|
|
@ -3,7 +3,21 @@ defmodule Mv.Constants do
|
|||
Module for defining constants and atoms.
|
||||
"""
|
||||
|
||||
@member_fields [:first_name, :last_name, :email, :birth_date, :paid, :phone_number, :join_date, :exit_date, :notes, :city, :street, :house_number, :postal_code]
|
||||
@member_fields [
|
||||
:first_name,
|
||||
:last_name,
|
||||
:email,
|
||||
:birth_date,
|
||||
:paid,
|
||||
:phone_number,
|
||||
:join_date,
|
||||
:exit_date,
|
||||
:notes,
|
||||
:city,
|
||||
:street,
|
||||
:house_number,
|
||||
:postal_code
|
||||
]
|
||||
|
||||
def member_fields, do: @member_fields
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue