Sha256: 532ed3cee3d47311ad4922b172df669e3e9fa2d897845252a2c9c0e7cd1c10fe

Contents?: true

Size: 514 Bytes

Versions: 1

Compression:

Stored size: 514 Bytes

Contents

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

module Unidom
  module ArticleNumber
    module Concerns

      module AsEan13Marked

        extend ActiveSupport::Concern

        include Unidom::ArticleNumber::Concerns::AsMarked

        included do |includer|

          has_many :ean13_barcodes, through: :markings, source: :barcode, source_type: 'Unidom::ArticleNumber::Ean13Barcode'

        end

        module ClassMethods
        end

      end

    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
unidom-article_number-3.0.1 app/models/unidom/article_number/concerns/as_ean13_marked.rb