package db import ( "gorm.io/gorm" "time" ) type BaseEntity struct { ID string `gorm:"primary_key;column:id;type:varchar(255);" json:"id"` CreatedAt time.Time UpdatedAt time.Time DeletedAt gorm.DeletedAt `gorm:"index" json:"-"` } type FeatureCacheBase struct { Id string AreaId string TableId string FaceFeature []float32 }