Browse Source

CreditHistory : createdBy et updatedBy nullable=true

feature/export_comptable
Guillaume 4 years ago
parent
commit
d9a80c9cef
1 changed files with 14 additions and 0 deletions
  1. +14
    -0
      ShopBundle/Model/CreditHistory.php

+ 14
- 0
ShopBundle/Model/CreditHistory.php View File

use Lc\ShopBundle\Context\OrderRefundInterface; use Lc\ShopBundle\Context\OrderRefundInterface;
use Lc\ShopBundle\Context\PayoffInterface; use Lc\ShopBundle\Context\PayoffInterface;
use Lc\ShopBundle\Context\UserMerchantInterface; use Lc\ShopBundle\Context\UserMerchantInterface;
use Gedmo\Mapping\Annotation as Gedmo;


/** /**
* @ORM\MappedSuperclass() * @ORM\MappedSuperclass()
*/ */
protected $orderRefund; protected $orderRefund;


/**
* @Gedmo\Blameable(on="create")
* @ORM\ManyToOne(targetEntity="Lc\ShopBundle\Context\UserInterface")
* @ORM\JoinColumn(nullable=true)
*/
protected $createdBy;

/**
* @Gedmo\Blameable(on="update")
* @ORM\ManyToOne(targetEntity="Lc\ShopBundle\Context\UserInterface")
* @ORM\JoinColumn(nullable=true)
*/
protected $updatedBy;


public function getAmount(): ?float public function getAmount(): ?float
{ {

Loading…
Cancel
Save