class HackUserCode < ApplicationRecord
  # error_test_set_id: 错误的测试集id
  # 用户编程题的信息
  belongs_to :hack
  belongs_to :hack_user_lastest_code

  scope :created_order, ->{ order("created_at desc")}
end