20 lines
703 B
Go
20 lines
703 B
Go
|
package model
|
||
|
|
||
|
import (
|
||
|
"gorm.io/gorm"
|
||
|
)
|
||
|
|
||
|
// User 用户模型
|
||
|
type ArtistInfo struct {
|
||
|
gorm.Model
|
||
|
ID int32 `gorm:"not null" json:"id"`
|
||
|
UserId int32 `gorm:"not null default:0" json:"userId"`
|
||
|
ArtistId string `gorm:"type:varchar(256) default ''"`
|
||
|
BankAccount string `gorm:"type:varchar(25) not null" json:"bankAccount"`
|
||
|
BankName string `gorm:"type:varchar(25) not null" json:"bankName"`
|
||
|
Introduct string `gorm:"type:varchar(2048) not null" json:"introduct"`
|
||
|
CountryArtLevel string `gorm:"type:varchar(256) default ''"`
|
||
|
ArtistCertPic string `gorm:"type:varchar(256) default ''"`
|
||
|
State int32 `gorm:"not null default:0" json:"state"`
|
||
|
}
|