Using model mapper library to convert dto to entity and vice versa, Spring boot JPA
@Getter @Setter @Entity(name = "post") @SQLDelete(sql = "UP