exhibition-register/internal/model/register.go

21 lines
1.5 KiB
Go
Raw Normal View History

2024-01-29 09:02:58 +00:00
package model
2024-01-30 03:52:56 +00:00
import "gorm.io/gorm"
type RegisterRecord struct {
gorm.Model
2024-02-18 03:10:07 +00:00
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:身份证号"`
2024-09-10 10:54:32 +00:00
Address string `json:"address" gorm:"column:address;type:varchar(3000);not null;comment:通讯地址"`
2024-09-10 03:11:02 +00:00
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:作品文件"`
2025-03-04 05:28:43 +00:00
ArtworkName string `json:"artwork_name" gorm:"column:artwork_name;type:varchar(255);not null;comment:作品名称"`
2024-01-30 03:52:56 +00:00
}