Sha256: f0353a24f77fed00cd0e45b777ab00bf3fd7f1f4ed7da38878f3e5f544a51741

Contents?: true

Size: 186 Bytes

Versions: 9

Compression:

Stored size: 186 Bytes

Contents

module Logistics
  module Core
    class StandardRemark < ApplicationRecord
      validates :code, :description, presence: true
      validates :code, uniqueness: true
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
logistics_core-21.11.2 app/models/logistics/core/standard_remark.rb
logistics_core-21.11.1 app/models/logistics/core/standard_remark.rb
logistics_core-21.08.1 app/models/logistics/core/standard_remark.rb
logistics_core-21.03.1 app/models/logistics/core/standard_remark.rb
logistics_core-20.10.3 app/models/logistics/core/standard_remark.rb
logistics_core-20.10.2 app/models/logistics/core/standard_remark.rb
logistics_core-20.10.1 app/models/logistics/core/standard_remark.rb
logistics_core-20.9.1 app/models/logistics/core/standard_remark.rb
logistics_core-20.8.1 app/models/logistics/core/standard_remark.rb