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_spec.rb
2021-08-23 10:26:02 +02:00

8 lines
132 B
Ruby

class PProductSpec < ApplicationRecord
belongs_to :p_product
def name
self.code.to_s+" "+self.description.to_s
end
end