|
|
@@ -10,6 +10,7 @@ use Lc\ShopBundle\Context\OrderPaymentInterface; |
|
|
|
use Lc\ShopBundle\Context\OrderRefundInterface; |
|
|
|
use Lc\ShopBundle\Context\PayoffInterface; |
|
|
|
use Lc\ShopBundle\Context\UserMerchantInterface; |
|
|
|
use Gedmo\Mapping\Annotation as Gedmo; |
|
|
|
|
|
|
|
/** |
|
|
|
* @ORM\MappedSuperclass() |
|
|
@@ -47,6 +48,19 @@ abstract class CreditHistory extends AbstractEntity implements PayoffInterface |
|
|
|
*/ |
|
|
|
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 |
|
|
|
{ |