Sha256: 01829cecc3ef1c8fbaa8acbc4a7b2a4e1f2e64b73d26ec27fd333dab17ea17bf
Contents?: true
Size: 418 Bytes
Versions: 1
Compression:
Stored size: 418 Bytes
Contents
# Serialized Inventory Item 是序列化库存项。 class Unidom::Inventory::SerializedInventoryItem < ActiveRecord::Base self.table_name = 'unidom_serialized_inventory_items' include Unidom::Common::Concerns::ModelExtension belongs_to :stored, polymorphic: true belongs_to :store, polymorphic: true validates :serial_number, presence: true, length: { in: 2..columns_hash['serial_number'].limit } end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
unidom-inventory-0.1 | app/models/unidom/inventory/serialized_inventory_item.rb |