Sha256: ceff27b1deb304f06db9409b4f9e8e02aab51d75f44471dd5cd59c4eb0dfd850

Contents?: true

Size: 514 Bytes

Versions: 9

Compression:

Stored size: 514 Bytes

Contents

##
# Serialized Inventory Item 是序列化库存项。

class Unidom::Inventory::SerializedInventoryItem < Unidom::Inventory::ApplicationRecord

  self.table_name = 'unidom_serialized_inventory_items'

  include Unidom::Common::Concerns::ModelExtension
  include Unidom::Inventory::Concerns::AsInventoryItem

  validates :serial_number, presence: true, length: { in: 2..columns_hash['serial_number'].limit }

end unless Unidom::Common::Neglection.namespace_neglected? 'Unidom::Inventory::SerializedInventoryItem'

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
unidom-inventory-2.0 app/models/unidom/inventory/serialized_inventory_item.rb
unidom-inventory-1.0.5 app/models/unidom/inventory/serialized_inventory_item.rb
unidom-inventory-1.0.4 app/models/unidom/inventory/serialized_inventory_item.rb
unidom-inventory-1.0.3 app/models/unidom/inventory/serialized_inventory_item.rb
unidom-inventory-1.0.2 app/models/unidom/inventory/serialized_inventory_item.rb
unidom-inventory-1.0.1 app/models/unidom/inventory/serialized_inventory_item.rb
unidom-inventory-1.0 app/models/unidom/inventory/serialized_inventory_item.rb
unidom-inventory-0.8 app/models/unidom/inventory/serialized_inventory_item.rb
unidom-inventory-0.7.5 app/models/unidom/inventory/serialized_inventory_item.rb