Sha256: 49dec4500a3255d9e902f3b1bd79521973ed4ba7f8c0ba537d1db818a3932719

Contents?: true

Size: 339 Bytes

Versions: 1

Compression:

Stored size: 339 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

1 entries across 1 versions & 1 rubygems

Version Path
unidom-inventory-0.2 app/models/unidom/inventory/grouped_inventory_item.rb