title: Soft-delete package location
body: <p>I have the existing spring project with following structure</p>
  
  <pre><code>-com.project
   -chat
     -domain
       -Chat
       -ChatRepository
       -ChatRepositoryImpl
       -...
     -exception
     -...
   -email
     -domain
       -Email
       -EmailRepository
       -EmailRepositoryImpl
       -...
   -...
  </code></pre>
  
  <p>I suppose that the project has this structure because after completing MVP it might be divided into microservices.</p>
  
  <p>I want to add soft delete functionality for the Email by editing Email entity and modifying it's repository. But probably soft delete functionality in future will be needed for other entities too so now I am curious what to do. </p>
  
  <p>Is it better to create some basic entity with isDeleted and deletedAt fields and basic SoftDeleteRepository in separate package and then all entities and repos will extend them or create some sort of a library which I will use in each package or maybe there are other ways to handle this?</p>