mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-03 11:50:49 +08:00
9 lines
193 B
Ruby
9 lines
193 B
Ruby
class Cooperation < ApplicationRecord
|
|
def user_type_text
|
|
case user_type.to_i
|
|
when 1 then '高校合作'
|
|
when 2 then '企业合作'
|
|
when 3 then '实训投稿'
|
|
end
|
|
end
|
|
end |