14 lines
191 B
Ruby
14 lines
191 B
Ruby
class PVolExcept < ApplicationRecord
|
|
|
|
belongs_to :p_brut_product
|
|
belongs_to :p_volucompteur
|
|
|
|
|
|
validates :justif, :presence => true
|
|
|
|
validates :qte, :presence => true
|
|
|
|
|
|
|
|
end
|