This is an automated email from the ASF dual-hosted git repository. danhaywood pushed a commit to branch v2 in repository https://gitbox.apache.org/repos/asf/causeway-app-petclinic.git
commit 20970f4575a06d7ef147e8d6839defa7fb89f498 Author: Dan Haywood <[email protected]> AuthorDate: Sun May 26 12:49:25 2024 +0100 uses the name of the pet as its title --- .../src/main/java/domainapp/modules/petowner/dom/pet/Pet.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/module-petowner/src/main/java/domainapp/modules/petowner/dom/pet/Pet.java b/module-petowner/src/main/java/domainapp/modules/petowner/dom/pet/Pet.java index 991a18d..8e52dcb 100644 --- a/module-petowner/src/main/java/domainapp/modules/petowner/dom/pet/Pet.java +++ b/module-petowner/src/main/java/domainapp/modules/petowner/dom/pet/Pet.java @@ -30,6 +30,7 @@ import org.apache.causeway.applib.annotation.DomainObject; import org.apache.causeway.applib.annotation.DomainObjectLayout; import org.apache.causeway.applib.annotation.PropertyLayout; import org.apache.causeway.applib.annotation.Publishing; +import org.apache.causeway.applib.annotation.Title; import org.apache.causeway.applib.jaxb.PersistentEntityAdapter; import org.apache.causeway.persistence.jpa.applib.integration.CausewayEntityListener; @@ -75,6 +76,7 @@ public class Pet implements Comparable<Pet> { private PetOwner petOwner; @PetName + @Title @Column(name = "name", length = PetName.MAX_LEN, nullable = false) @Getter @Setter @PropertyLayout(fieldSetId = "identity", sequence = "2")
