Sha256: c84a6c23a8044df87a42e36363cdce7d0e5af09ba85c62fd4a4b5b75974d8e3d

Contents?: true

Size: 155 Bytes

Versions: 5

Compression:

Stored size: 155 Bytes

Contents

module Ecom
  module Model
    class TaskTemplateType < ApplicationRecord
      validates :code, :name, presence: true, uniqueness: true
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
ecom_model-2.0.4 app/models/ecom/model/task_template_type.rb
ecom_model-2.0.3 app/models/ecom/model/task_template_type.rb
ecom_model-2.0.2 app/models/ecom/model/task_template_type.rb
ecom_model-2.0.1 app/models/ecom/model/task_template_type.rb
ecom_model-2.0.0 app/models/ecom/model/task_template_type.rb