- package entity
- import "time"
- type SecExample struct {
- ExampleID int `gorm:"column:example_id;primary_key;AUTO_INCREMENT"` // 选品示例图id
- FileUrl string `gorm:"column:file_url"` // 文件url
- FileUid string `gorm:"column:file_uid"` // 文件uid
- SelectionID string `gorm:"column:selection_id"` // 所属项目id
- CreatedAt time.Time `gorm:"column:created_at"` // 创建时间
- FileName string `gorm:"column:file_name"` // 文件名称
- }
- func (m *SecExample) TableName() string {
- return "younggee_sec_example"
- }
|