active/app/models/act_signup.rb

28 lines
496 B
Ruby

# 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
field :organization
field :title
field :address
field :emergency_contact_number
field :emergency_contact_person
field :vegetarian, type: Boolean
belongs_to :act
end