src/Entity/PostMortemReport.php line 11

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\PostMortemReportRepository;
  4. use Doctrine\ORM\Mapping as ORM;
  5. use Gedmo\Mapping\Annotation as Gedmo;
  6. use Symfony\Component\Validator\Constraints as Assert;
  7. #[ORM\Entity(repositoryClassPostMortemReportRepository::class), ORM\Table(name'post_mortem_reports')]
  8. class PostMortemReport
  9. {
  10.     #[ORM\IdORM\GeneratedValueORM\Column(type'integer')]
  11.     private $id;
  12.     #[ORM\OneToOne(inversedBy'postMortemReport'targetEntityCases::class, cascade: ['persist''remove']), ORM\JoinColumn(nullablefalse)]
  13.     private $case;
  14.     #[ORM\Column(type'string'length100), Assert\NotBlank]
  15.     private $corpseSender;
  16.     #[ORM\Column(type'string'length100), Assert\NotBlank]
  17.     private $placeCorpseSent;
  18.     #[ORM\Column(type'string'length50), Assert\NotBlank]
  19.     private $placeCorpseSentDistance;
  20.     #[ORM\Column(type'string'length100), Assert\NotBlank]
  21.     private $corpseBringer;
  22.     #[ORM\Column(type'string'length100nullabletrue)]
  23.     private $corpseIdentifier;
  24.     #[ORM\Column(type'datetime'), Assert\NotBlank]
  25.     private $examBegunAt;
  26.     #[ORM\Column(type'datetime'), Assert\NotBlank]
  27.     private $examEndedAt;
  28.     #[ORM\Column(type'text'nullabletrue)]
  29.     private $accompanyReportSubstance;
  30.     #[ORM\Column(type'string'length100nullabletrue)]
  31.     private $placeExamined;
  32.     #[ORM\Column(type'string'length50nullabletrue)]
  33.     private $distanceFromPlace;
  34.     #[ORM\Column(type'text'nullabletrue)]
  35.     private $whyNotSentToHospital;
  36.     #[ORM\Column(type'string'length255), Assert\NotBlank]
  37.     private $sexApparentAgeRaceCaste;
  38.     #[ORM\Column(type'text'), Assert\NotBlank]
  39.     private $descClothOrnam;
  40.     #[ORM\Column(type'text'), Assert\NotBlank]
  41.     private $condCloth;
  42.     #[ORM\Column(type'text'), Assert\NotBlank]
  43.     private $specialMarksOnSkin;
  44.     #[ORM\Column(type'text'nullabletrue)]
  45.     private $newlyBornInfantDetails;
  46.     #[ORM\Column(type'text'), Assert\NotBlank]
  47.     private $bodyCondition;
  48.     #[ORM\Column(type'text'), Assert\NotBlank]
  49.     private $regarMortis;
  50.     #[ORM\Column(type'text'), Assert\NotBlank]
  51.     private $decompSignsExtents;
  52.     #[ORM\Column(type'text'), Assert\NotBlank]
  53.     private $features;
  54.     #[ORM\Column(type'text'), Assert\NotBlank]
  55.     private $skinCond;
  56.     #[ORM\Column(type'text'), Assert\NotBlank]
  57.     private $externalGenitalsInjuries;
  58.     #[ORM\Column(type'text'), Assert\NotBlank]
  59.     private $limbPosition;
  60.     #[ORM\Column(type'text'), Assert\NotBlank]
  61.     private $surfaceWoundsInjuries;
  62.     #[ORM\Column(type'text'nullabletrue)]
  63.     private $condSubcutaneousTissues;
  64.     #[ORM\Column(type'text'nullabletrue)]
  65.     private $otherInjuries;
  66.     #[ORM\Column(type'boolean'), Assert\NotBlank]
  67.     private $sureAnteMortem true;
  68.     #[ORM\Column(type'text'), Assert\NotBlank]
  69.     private $headInjuriesUnderScalp;
  70.     #[ORM\Column(type'text'), Assert\NotBlank]
  71.     private $skullVaultBase;
  72.     #[ORM\Column(type'text'), Assert\NotBlank]
  73.     private $brainDetails;
  74.     #[ORM\Column(type'text'), Assert\NotBlank]
  75.     private $thoraxWallsRibsCartilages;
  76.     #[ORM\Column(type'text'), Assert\NotBlank]
  77.     private $pleura;
  78.     #[ORM\Column(type'text'), Assert\NotBlank]
  79.     private $larynxTracheaBronchi;
  80.     #[ORM\Column(type'text'), Assert\NotBlank]
  81.     private $rightLung;
  82.     #[ORM\Column(type'text'), Assert\NotBlank]
  83.     private $leftLung;
  84.     #[ORM\Column(type'text'), Assert\NotBlank]
  85.     private $pericardium;
  86.     #[ORM\Column(type'text'), Assert\NotBlank]
  87.     private $heart;
  88.     #[ORM\Column(type'text'), Assert\NotBlank]
  89.     private $largeVessels;
  90.     #[ORM\Column(type'text'nullabletrue)]
  91.     private $heartAdditionalRemarks;
  92.     #[ORM\Column(type'text'), Assert\NotBlank]
  93.     private $abdomenWalls;
  94.     #[ORM\Column(type'text'), Assert\NotBlank]
  95.     private $peritoneum;
  96.     #[ORM\Column(type'text'), Assert\NotBlank]
  97.     private $cavity;
  98.     #[ORM\Column(type'text'), Assert\NotBlank]
  99.     private $bucalCavityTeethTonguePharynx;
  100.     #[ORM\Column(type'text'), Assert\NotBlank]
  101.     private $desophagus;
  102.     #[ORM\Column(type'text'), Assert\NotBlank]
  103.     private $stomach;
  104.     #[ORM\Column(type'text'), Assert\NotBlank]
  105.     private $smallIntestine;
  106.     #[ORM\Column(type'text'), Assert\NotBlank]
  107.     private $largeIntestine;
  108.     #[ORM\Column(type'text'), Assert\NotBlank]
  109.     private $liverGallBladder;
  110.     #[ORM\Column(type'text'), Assert\NotBlank]
  111.     private $pancreasSuprarenals;
  112.     #[ORM\Column(type'text'), Assert\NotBlank]
  113.     private $spleen;
  114.     #[ORM\Column(type'text'), Assert\NotBlank]
  115.     private $kidneys;
  116.     #[ORM\Column(type'text'), Assert\NotBlank]
  117.     private $bladder;
  118.     #[ORM\Column(type'text'), Assert\NotBlank]
  119.     private $generationsOrgans;
  120.     #[ORM\Column(type'text'nullabletrue)]
  121.     private $stomachAdditionalRemarks;
  122.     #[ORM\Column(type'text'nullabletrue)]
  123.     private $retainedVisceraDetails;
  124.     #[ORM\Column(type'text'nullabletrue)]
  125.     private $spineSpinalCord;
  126.     #[ORM\Column(type'text'), Assert\NotBlank]
  127.     private $deathCauseOpinion;
  128.     #[Gedmo\Blameable(on'create'), ORM\ManyToOne(targetEntityUser::class), ORM\JoinColumn(nullablefalse)]
  129.     private $createdBy;
  130.     #[Gedmo\Blameable(on'update'), ORM\ManyToOne(targetEntityUser::class)]
  131.     private $updatedBy;
  132.     #[Gedmo\Timestampable(on'create'), ORM\Column(type'datetime')]
  133.     private $createdAt;
  134.     #[Gedmo\Timestampable(on'update'), ORM\Column(type'datetime')]
  135.     private $updatedAt;
  136.     public function getId(): ?int
  137.     {
  138.         return $this->id;
  139.     }
  140.     public function getCase(): ?Cases
  141.     {
  142.         return $this->case;
  143.     }
  144.     public function setCase(?Cases $case): self
  145.     {
  146.         $this->case $case;
  147.         return $this;
  148.     }
  149.     public function getCorpseSender(): ?string
  150.     {
  151.         return $this->corpseSender;
  152.     }
  153.     public function setCorpseSender(string $corpseSender): self
  154.     {
  155.         $this->corpseSender $corpseSender;
  156.         return $this;
  157.     }
  158.     public function getPlaceCorpseSent(): ?string
  159.     {
  160.         return $this->placeCorpseSent;
  161.     }
  162.     public function setPlaceCorpseSent(string $placeCorpseSent): self
  163.     {
  164.         $this->placeCorpseSent $placeCorpseSent;
  165.         return $this;
  166.     }
  167.     public function getPlaceCorpseSentDistance(): ?string
  168.     {
  169.         return $this->placeCorpseSentDistance;
  170.     }
  171.     public function setPlaceCorpseSentDistance(string $placeCorpseSentDistance): self
  172.     {
  173.         $this->placeCorpseSentDistance $placeCorpseSentDistance;
  174.         return $this;
  175.     }
  176.     public function getCorpseBringer(): ?string
  177.     {
  178.         return $this->corpseBringer;
  179.     }
  180.     public function setCorpseBringer(string $corpseBringer): self
  181.     {
  182.         $this->corpseBringer $corpseBringer;
  183.         return $this;
  184.     }
  185.     public function getCorpseIdentifier(): ?string
  186.     {
  187.         return $this->corpseIdentifier;
  188.     }
  189.     public function setCorpseIdentifier(?string $corpseIdentifier): self
  190.     {
  191.         $this->corpseIdentifier $corpseIdentifier;
  192.         return $this;
  193.     }
  194.     public function getExamBegunAt(): ?\DateTimeInterface
  195.     {
  196.         return $this->examBegunAt;
  197.     }
  198.     public function setExamBegunAt(\DateTimeInterface $examBegunAt): self
  199.     {
  200.         $this->examBegunAt $examBegunAt;
  201.         return $this;
  202.     }
  203.     public function getExamEndedAt(): ?\DateTimeInterface
  204.     {
  205.         return $this->examEndedAt;
  206.     }
  207.     public function setExamEndedAt(\DateTimeInterface $examEndedAt): self
  208.     {
  209.         $this->examEndedAt $examEndedAt;
  210.         return $this;
  211.     }
  212.     public function getAccompanyReportSubstance(): ?string
  213.     {
  214.         return $this->accompanyReportSubstance;
  215.     }
  216.     public function setAccompanyReportSubstance(?string $accompanyReportSubstance): self
  217.     {
  218.         $this->accompanyReportSubstance $accompanyReportSubstance;
  219.         return $this;
  220.     }
  221.     public function getPlaceExamined(): ?string
  222.     {
  223.         return $this->placeExamined;
  224.     }
  225.     public function setPlaceExamined(?string $placeExamined): self
  226.     {
  227.         $this->placeExamined $placeExamined;
  228.         return $this;
  229.     }
  230.     public function getDistanceFromPlace(): ?string
  231.     {
  232.         return $this->distanceFromPlace;
  233.     }
  234.     public function setDistanceFromPlace(?string $distanceFromPlace): self
  235.     {
  236.         $this->distanceFromPlace $distanceFromPlace;
  237.         return $this;
  238.     }
  239.     public function getWhyNotSentToHospital(): ?string
  240.     {
  241.         return $this->whyNotSentToHospital;
  242.     }
  243.     public function setWhyNotSentToHospital(?string $whyNotSentToHospital): self
  244.     {
  245.         $this->whyNotSentToHospital $whyNotSentToHospital;
  246.         return $this;
  247.     }
  248.     public function getSexApparentAgeRaceCaste(): ?string
  249.     {
  250.         return $this->sexApparentAgeRaceCaste;
  251.     }
  252.     public function setSexApparentAgeRaceCaste(string $sexApparentAgeRaceCaste): self
  253.     {
  254.         $this->sexApparentAgeRaceCaste $sexApparentAgeRaceCaste;
  255.         return $this;
  256.     }
  257.     public function getDescClothOrnam(): ?string
  258.     {
  259.         return $this->descClothOrnam;
  260.     }
  261.     public function setDescClothOrnam(string $descClothOrnam): self
  262.     {
  263.         $this->descClothOrnam $descClothOrnam;
  264.         return $this;
  265.     }
  266.     public function getCondCloth(): ?string
  267.     {
  268.         return $this->condCloth;
  269.     }
  270.     public function setCondCloth(string $condCloth): self
  271.     {
  272.         $this->condCloth $condCloth;
  273.         return $this;
  274.     }
  275.     public function getSpecialMarksOnSkin(): ?string
  276.     {
  277.         return $this->specialMarksOnSkin;
  278.     }
  279.     public function setSpecialMarksOnSkin(string $specialMarksOnSkin): self
  280.     {
  281.         $this->specialMarksOnSkin $specialMarksOnSkin;
  282.         return $this;
  283.     }
  284.     public function getNewlyBornInfantDetails(): ?string
  285.     {
  286.         return $this->newlyBornInfantDetails;
  287.     }
  288.     public function setNewlyBornInfantDetails(?string $newlyBornInfantDetails): self
  289.     {
  290.         $this->newlyBornInfantDetails $newlyBornInfantDetails;
  291.         return $this;
  292.     }
  293.     public function getBodyCondition(): ?string
  294.     {
  295.         return $this->bodyCondition;
  296.     }
  297.     public function setBodyCondition(string $bodyCondition): self
  298.     {
  299.         $this->bodyCondition $bodyCondition;
  300.         return $this;
  301.     }
  302.     public function getRegarMortis(): ?string
  303.     {
  304.         return $this->regarMortis;
  305.     }
  306.     public function setRegarMortis(string $regarMortis): self
  307.     {
  308.         $this->regarMortis $regarMortis;
  309.         return $this;
  310.     }
  311.     public function getDecompSignsExtents(): ?string
  312.     {
  313.         return $this->decompSignsExtents;
  314.     }
  315.     public function setDecompSignsExtents(string $decompSignsExtents): self
  316.     {
  317.         $this->decompSignsExtents $decompSignsExtents;
  318.         return $this;
  319.     }
  320.     public function getFeatures(): ?string
  321.     {
  322.         return $this->features;
  323.     }
  324.     public function setFeatures(string $features): self
  325.     {
  326.         $this->features $features;
  327.         return $this;
  328.     }
  329.     public function getSkinCond(): ?string
  330.     {
  331.         return $this->skinCond;
  332.     }
  333.     public function setSkinCond(string $skinCond): self
  334.     {
  335.         $this->skinCond $skinCond;
  336.         return $this;
  337.     }
  338.     public function getExternalGenitalsInjuries(): ?string
  339.     {
  340.         return $this->externalGenitalsInjuries;
  341.     }
  342.     public function setExternalGenitalsInjuries(string $externalGenitalsInjuries): self
  343.     {
  344.         $this->externalGenitalsInjuries $externalGenitalsInjuries;
  345.         return $this;
  346.     }
  347.     public function getLimbPosition(): ?string
  348.     {
  349.         return $this->limbPosition;
  350.     }
  351.     public function setLimbPosition(string $limbPosition): self
  352.     {
  353.         $this->limbPosition $limbPosition;
  354.         return $this;
  355.     }
  356.     public function getSurfaceWoundsInjuries(): ?string
  357.     {
  358.         return $this->surfaceWoundsInjuries;
  359.     }
  360.     public function setSurfaceWoundsInjuries(string $surfaceWoundsInjuries): self
  361.     {
  362.         $this->surfaceWoundsInjuries $surfaceWoundsInjuries;
  363.         return $this;
  364.     }
  365.     public function getCondSubcutaneousTissues(): ?string
  366.     {
  367.         return $this->condSubcutaneousTissues;
  368.     }
  369.     public function setCondSubcutaneousTissues(?string $condSubcutaneousTissues): self
  370.     {
  371.         $this->condSubcutaneousTissues $condSubcutaneousTissues;
  372.         return $this;
  373.     }
  374.     public function getOtherInjuries(): ?string
  375.     {
  376.         return $this->otherInjuries;
  377.     }
  378.     public function setOtherInjuries(?string $otherInjuries): self
  379.     {
  380.         $this->otherInjuries $otherInjuries;
  381.         return $this;
  382.     }
  383.     public function getSureAnteMortem(): ?bool
  384.     {
  385.         return $this->sureAnteMortem;
  386.     }
  387.     public function setSureAnteMortem(bool $sureAnteMortem): self
  388.     {
  389.         $this->sureAnteMortem $sureAnteMortem;
  390.         return $this;
  391.     }
  392.     public function getHeadInjuriesUnderScalp(): ?string
  393.     {
  394.         return $this->headInjuriesUnderScalp;
  395.     }
  396.     public function setHeadInjuriesUnderScalp(string $headInjuriesUnderScalp): self
  397.     {
  398.         $this->headInjuriesUnderScalp $headInjuriesUnderScalp;
  399.         return $this;
  400.     }
  401.     public function getSkullVaultBase(): ?string
  402.     {
  403.         return $this->skullVaultBase;
  404.     }
  405.     public function setSkullVaultBase(string $skullVaultBase): self
  406.     {
  407.         $this->skullVaultBase $skullVaultBase;
  408.         return $this;
  409.     }
  410.     public function getBrainDetails(): ?string
  411.     {
  412.         return $this->brainDetails;
  413.     }
  414.     public function setBrainDetails(string $brainDetails): self
  415.     {
  416.         $this->brainDetails $brainDetails;
  417.         return $this;
  418.     }
  419.     public function getThoraxWallsRibsCartilages(): ?string
  420.     {
  421.         return $this->thoraxWallsRibsCartilages;
  422.     }
  423.     public function setThoraxWallsRibsCartilages(string $thoraxWallsRibsCartilages): self
  424.     {
  425.         $this->thoraxWallsRibsCartilages $thoraxWallsRibsCartilages;
  426.         return $this;
  427.     }
  428.     public function getPleura(): ?string
  429.     {
  430.         return $this->pleura;
  431.     }
  432.     public function setPleura(string $pleura): self
  433.     {
  434.         $this->pleura $pleura;
  435.         return $this;
  436.     }
  437.     public function getLarynxTracheaBronchi(): ?string
  438.     {
  439.         return $this->larynxTracheaBronchi;
  440.     }
  441.     public function setLarynxTracheaBronchi(string $larynxTracheaBronchi): self
  442.     {
  443.         $this->larynxTracheaBronchi $larynxTracheaBronchi;
  444.         return $this;
  445.     }
  446.     public function getRightLung(): ?string
  447.     {
  448.         return $this->rightLung;
  449.     }
  450.     public function setRightLung(string $rightLung): self
  451.     {
  452.         $this->rightLung $rightLung;
  453.         return $this;
  454.     }
  455.     public function getLeftLung(): ?string
  456.     {
  457.         return $this->leftLung;
  458.     }
  459.     public function setLeftLung(string $leftLung): self
  460.     {
  461.         $this->leftLung $leftLung;
  462.         return $this;
  463.     }
  464.     public function getPericardium(): ?string
  465.     {
  466.         return $this->pericardium;
  467.     }
  468.     public function setPericardium(string $pericardium): self
  469.     {
  470.         $this->pericardium $pericardium;
  471.         return $this;
  472.     }
  473.     public function getHeart(): ?string
  474.     {
  475.         return $this->heart;
  476.     }
  477.     public function setHeart(string $heart): self
  478.     {
  479.         $this->heart $heart;
  480.         return $this;
  481.     }
  482.     public function getLargeVessels(): ?string
  483.     {
  484.         return $this->largeVessels;
  485.     }
  486.     public function setLargeVessels(string $largeVessels): self
  487.     {
  488.         $this->largeVessels $largeVessels;
  489.         return $this;
  490.     }
  491.     public function getHeartAdditionalRemarks(): ?string
  492.     {
  493.         return $this->heartAdditionalRemarks;
  494.     }
  495.     public function setHeartAdditionalRemarks(string $heartAdditionalRemarks): self
  496.     {
  497.         $this->heartAdditionalRemarks $heartAdditionalRemarks;
  498.         return $this;
  499.     }
  500.     public function getAbdomenWalls(): ?string
  501.     {
  502.         return $this->abdomenWalls;
  503.     }
  504.     public function setAbdomenWalls(string $abdomenWalls): self
  505.     {
  506.         $this->abdomenWalls $abdomenWalls;
  507.         return $this;
  508.     }
  509.     public function getPeritoneum(): ?string
  510.     {
  511.         return $this->peritoneum;
  512.     }
  513.     public function setPeritoneum(string $peritoneum): self
  514.     {
  515.         $this->peritoneum $peritoneum;
  516.         return $this;
  517.     }
  518.     public function getCavity(): ?string
  519.     {
  520.         return $this->cavity;
  521.     }
  522.     public function setCavity(string $cavity): self
  523.     {
  524.         $this->cavity $cavity;
  525.         return $this;
  526.     }
  527.     public function getBucalCavityTeethTonguePharynx(): ?string
  528.     {
  529.         return $this->bucalCavityTeethTonguePharynx;
  530.     }
  531.     public function setBucalCavityTeethTonguePharynx(string $bucalCavityTeethTonguePharynx): self
  532.     {
  533.         $this->bucalCavityTeethTonguePharynx $bucalCavityTeethTonguePharynx;
  534.         return $this;
  535.     }
  536.     public function getDesophagus(): ?string
  537.     {
  538.         return $this->desophagus;
  539.     }
  540.     public function setDesophagus(string $desophagus): self
  541.     {
  542.         $this->desophagus $desophagus;
  543.         return $this;
  544.     }
  545.     public function getStomach(): ?string
  546.     {
  547.         return $this->stomach;
  548.     }
  549.     public function setStomach(string $stomach): self
  550.     {
  551.         $this->stomach $stomach;
  552.         return $this;
  553.     }
  554.     public function getSmallIntestine(): ?string
  555.     {
  556.         return $this->smallIntestine;
  557.     }
  558.     public function setSmallIntestine(string $smallIntestine): self
  559.     {
  560.         $this->smallIntestine $smallIntestine;
  561.         return $this;
  562.     }
  563.     public function getLargeIntestine(): ?string
  564.     {
  565.         return $this->largeIntestine;
  566.     }
  567.     public function setLargeIntestine(string $largeIntestine): self
  568.     {
  569.         $this->largeIntestine $largeIntestine;
  570.         return $this;
  571.     }
  572.     public function getLiverGallBladder(): ?string
  573.     {
  574.         return $this->liverGallBladder;
  575.     }
  576.     public function setLiverGallBladder(string $liverGallBladder): self
  577.     {
  578.         $this->liverGallBladder $liverGallBladder;
  579.         return $this;
  580.     }
  581.     public function getPancreasSuprarenals(): ?string
  582.     {
  583.         return $this->pancreasSuprarenals;
  584.     }
  585.     public function setPancreasSuprarenals(string $pancreasSuprarenals): self
  586.     {
  587.         $this->pancreasSuprarenals $pancreasSuprarenals;
  588.         return $this;
  589.     }
  590.     public function getSpleen(): ?string
  591.     {
  592.         return $this->spleen;
  593.     }
  594.     public function setSpleen(string $spleen): self
  595.     {
  596.         $this->spleen $spleen;
  597.         return $this;
  598.     }
  599.     public function getKidneys(): ?string
  600.     {
  601.         return $this->kidneys;
  602.     }
  603.     public function setKidneys(string $kidneys): self
  604.     {
  605.         $this->kidneys $kidneys;
  606.         return $this;
  607.     }
  608.     public function getBladder(): ?string
  609.     {
  610.         return $this->bladder;
  611.     }
  612.     public function setBladder(string $bladder): self
  613.     {
  614.         $this->bladder $bladder;
  615.         return $this;
  616.     }
  617.     public function getGenerationsOrgans(): ?string
  618.     {
  619.         return $this->generationsOrgans;
  620.     }
  621.     public function setGenerationsOrgans(string $generationsOrgans): self
  622.     {
  623.         $this->generationsOrgans $generationsOrgans;
  624.         return $this;
  625.     }
  626.     public function getStomachAdditionalRemarks(): ?string
  627.     {
  628.         return $this->stomachAdditionalRemarks;
  629.     }
  630.     public function setStomachAdditionalRemarks(?string $stomachAdditionalRemarks): self
  631.     {
  632.         $this->stomachAdditionalRemarks $stomachAdditionalRemarks;
  633.         return $this;
  634.     }
  635.     public function getRetainedVisceraDetails(): ?string
  636.     {
  637.         return $this->retainedVisceraDetails;
  638.     }
  639.     public function setRetainedVisceraDetails(?string $retainedVisceraDetails): self
  640.     {
  641.         $this->retainedVisceraDetails $retainedVisceraDetails;
  642.         return $this;
  643.     }
  644.     public function getSpineSpinalCord(): ?string
  645.     {
  646.         return $this->spineSpinalCord;
  647.     }
  648.     public function setSpineSpinalCord(string $spineSpinalCord): self
  649.     {
  650.         $this->spineSpinalCord $spineSpinalCord;
  651.         return $this;
  652.     }
  653.     public function getDeathCauseOpinion(): ?string
  654.     {
  655.         return $this->deathCauseOpinion;
  656.     }
  657.     public function setDeathCauseOpinion(string $deathCauseOpinion): self
  658.     {
  659.         $this->deathCauseOpinion $deathCauseOpinion;
  660.         return $this;
  661.     }
  662.     public function getCreatedBy(): ?User
  663.     {
  664.         return $this->createdBy;
  665.     }
  666.     public function getUpdatedBy(): ?User
  667.     {
  668.         return $this->updatedBy;
  669.     }
  670.     public function getCreatedAt(): ?\DateTimeInterface
  671.     {
  672.         return $this->createdAt;
  673.     }
  674.     public function getUpdatedAt(): ?\DateTimeInterface
  675.     {
  676.         return $this->updatedAt;
  677.     }
  678. }