Skip to content

Commit

Permalink
workflow-zf2-3 Более одной current записи для одной ентити в wf_step
Browse files Browse the repository at this point in the history
  • Loading branch information
Malofeykin Andrey committed Jun 17, 2016
1 parent 5d96e1f commit 2163892
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/Entity/Step.php
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,16 @@ class Step implements StepInterface
*/
protected $previousSteps;

/**
* Поле для оптимистичных блокировок
*
* @ORM\Version()
* @ORM\Column(name="version", type="integer")
*
* @var
*/
protected $version;

/**
* Определяет тип шага
*
Expand Down

0 comments on commit 2163892

Please sign in to comment.