You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
1.3 KiB
Go

8 months ago
package model
8 months ago
import "gorm.io/gorm"
type RegisterRecord struct {
gorm.Model
7 months ago
UUID string `json:"uuid" gorm:"primaryKey;column:uuid;type:varchar(255);not null;comment:报名记录Uid"`
ArtistName string `json:"artist_name" gorm:"column:artist_name;type:varchar(255);not null;comment:画家姓名"`
Gender int32 `json:"gender" gorm:"column:gender;type:int;comment:性别1男2女"`
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);not null;comment:身份证号"`
2 weeks ago
Address string `json:"address" gorm:"column:address;type:varchar(3000);not null;comment:通讯地址"`
2 weeks ago
Address1 string `json:"address1" gorm:"column:address1;type:varchar(1000);not null;comment:详细地址"`
IdCardPhoto string `json:"id_card_photo" gorm:"column:id_card_photo;type:varchar(1000);not null;comment:身份证照片"`
IdCardBackPhoto string `json:"id_card_back_photo" gorm:"column:id_card_back_photo;type:varchar(1000);not null;comment:身份证照片背面"`
ArtistPhoto string `json:"artist_photo" gorm:"column:artist_photo;type:varchar(1000);not null;comment:画家本人近照"`
ArtworkFile string `json:"artwork_file" gorm:"column:artwork_file;type:varchar(1000);comment:作品文件"`
8 months ago
}