Sha256: 5073804202a2c001d1d3ea0f0f632c1609496681f527adba46f4c32a965a8c58

Contents?: true

Size: 417 Bytes

Versions: 67

Compression:

Stored size: 417 Bytes

Contents

module EducodeSales
  class RoleArea < ApplicationRecord
    belongs_to :role

    enum level: ['自己', '区域', '全部'] # 0 1 2
    enum clazz: {
      '商机管理': 'Business',
      '销售计划': 'SalePlan',
      '教师运营': 'Teacher',
      '运营计划': 'Operation',
      '客户管理': 'Customer',
      '回款管理': 'MoneyPlan',
      '绩效考核': 'AssessmentsSetting',
    }
  end
end

Version data entries

67 entries across 67 versions & 1 rubygems

Version Path
educode_sales-0.8.6 app/models/educode_sales/role_area.rb
educode_sales-0.8.5 app/models/educode_sales/role_area.rb
educode_sales-0.8.4 app/models/educode_sales/role_area.rb
educode_sales-0.8.3 app/models/educode_sales/role_area.rb
educode_sales-0.8.2 app/models/educode_sales/role_area.rb
educode_sales-0.8.1 app/models/educode_sales/role_area.rb
educode_sales-0.7.9 app/models/educode_sales/role_area.rb