fonchain-artistinfo/cmd/model/tmpArtistInfo.go
2023-03-08 17:46:17 +08:00

25 lines
1.1 KiB
Go

package model
// 此表用于在创建用户是临时存储艺术家信息,等法大大认证通过后再进行创建
type TempArtistInfo struct {
MgmtAccId int64 `gorm:"column:mgmt_acc_id;comment:关联sys_user表的MgmtAccId"`
UserInfo *User `gorm:"foreignKey:MgmtAccId;comment:"`
Name string `gorm:"column:name;comment:"`
CardId string `gorm:"column:card_id;comment:"`
Gender int32 `gorm:"column:gender;comment:"`
Age int32 `gorm:"column:age;comment:"`
NativePlace string `gorm:"column:native_place;comment:"`
PenName string `gorm:"column:pen_name;comment:"`
Phone string `gorm:"column:phone;comment:"`
Address string `gorm:"column:address;comment:"`
StageName string `gorm:"column:stage_name;comment:"`
CaaCertNum string `gorm:"column:caa_cert_num;comment:"`
CaaJoinTime string `gorm:"column:caa_join_time;comment:"`
JoinShow int32 `gorm:"column:join_show;comment:"`
WxAccount string `gorm:"column:wx_account;comment:微信账号"`
}
func (t TempArtistInfo) TableName() string {
return "temp_artist_info"
}