project_brief.go 760 B

1234567891011121314151617181920
  1. // Code generated by sql2gorm. DO NOT EDIT.
  2. package entity
  3. import (
  4. "time"
  5. )
  6. type ProjectBrief struct {
  7. ProjectBriefID int64 `gorm:"column:project_brief_id;primary_key;AUTO_INCREMENT"` // 项目id
  8. FileUrl string `gorm:"column:file_url"` // 图片url
  9. FileName string `gorm:"column:file_name"` // 文件名称
  10. FileUid string `gorm:"column:file_uid"`
  11. ProjectID string `gorm:"column:project_id"` // 所属项目id
  12. CreatedAt time.Time `gorm:"column:created_at"` // 创建时间
  13. Type int64 `gorm:"column:type"` // 手卡类型(1图片 2文档)
  14. }
  15. func (m *ProjectBrief) TableName() string {
  16. return "project_brief"
  17. }