|
|
@@ -37,7 +37,7 @@ type User struct {
|
|
|
City string `orm:"column(city);null" json:"-"` // varchar(20)
|
|
|
Sex int64 `orm:"column(sex);null" json:"sex"` // int(11)
|
|
|
Head string `orm:"column(head)" json:"head"`
|
|
|
- Birthday time.Time `orm:"column(birthday);null;type(datetime)" json:"-"`
|
|
|
+ Birthday time.Time `orm:"column(birthday);null;type(datetime)" json:"birthday"`
|
|
|
InviteId int64 `orm:"column(invite_id);null" json:"invite_id"` // int(11)
|
|
|
Age int64 `orm:"column(age);null" json:"age"` // int(11)
|
|
|
//belongs_to :parent_signup_channel, :foreign_key => :signup_channel_id
|