Sha256: 57aca50a50b9d75c1f61a5ae1149d257d84676e82602bf96cec279d8025554fe
Contents?: true
Size: 393 Bytes
Versions: 12
Compression:
Stored size: 393 Bytes
Contents
module Comee module Core class ShipmentInstructionItem < ApplicationRecord belongs_to :shipment_instruction belongs_to :shipment_item belongs_to :unit validates :delivery_note_no, :pallet_no, :goods_issue_date, presence: true validates :length, :width, :height, :weight, :quantity, :price, presence: true, numericality: {greater_than: 0} end end end
Version data entries
12 entries across 12 versions & 1 rubygems