mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-03 11:50:49 +08:00
init project
This commit is contained in:
9
app/models/cooperation.rb
Normal file
9
app/models/cooperation.rb
Normal file
@@ -0,0 +1,9 @@
|
||||
class Cooperation < ApplicationRecord
|
||||
def user_type_text
|
||||
case user_type.to_i
|
||||
when 1 then '高校合作'
|
||||
when 2 then '企业合作'
|
||||
when 3 then '实训投稿'
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user