//////////////////////////////////////////////////////////////////////////////////////////////
// DO NOT MODIFY THIS FILE //
// This file is automatically generated by ZenStack CLI and should not be manually updated. //
// Source: schema.zmodel · Generated: 2026-02-23 //
//////////////////////////////////////////////////////////////////////////////////////////////
Adds soft-delete capability to a model.
Soft-deleted records are excluded from default queries via access policies. The
deletedAttimestamp is used for data retention compliance — records older than the configured retention window are permanently purged by a background job.
Defined in: mixins.zmodel
Declaration · mixins.zmodel
type SoftDeletable {
deletedAt DateTime?
deletedBy String?
}All fields defined on this entity, including inherited fields from mixins and parent models.
Models and fields that reference this type.
Next: Timestamps