partkeepr

fork of partkeepr
git clone https://git.e1e0.net/partkeepr.git
Log | Files | Refs | Submodules | README | LICENSE

commit 804fb81e618d34f4970b279d70152319d2afe372
parent 44d2626c36faedad072a5889fca01859ba953635
Author: Felicitus <felicitus@felicitus.org>
Date:   Mon, 27 Jun 2011 17:47:52 +0200

Added part create date+time

Diffstat:
Msrc/de/RaumZeitLabor/PartKeepr/Part/Part.php | 8++++++++
1 file changed, 8 insertions(+), 0 deletions(-)

diff --git a/src/de/RaumZeitLabor/PartKeepr/Part/Part.php b/src/de/RaumZeitLabor/PartKeepr/Part/Part.php @@ -138,12 +138,20 @@ class Part extends BaseEntity implements Serializable, Deserializable { */ private $status; + /** + * The create date+time for this part + * @Column(type="datetime",nullable=true) + * @var \DateTime + */ + private $createDate; + public function __construct () { $this->distributors = new \Doctrine\Common\Collections\ArrayCollection(); $this->manufacturers = new \Doctrine\Common\Collections\ArrayCollection(); $this->parameters = new \Doctrine\Common\Collections\ArrayCollection(); $this->images = new \Doctrine\Common\Collections\ArrayCollection(); $this->attachments = new \Doctrine\Common\Collections\ArrayCollection(); + $this->createDate = new \DateTime(); } /**