socialforge/app/models/user_wechat.rb

7 lines
250 B
Ruby
Raw Normal View History

2016-01-19 11:51:37 +08:00
class UserWechat < ActiveRecord::Base
2016-01-19 12:00:13 +08:00
attr_accessible :subscribe, :openid, :nickname, :sex, :language, :city, :province, :country,
2016-01-19 15:29:03 +08:00
:headimgurl, :subscribe_time, :unionid, :remark, :groupid, :user, :user_id
2016-01-19 12:00:13 +08:00
belongs_to :user
2016-01-19 11:51:37 +08:00
end