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