Sha256: a70a23d48a8b0efe60198d98a27157da53925c16d1bf3b88945df59c512985c2

Contents?: true

Size: 303 Bytes

Versions: 5

Compression:

Stored size: 303 Bytes

Contents

module EducodeSales
  class SalesTargetLog < ApplicationRecord
    belongs_to :staff
    belongs_to :reviewer, class_name: 'Staff', optional: true 
    belongs_to :school_tag

    enum target_clazz: { '中标': 18, '回款': 2, '商机': 7 }
    enum state: %w[待审核 已通过 已驳回]

  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
educode_sales-1.10.74 app/models/educode_sales/sales_target_log.rb
educode_sales-1.10.73 app/models/educode_sales/sales_target_log.rb
educode_sales-1.10.72 app/models/educode_sales/sales_target_log.rb
educode_sales-1.10.71 app/models/educode_sales/sales_target_log.rb
educode_sales-1.10.70 app/models/educode_sales/sales_target_log.rb