class HackSet < ApplicationRecord
  validates :input, presence: { message: "测试集输入不能为空" }
  validates :output, presence: { message: "测试集输出不能为空" }
  # 编程题测试集
  belongs_to :hack
end