load commissioner

This commit is contained in:
Zin Lin Phyo
2017-08-23 10:24:26 +06:30
parent 74c2955ef0
commit fd1bfb7c0e
13 changed files with 738 additions and 255 deletions

View File

@@ -1,2 +1,4 @@
class Commission < ApplicationRecord
belongs_to :product, foreign_key: 'product_id'
has_many :commissioners
end