Sha256: 0ce4d3210a41fe4b44ad86a21c61ff68f291a69ba686b06cf9b2e5647ec94cd2
Contents?: true
Size: 441 Bytes
Versions: 10
Compression:
Stored size: 441 Bytes
Contents
module Comee module Core class ShipmentInstructionItem < ApplicationRecord belongs_to :shipment_instruction belongs_to :shipment_item belongs_to :unit belongs_to :pod, optional: true belongs_to :delivery_note, optional: true validates :pallet_no, presence: true validates :length, :width, :height, :weight, :quantity, :price, presence: true, numericality: {greater_than: 0} end end end
Version data entries
10 entries across 10 versions & 1 rubygems