You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
477 B
15 lines
477 B
package user
|
|
|
|
type RealInfo struct {
|
|
ID uint `gorm:"column:id;primary_key" json:"id"`
|
|
UserID uint `gorm:"column:user_id" json:"userId"`
|
|
IdCardName string `gorm:"column:id_card_name" json:"idCardName"`
|
|
IdCardNo string `gorm:"column:id_card_no" json:"idCardNo"`
|
|
BankNo string `gorm:"column:bank_no" json:"bankNo"`
|
|
}
|
|
|
|
// TableName sets the insert table name for this struct type
|
|
func (r *RealInfo) TableName() string {
|
|
return "recook_user_real_info"
|
|
}
|