photoprism/internal/models/model.go

11 lines
168 B
Go
Raw Normal View History

package models
import "time"
type Model struct {
ID uint `gorm:"primary_key"`
CreatedAt time.Time
UpdatedAt time.Time
DeletedAt *time.Time `sql:"index"`
}