Files
worker/app/models/concerns/soft_delete.go
Gleb Tv 2c7a0236da feat: publish standalone worker
Separate worker packaging and service lifecycle from the control plane.
2026-07-13 17:55:14 +03:00

13 строки
258 B
Go

package concerns
import (
"time"
)
// SoftDelete provides functionality.
type SoftDelete struct {
DeletedAt *time.Time `gorm:"index" json:"-"`
DeleterID *int64 `gorm:"type:bigint REFERENCES users(id)" json:"-"`
// Deleter *User `json:"-"`
}