Move off deprecated code.

See #659
This commit is contained in:
Mark Paluch
2023-04-24 13:46:08 +02:00
parent 16a12a7755
commit f051de145e
13 changed files with 26 additions and 26 deletions

View File

@@ -28,7 +28,7 @@ import java.util.UUID;
import org.jmolecules.ddd.types.AggregateRoot;
import org.jmolecules.ddd.types.Identifier;
import org.springframework.data.annotation.PersistenceConstructor;
import org.springframework.data.annotation.PersistenceCreator;
import org.springframework.util.Assert;
/**
@@ -36,7 +36,7 @@ import org.springframework.util.Assert;
*/
@Getter
@ToString
@AllArgsConstructor(access = AccessLevel.PRIVATE, onConstructor = @__(@PersistenceConstructor))
@AllArgsConstructor(access = AccessLevel.PRIVATE, onConstructor = @__(@PersistenceCreator))
public class Customer implements AggregateRoot<Customer, CustomerId> {
private final CustomerId id;