project_photo.go 687 B

1234567891011121314151617181920
  1. // Code generated by sql2gorm. DO NOT EDIT.
  2. package gorm_model
  3. import (
  4. "time"
  5. )
  6. type ProjectPhoto struct {
  7. ProjectPhotoID int64 `gorm:"column:project_photo_id;primary_key;AUTO_INCREMENT"` // 项目图片id
  8. PhotoUrl string `gorm:"column:photo_url"` // 图片url
  9. FileName string `gorm:"column:file_name"` // 文件名称
  10. PhotoUid string `gorm:"column:photo_uid"`
  11. ProjectID string `gorm:"column:project_id"` // 所属项目id
  12. CreatedAt time.Time `gorm:"column:created_at"` // 创建时间
  13. }
  14. func (m *ProjectPhoto) TableName() string {
  15. return "project_photo"
  16. }