123456789101112131415161718 |
- // Code generated by sql2gorm. DO NOT EDIT.
- package gorm_model
- import (
- "time"
- )
- type ProjectPhoto struct {
- ProjectPhotoID int `gorm:"column:project_photo_id;primary_key"` // 项目图片id
- PhotoUrl string `gorm:"column:photo_url"` // 图片url
- ProjectID int `gorm:"column:project_id"` // 所属项目id
- CreatedAt time.Time `gorm:"column:created_at"` // 创建时间
- }
- func (m *ProjectPhoto) TableName() string {
- return "project_photo"
- }
|