Sha256: b3629f4cf5a5438d8b5d65a3c2f000ede7eaac3385df941572d7f283edd9eb3c

Contents?: true

Size: 361 Bytes

Versions: 1

Compression:

Stored size: 361 Bytes

Contents

##
# Grouped Inventory Item 是分组库存项。

class Unidom::Inventory::GroupedInventoryItem < Unidom::Inventory::ApplicationRecord

  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.7.4 app/models/unidom/inventory/grouped_inventory_item.rb