active/app/models/act_signup.rb

28 lines
496 B
Ruby
Raw Normal View History

2014-11-10 02:24:07 +00:00
# encoding: utf-8
class ActSignup
include Mongoid::Document
include Mongoid::Timestamps
field :name
field :name_en
field :idno
field :sex
field :birthday , :type => Date
field :tel, type: String
field :phone, type: String
field :fax, type: String
field :email, type: String
field :note
2017-08-08 09:04:59 +00:00
field :organization
field :title
field :address
field :emergency_contact_number
field :emergency_contact_person
field :vegetarian, type: Boolean
2014-11-10 02:24:07 +00:00
belongs_to :act
end