sec_brief.go 857 B

1234567891011121314151617
  1. package entity
  2. import "time"
  3. type SecBrief struct {
  4. SectionBriefID int `gorm:"column:section_brief_id;primary_key;AUTO_INCREMENT"` // brief的Id
  5. FileUrl string `gorm:"column:file_url"` // 文件url
  6. FileUid string `gorm:"column:file_uid"` // 文件uid
  7. SelectionID string `gorm:"column:selection_id"` // 所属选品id
  8. CreatedAt time.Time `gorm:"column:created_at"` // 创建时间
  9. FileName string `gorm:"column:file_name"` // 文件名称
  10. Type int64 `gorm:"column:type"` // 手卡类型(1图片 2文档)
  11. }
  12. func (m *SecBrief) TableName() string {
  13. return "younggee_sec_brief"
  14. }