|
- # == Schema Information
- #
- # Table name: glcc_registration_task
- #
- # id :integer not null, primary key
- # reg_id :integer not null
- # task_name :string(255)
- # task_desc :text(16777215)
- # task_difficulty :integer
- # task_url :string(1000)
- # task_reward :string(255)
- # tutor_name :string(255)
- # tutor_mail :string(255)
- # tutor_phone :string(255)
- # created_on :datetime
- # is_delete :boolean default("0"), not null
- # sort_no :integer default("0")
- # locked :boolean default("0")
- # round :integer default("1"), not null
- # check_status :boolean default("0")
- #
- # Indexes
- #
- # idx_glcc_reg_id (reg_id)
- #
-
- class GlccRegistrationTask < ActiveRecord::Base
- self.table_name = "glcc_registration_task"
- has_many :examines, :class_name => :GlccMediumTermExamineMaterial, :foreign_key => "task_id"
- end
|