22 lines
913 B
Ruby
22 lines
913 B
Ruby
class OlympiaSchoolDataFields
|
|
include Mongoid::Document
|
|
include Mongoid::Timestamps
|
|
include OrbitModel::Status
|
|
include OrbitModel::Impression
|
|
# encoding: utf-8
|
|
include OrbitTag::Taggable
|
|
include OrbitCategory::Categorizable
|
|
field :account_number , type: String , default: ''
|
|
field :password , type: String , default: ''
|
|
field :school_name , type: String , default: ''
|
|
field :school_code , type: String , default: ''
|
|
field :school_address , type: String , default: ''
|
|
field :class_number , type: Fixnum , default: 0
|
|
field :enrollment_limited , type: Fixnum , default: 0
|
|
field :school_contact_person_name , type: String , default: ''
|
|
field :department_job_title , type: String , default: ''
|
|
field :office_tel_number , type: String , default: ''
|
|
field :fax , type: String , default: ''
|
|
field :mobile_number , type: String , default: ''
|
|
field :email , type: String , default: ''
|
|
end |