新增画家编号和画作编号

This commit is contained in:
孙肖扬 2025-03-27 19:51:23 +08:00
parent 2d6906adc2
commit 123f2d5325

View File

@ -19,6 +19,8 @@ type RegisterRecord struct {
Gender int32 `json:"gender" gorm:"column:gender;type:int;comment:性别1男2女"` Gender int32 `json:"gender" gorm:"column:gender;type:int;comment:性别1男2女"`
ArtistUuid string `json:"artist_uuid" gorm:"column:artist_uuid;type:varchar(255);comment:画家Uid"` ArtistUuid string `json:"artist_uuid" gorm:"column:artist_uuid;type:varchar(255);comment:画家Uid"`
ArtworkUuid string `json:"artwork_uuid" gorm:"column:artwork_uuid;type:varchar(255);comment:作品Uid"` ArtworkUuid string `json:"artwork_uuid" gorm:"column:artwork_uuid;type:varchar(255);comment:作品Uid"`
ArtistIdNum string `json:"artist_id_num" gorm:"column:artist_id_num;type:varchar(255);comment:画家编号"`
ArtworkIdNum string `json:"artwork_id_num" gorm:"column:artwork_id_num;type:varchar(255);comment:作品编号"`
PhoneNum string `json:"phone_num" gorm:"column:phone_num;type:varchar(255);not null;comment:手机号"` PhoneNum string `json:"phone_num" gorm:"column:phone_num;type:varchar(255);not null;comment:手机号"`
IdCard string `json:"id_card" gorm:"column:id_card;type:varchar(255);comment:身份证号"` IdCard string `json:"id_card" gorm:"column:id_card;type:varchar(255);comment:身份证号"`