Sha256: 37297b12ee38809dd645a8568415a84d4122f7e91905cc39b0126342d629ed23
Contents?: true
Size: 642 Bytes
Versions: 9
Compression:
Stored size: 642 Bytes
Contents
## # Lot 是批量。 class Unidom::Inventory::Lot < Unidom::Inventory::ApplicationRecord self.table_name = 'unidom_lots' include Unidom::Common::Concerns::ModelExtension validates :quantity, presence: true, numericality: true validates :identification_number, presence: true, length: { in: 2..columns_hash['identification_number'].limit } has_many :grouped_inventory_items, class_name: 'Unidom::Inventory::GroupedInventoryItem' has_many :serialized_inventory_items, class_name: 'Unidom::Inventory::SerializedInventoryItem' end unless Unidom::Common::Neglection.namespace_neglected? 'Unidom::Inventory::Lot'
Version data entries
9 entries across 9 versions & 1 rubygems