Sha256: cfa6439d661dff2dad44aedd156eda4901c5af29e62d09dc0775ca4176d185b5

Contents?: true

Size: 214 Bytes

Versions: 26

Compression:

Stored size: 214 Bytes

Contents

module MageRecord
  class Customer < EavRecord
    self.table_name = :customer_entity

    belongs_to :store
    belongs_to :website

    has_many :addresses, foreign_key: :parent_id
    has_many :orders
  end
end

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
magerecord-0.5.8 lib/magerecord/customer.rb
magerecord-0.5.7 lib/magerecord/customer.rb
magerecord-0.5.6 lib/magerecord/customer.rb
magerecord-0.5.5 lib/magerecord/customer.rb
magerecord-0.5.4 lib/magerecord/customer.rb
magerecord-0.5.3 lib/magerecord/customer.rb
magerecord-0.5.2 lib/magerecord/customer.rb
magerecord-0.5.1 lib/magerecord/customer.rb
magerecord-0.5.0 lib/magerecord/customer.rb
magerecord-0.4.0 lib/magerecord/customer.rb
magerecord-0.3.1 lib/magerecord/customer.rb
magerecord-0.3.0 lib/magerecord/customer.rb
magerecord-0.2.2 lib/magerecord/customer.rb
magerecord-0.2.1 lib/magerecord/customer.rb
magerecord-0.2.0 lib/magerecord/customer.rb
magerecord-0.1.12 lib/magerecord/customer.rb
magerecord-0.1.10 lib/magerecord/customer.rb
magerecord-0.1.9 lib/magerecord/customer.rb
magerecord-0.1.8 lib/magerecord/customer.rb
magerecord-0.1.6 lib/magerecord/customer.rb