package models import ( "time" "gorm.io/gorm" ) type Rest_Object struct { ID uint `json:"id" gorm:"primarykey"` CreatedAt time.Time `json:"created_at"` UpdatedAt time.Time `json:"updated_at"` DeletedAt gorm.DeletedAt `json:"deleted_at,omitempty" gorm:"index"` ShortName string LongName string Description string Type string // event || place OwnerID uint }