fonchain-artistinfo/cmd/model/tmpArtistInfo.go

26 lines
1.1 KiB
Go
Raw Permalink Normal View History

2023-02-22 05:37:50 +00:00
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:"`
2023-02-22 05:49:16 +00:00
JoinShow int32 `gorm:"column:join_show;comment:"`
2023-03-08 09:46:17 +00:00
WxAccount string `gorm:"column:wx_account;comment:微信账号"`
2023-03-14 07:09:13 +00:00
InviterCode string `gorm:"column:inviter_code;comment:邀请人的二维码"`
2023-02-22 05:37:50 +00:00
}
func (t TempArtistInfo) TableName() string {
return "temp_artist_info"
}