sketch_photo.go 538 B

1234567891011121314151617181920
  1. package gorm_model
  2. // Code generated by sql2gorm. DO NOT EDIT.
  3. import (
  4. "time"
  5. )
  6. type YounggeeSketchPhoto struct {
  7. ID int `gorm:"column:id;primary_key;AUTO_INCREMENT"` // 初稿id
  8. SketchID int `gorm:"column:sketch_id"`
  9. PhotoUrl string `gorm:"column:photo_url"`
  10. PhotoUid string `gorm:"column:photo_uid"`
  11. Symbol int `gorm:"column:symbol"` // 1是图片,2是视频
  12. CreateAt time.Time `gorm:"column:create_at"`
  13. }
  14. func (m *YounggeeSketchPhoto) TableName() string {
  15. return "younggee_sketch_photo"
  16. }