Skip to content

Commit

Permalink
Defined stages
Browse files Browse the repository at this point in the history
  • Loading branch information
rubenvdlinde committed Jan 14, 2020
1 parent a614a0a commit b734bb1
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions api/src/Entity/Assent.php
Original file line number Diff line number Diff line change
Expand Up @@ -136,15 +136,16 @@ class Assent
private $person;

/**
* @var string The status of this assent e.g. requested, accepted, denied
* @var string The status of this assent e.g. requested, granted, declined
*
* @example requested
*
* @Assert\Choice({"requested", "granted", "submitted", "declined"})
* @Assert\Length(
* max = 255
* )
* @Groups({"read","write"})
* @ORM\Column(type="string", length=255, nullable=true)
* @Assert\Length(
* max = 255
* )
*/
private $status;

Expand Down

0 comments on commit b734bb1

Please sign in to comment.