<?php
/**
* Shopware 5
* Copyright (c) shopware AG
*
* According to our dual licensing model, this program can be used either
* under the terms of the GNU Affero General Public License, version 3,
* or under a proprietary license.
*
* The texts of the GNU Affero General Public License with an additional
* permission and of our proprietary license can be found at and
* in the LICENSE file you have received along with this program.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* "Shopware" is a registered trademark of shopware AG.
* The licensing of the program under the AGPLv3 does not imply a
* trademark license. Therefore any rights, title and interest in
* our trademarks remain entirely with us.
*/
namespace Shopware\Models\Order;
use Shopware\Components\Model\ModelEntity;
use Doctrine\ORM\Mapping as ORM;
use Symfony\Component\Validator\Constraints as Assert;
/**
* @ORM\Entity
* @ORM\Table(name="s_order_esd")
* @ORM\HasLifecycleCallbacks
*/
class Esd extends ModelEntity
{
/**
* @var integer $id
*
* @ORM\Column(name="id", type="integer", nullable=false)
* @ORM\Id
* @ORM\GeneratedValue(strategy="IDENTITY")
*/
private $id;
/**
* @var \DateTime $date
*
* @ORM\Column(name="datum", type="datetime", nullable=true)
*/
private $date = null;
/**
* OWNING SIDE
*
* @ORM\OneToOne(targetEntity="Shopware\Models\Article\EsdSerial", inversedBy="esdOrder")
* @ORM\JoinColumn(name="serialID", referencedColumnName="id")
* @var \Shopware\Models\Article\EsdSerial
*/
protected $serial;
/**
* OWNING SIDE
*
* @ORM\OneToOne(targetEntity="Shopware\Models\Order\Order", inversedBy="esd")
* @ORM\JoinColumn(name="orderID", referencedColumnName="id")
* @var \Shopware\Models\Order\Order
*/
protected $order;
/**
* OWNING SIDE
*
* @ORM\OneToOne(targetEntity="Shopware\Models\Order\Detail", inversedBy="esd")
* @ORM\JoinColumn(name="orderdetailsID", referencedColumnName="id")
* @var \Shopware\Models\Order\Detail
*/
protected $orderDetail;
/**
* @ORM\ManyToOne(targetEntity="\Shopware\Models\Customer\Customer")
* @ORM\JoinColumn(name="userID", referencedColumnName="id")
* @var \Shopware\Models\Customer\Customer
*/
protected $customer;
/**
* @return int
*/
public function getId()
{
return $this->id;
}
/**
* @param \Shopware\Models\Article\Article $order
*/
public function setOrder($order)
{
$this->order = $order;
}
/**
* @return \Shopware\Models\Article\Article
*/
public function getOrder()
{
return $this->order;
}
/**
* @param \Shopware\Models\Article\Detail $orderDetail
*/
public function setOrderDetail($orderDetail)
{
$this->orderDetail = $orderDetail;
}
/**
* @return \Shopware\Models\Article\Detail
*/
public function getOrderDetail()
{
return $this->orderDetail;
}
}
| nama | waktu | ukuran | owner | perm | aksi |
|---|---|---|---|---|---|
| .. | |||||
| Document/ | 2016-11-07 16:03 | 15.69 KB | 76129f60960:kunden | dxwrx-rx-r | |
| Basket.php | 2016-11-07 16:00 | 9.4 KB | 76129f60960:kunden | -xw-x----- | |
| Billing.php | 2016-11-07 16:00 | 17.19 KB | 76129f60960:kunden | -xw-x----- | |
| Detail.php | 2016-11-07 16:00 | 18.23 KB | 76129f60960:kunden | -xw-x----- | |
| DetailStatus.php | 2016-11-07 16:00 | 3.19 KB | 76129f60960:kunden | -xw-x----- | |
| Esd.php | 2016-11-07 16:00 | 3.22 KB | 76129f60960:kunden | -xw-x----- | |
| History.php | 2016-11-07 16:00 | 22.28 KB | 76129f60960:kunden | -xw-x----- | |
| Number.php | 2016-11-07 16:00 | 2.58 KB | 76129f60960:kunden | -xw-x----- | |
| Order.php | 2016-11-07 16:00 | 27.28 KB | 76129f60960:kunden | -xw-x----- | |
| OrderHistorySubscriber.php | 2016-11-07 16:00 | 3.65 KB | 76129f60960:kunden | -xw-x----- | |
| Repository.php | 2016-11-07 16:00 | 19.28 KB | 76129f60960:kunden | -xw-x----- | |
| Shipping.php | 2016-11-07 16:00 | 15.23 KB | 76129f60960:kunden | -xw-x----- | |
| Status.php | 2016-11-07 16:00 | 6.31 KB | 76129f60960:kunden | -xw-x----- | |