This repository has been archived on 2021-11-24. You can view files and clone it, but cannot push or open issues or pull requests.
phone_app/app/models/p_product_feature.rb
2021-08-23 10:26:02 +02:00

19 lines
325 B
Ruby

class PProductFeature < ApplicationRecord
belongs_to :p_product_feature_cat
belongs_to :p_product_ref
validates :p_product_feature_cat_id, :presence => true
def ca_name
self.p_product_feature_cat.name if self.p_product_feature_cat
end
QI_DYNAMICS = %w(name)
eval(QI_DYNAMICS_CORE)
end