Sha256: 3c41ff7599d6296c550d3381dd83f9a9e70741cd3edcd7157550100974db0b5d

Contents?: true

Size: 329 Bytes

Versions: 8

Compression:

Stored size: 329 Bytes

Contents

module EducodeSales
  class ShixunDectect < ApplicationRecord

    belongs_to :business_subject_shixun
    belongs_to :reviewed_staff, foreign_key: :reviewed_id, class_name: "EducodeSales::Staff"

    # 状态: refused: 拒绝, agreed: 同意 review 审核中
    enum dectect_type: {review:0, refused: 1, agreed: 2}

  end

end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
educode_sales-1.10.74 app/models/educode_sales/shixun_dectect.rb
educode_sales-1.10.73 app/models/educode_sales/shixun_dectect.rb
educode_sales-1.10.72 app/models/educode_sales/shixun_dectect.rb
educode_sales-1.10.71 app/models/educode_sales/shixun_dectect.rb
educode_sales-1.10.70 app/models/educode_sales/shixun_dectect.rb
educode_sales-1.10.59 app/models/educode_sales/shixun_dectect.rb
educode_sales-1.10.58 app/models/educode_sales/shixun_dectect.rb
educode_sales-1.10.49 app/models/educode_sales/shixun_dectect.rb