active/app/models/act_signup.rb

21 lines
338 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
belongs_to :act
end