Sha256: c1fabd466f6b9b488ff1fd599426dd22ff7ef53e37f1527360dfd16708c7e32e
Contents?: true
Size: 491 Bytes
Versions: 9
Compression:
Stored size: 491 Bytes
Contents
module EducodeSales class BusinessClazzChange < ApplicationRecord belongs_to :business validates :clazz_changed, uniqueness: { message: '已存在' } def self.clazz_changes_value { '1' => ['a-x', 'b-x', 'c-x'], '2' => ['b-a', 'c-a', 'd-a'], '3' => ['a-x'], '4' => ['a-x', 'b-x'], '5' => ['a-x', 'b-x', 'c-x'], '6' => ['b-a'], '7' => ['b-a', 'c-a'], '8' => ['b-a', 'c-a', 'd-a'] } end end end
Version data entries
9 entries across 9 versions & 1 rubygems