Sha256: ec378271542c887b90d1b20d44c8952da5e049516abb8aae56788ea0ea1902da

Contents?: true

Size: 411 Bytes

Versions: 11

Compression:

Stored size: 411 Bytes

Contents

##
# As EAN-8 Marked 是被 EAN-8 条形码标注的物品的领域逻辑关注点。

module Unidom::ArticleNumber::Concerns::AsEan8Marked

  extend ActiveSupport::Concern

  include Unidom::ArticleNumber::Concerns::AsMarked

  included do |includer|

    has_many :ean8_barcodes, through: :markings, source: :barcode, source_type: 'Unidom::ArticleNumber::Ean8Barcode'

  end

  module ClassMethods
  end

end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
unidom-article_number-3.0 app/models/unidom/article_number/concerns/as_ean8_marked.rb
unidom-article_number-2.3.7 app/models/unidom/article_number/concerns/as_ean8_marked.rb
unidom-article_number-2.3.6 app/models/unidom/article_number/concerns/as_ean8_marked.rb
unidom-article_number-2.3.5 app/models/unidom/article_number/concerns/as_ean8_marked.rb
unidom-article_number-2.3.4 app/models/unidom/article_number/concerns/as_ean8_marked.rb
unidom-article_number-2.3.3 app/models/unidom/article_number/concerns/as_ean8_marked.rb
unidom-article_number-2.3.2 app/models/unidom/article_number/concerns/as_ean8_marked.rb
unidom-article_number-2.3.1 app/models/unidom/article_number/concerns/as_ean8_marked.rb
unidom-article_number-2.3 app/models/unidom/article_number/concerns/as_ean8_marked.rb
unidom-article_number-2.2.3 app/models/unidom/article_number/concerns/as_ean8_marked.rb
unidom-article_number-2.2.2 app/models/unidom/article_number/concerns/as_ean8_marked.rb