mirror of
https://github.com/fspc/BikeShed-1.git
synced 2026-09-16 08:31:36 -04:00
Created customers
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
class Customer < ActiveRecord::Base
|
||||
attr_accessible :first_name, :last_name, :addrStreet1,
|
||||
:addrStreet2, :addrCity, :addrState, :addrZip, :phone, :email
|
||||
|
||||
has_many :transactions
|
||||
|
||||
def to_s
|
||||
"#{first_name} #{last_name}"
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user