Class: VApplication

Inherits:
ActiveRecord::Base
  • Object
show all
Defined in:
lib/ting_model/v_application.rb

Instance Method Summary collapse

Instance Method Details

#status_dispObject



23
24
25
26
27
28
29
30
31
32
33
34
# File 'lib/ting_model/v_application.rb', line 23

def status_disp
  case self.status
    when 0
      "待提交"
    when 1
      "待审核"
    when 2
      "审核通过"
    when 3
      "审核不通过"
  end
end