Sha256: 3c28c2ac9a788277c04f13dc175953ae7c7eaf7fb9a62e58f3dfc0d466b2a51e

Contents?: true

Size: 529 Bytes

Versions: 1

Compression:

Stored size: 529 Bytes

Contents

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

  has_many :requirement_party_roles, :dependent => :destroy
  has_many :parties, :through => :requirement_party_roles

  #link to support the relationship between requirements and the work_efforts necessary to fulfill them
  has_many  :work_requirement_fulfillments
  has_many  :work_efforts, :through => :work_requirement_fulfillments

  belongs_to :requirement_type
  belongs_to :requirement_record, :polymorphic => true

  has_file_assets

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
erp_work_effort-4.2.0 app/models/requirement.rb