Sha256: bbee6327fc1aa6f518e1ca440be6bea2c9be7d492b823b13afb8d4a1c74fda10

Contents?: true

Size: 502 Bytes

Versions: 8

Compression:

Stored size: 502 Bytes

Contents

class PartyRelationship < ActiveRecord::Base
  attr_protected :created_at, :updated_at

  belongs_to :from_party, :class_name => "Party", :foreign_key => "party_id_from"
  belongs_to :to_party, :class_name => "Party", :foreign_key => "party_id_to"
  belongs_to :from_role, :class_name => "RoleType", :foreign_key => "role_type_id_from"
  belongs_to :to_role, :class_name => "RoleType", :foreign_key => "role_type_id_to"
  belongs_to :relationship_type, :class_name => "RelationshipType"

end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
erp_base_erp_svcs-4.2.0 app/models/party_relationship.rb
erp_base_erp_svcs-4.0.0 app/models/party_relationship.rb
erp_base_erp_svcs-3.1.5 app/models/party_relationship.rb
erp_base_erp_svcs-3.1.4 app/models/party_relationship.rb
erp_base_erp_svcs-3.1.3 app/models/party_relationship.rb
erp_base_erp_svcs-3.1.2 app/models/party_relationship.rb
erp_base_erp_svcs-3.1.1 app/models/party_relationship.rb
erp_base_erp_svcs-3.1.0 app/models/party_relationship.rb