photoprism/internal/entity/model.go

11 lines
168 B
Go
Raw Normal View History

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