You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
6 lines
250 B
6 lines
250 B
6 years ago
|
class PlatformSample < ApplicationRecord
|
||
|
# samples_type: taskPass-实训过关任务; script-实训通用脚本模板;
|
||
|
# introduction-实训简介模板; knowledge-实训背景知识
|
||
|
validates_uniqueness_of :samples_type
|
||
|
end
|