removed redundant ribica name from subfolders
This commit is contained in:
7
back-office/app/models/item.rb
Normal file
7
back-office/app/models/item.rb
Normal file
@@ -0,0 +1,7 @@
|
||||
class Item < ActiveRecord::Base
|
||||
belongs_to :unit
|
||||
has_many :multi_media_descriptions
|
||||
belongs_to :sub_category
|
||||
|
||||
validates_presence_of :name, :description, :list_price, :current_input_price, :tags, :unit_id, :code, :sub_category_id
|
||||
end
|
||||
Reference in New Issue
Block a user