Skip to content

Commit

Permalink
Made currentStage available in the API
Browse files Browse the repository at this point in the history
  • Loading branch information
rubenvdlinde committed Jan 9, 2020
1 parent 302dc15 commit b869407
Showing 1 changed file with 108 additions and 95 deletions.
203 changes: 108 additions & 95 deletions api/src/Entity/Request.php
Original file line number Diff line number Diff line change
Expand Up @@ -379,6 +379,23 @@ class Request
private $archive;

/**
* @var string $currentStage The current stage of the client journey in this proces
*
* @ApiProperty(
* attributes={
* "swagger_context"={
* "description" = "The current stage of the client journey in this proces",
* "type"="string",
* "example"="getuigen",
* "maxLength"="255"
* }
* }
* )
*
* @Assert\Length(
* max = 255
* )
* @Groups({"read","write"})
* @ORM\Column(type="string", length=255, nullable=true)
*/
private $currentStage;
Expand All @@ -392,149 +409,145 @@ public function __construct()
}

public function getId()
{
return $this->id;
}
{
return $this->id;
}

public function setId($id): self
{
$this->id = $id;

return $this;
}
{
$this->id = $id;
return $this;
}

public function getReference(): ?string
{
return $this->reference;
}
{
return $this->reference;
}

public function setReference(string $reference): self
{
$this->reference = $reference;
return $this;
}
{
$this->reference = $reference;

return $this;
}

public function getReferenceId(): ?int
{
return $this->reference;
}
{
return $this->reference;
}

public function setReferenceId(int $referenceId): self
{
$this->referenceId = $referenceId;
return $this;
}
{
$this->referenceId = $referenceId;

return $this;
}

public function getStatus(): ?string
{
return $this->status;
}
{
return $this->status;
}

public function setStatus(string $status): self
{
$this->status = $status;
return $this;
}
{
$this->status = $status;

return $this;
}


public function getRequestType(): ?string
{
return $this->requestType;
}
{
return $this->requestType;
}

public function setRequestType(string $requestType): self
{
$this->requestType = $requestType;

return $this;
}
{
$this->requestType = $requestType;
return $this;
}

public function getTargetOrganization(): ?string
{
return $this->targetOrganization;
}
{
return $this->targetOrganization;
}

public function setTargetOrganization(string $targetOrganization): self
{
$this->targetOrganization= $targetOrganization;

return $this;
}
{
$this->targetOrganization= $targetOrganization;
return $this;
}

public function getSubmitter(): ?string
{
return $this->submitter;
}
{
return $this->submitter;
}

public function setSubmitter(string $submitter): self
{
$this->submitter = $submitter;
{
$this->submitter = $submitter;

return $this;
}
return $this;
}

public function getSubmitterPerson(): ?bool
{
return $this->submitterPerson;
}
{
return $this->submitterPerson;
}

public function setSubmitterPerson(bool $submitterPerson): self
{
$this->submitterPerson = $submitterPerson;
return $this;
}
{
$this->submitterPerson = $submitterPerson;

return $this;
}

public function getProperties()
{
return $this->properties;
}
{
return $this->properties;
}

public function setProperties($properties): self
{
$this->properties = $properties;

return $this;
}
{
$this->properties = $properties;
return $this;
}

public function getProcess(): ?string
{
return $this->process;
}
{
return $this->process;
}

public function setProcess(?string $process): self
{
$this->process = $process;
return $this;
}
{
$this->process = $process;

return $this;
}

public function getCreatedAt(): ?\DateTimeInterface
{
return $this->createdAt;
}
{
return $this->createdAt;
}

public function setCreatedAt(\DateTimeInterface $createdAt): self
{
$this->createdAt = $createdAt;
return $this;
}
{
$this->createdAt = $createdAt;

return $this;
}

public function getSubmittedAt(): ?\DateTimeInterface
{
return $this->submittedAt;
}
{
return $this->submittedAt;
}

public function setSubmittedAt(\DateTimeInterface $submittedAt): self
{
$this->submittedAt = $submittedAt;
return $this;
}
{
$this->submittedAt = $submittedAt;

return $this;
}

/**
* @return Collection|Submitter[]
Expand Down

0 comments on commit b869407

Please sign in to comment.