adding soft delete

This commit is contained in:
2025-10-22 23:46:38 +02:00
parent 724ff484d7
commit ed1b05f9b8
4 changed files with 8 additions and 0 deletions

View File

@@ -2,6 +2,7 @@ package zw.qantra.tm.domain.models;
import jakarta.persistence.Entity;
import lombok.*;
import org.hibernate.annotations.SQLRestriction;
@Entity
@Getter
@@ -9,6 +10,7 @@ import lombok.*;
@Builder
@AllArgsConstructor
@NoArgsConstructor
@SQLRestriction("deleted = false")
public class Recipient extends BaseEntity {
private String name;
private String email;