Class BaseDeleteEntity<Id>

java.lang.Object
com.rcore.domain.commons.entity.BaseEntity<Id>
ru.foodtechlab.abe.domain.entities.BaseDeleteEntity<Id>
Type Parameters:
Id - - тип идентификатора сущности
All Implemented Interfaces:
DeleteProperty
Direct Known Subclasses:
BaseExternalDeleteEntity

public abstract class BaseDeleteEntity<Id> extends com.rcore.domain.commons.entity.BaseEntity<Id> implements DeleteProperty
базовая сущность с флагом удалено/не_удалено
  • Nested Class Summary

    Nested classes/interfaces inherited from class com.rcore.domain.commons.entity.BaseEntity

    com.rcore.domain.commons.entity.BaseEntity.BaseEntityBuilder<EntityId extends Object,C extends com.rcore.domain.commons.entity.BaseEntity<EntityId>,B extends com.rcore.domain.commons.entity.BaseEntity.BaseEntityBuilder<EntityId,C,B>>
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected boolean
    флаг удалено/не_удалено, по умолчанию false
    protected Instant
     

    Fields inherited from class com.rcore.domain.commons.entity.BaseEntity

    createdAt, id, updatedAt
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Methods inherited from class com.rcore.domain.commons.entity.BaseEntity

    getCreatedAt, getId, getUpdatedAt, setCreatedAt, setId, setUpdatedAt

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface ru.foodtechlab.abe.domain.entities.DeleteProperty

    isDeleted, setDeleted
  • Field Details

    • deleted

      protected boolean deleted
      флаг удалено/не_удалено, по умолчанию false
    • deletedAt

      protected Instant deletedAt
  • Constructor Details

    • BaseDeleteEntity

      public BaseDeleteEntity()