Sha256: 989976f9eb3fc78475c9a1ec27f767b213c36bf6e179b2bfa5a86d16c4ae2c5f

Contents?: true

Size: 340 Bytes

Versions: 5

Compression:

Stored size: 340 Bytes

Contents

# Grouped Inventory Item 是分组库存项。

class Unidom::Inventory::GroupedInventoryItem < ActiveRecord::Base

  self.table_name = 'unidom_grouped_inventory_items'

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

  validates :quantity, presence: true, numericality: true

end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
unidom-inventory-0.7 app/models/unidom/inventory/grouped_inventory_item.rb
unidom-inventory-0.6 app/models/unidom/inventory/grouped_inventory_item.rb
unidom-inventory-0.5 app/models/unidom/inventory/grouped_inventory_item.rb
unidom-inventory-0.4 app/models/unidom/inventory/grouped_inventory_item.rb
unidom-inventory-0.3 app/models/unidom/inventory/grouped_inventory_item.rb