Przeglądaj źródła

Informants added to BirthCertificate converters

Andrew Grant 5 miesięcy temu
rodzic
commit
21c04f9322

+ 3 - 0
src/main/java/scot/carricksoftware/grants/converters/certificates/birthcertificates/BirthCertificateCommandConverterImpl.java

@@ -35,6 +35,9 @@ public class BirthCertificateCommandConverterImpl implements BirthCertificateCom
         target.setFatherRank(source.getFatherRank());
         target.setMother(source.getMother());
         target.setDateAndPlaceOfMarriage(source.getDateAndPlaceOfMarriage());
+        target.setInformant(source.getInformant());
+        target.setUntrackedInformant(source.getUntrackedInformant());
+        target.setInformantQualification(source.getInformantQualification());
 
 
         return target;

+ 3 - 0
src/main/java/scot/carricksoftware/grants/converters/certificates/birthcertificates/BirthCertificateConverterImpl.java

@@ -39,6 +39,9 @@ public class BirthCertificateConverterImpl implements BirthCertificateConverter
         target.setFatherRank(source.getFatherRank());
         target.setMother(source.getMother());
         target.setDateAndPlaceOfMarriage(source.getDateAndPlaceOfMarriage());
+        target.setInformant(source.getInformant());
+        target.setUntrackedInformant(source.getUntrackedInformant());
+        target.setInformantQualification(source.getInformantQualification());
 
         return target;
     }