- <?php
-
- namespace Lc\ShopBundle\Model;
-
- use App\Entity\OrderShop;
- use Doctrine\ORM\Mapping as ORM;
-
-
- abstract class CreditHistory extends AbstractEntity
- {
-
-
- protected $merchant;
-
-
-
- protected $user;
-
-
-
- protected $amount;
-
-
-
- protected $type;
-
-
-
- protected $meanPayment;
-
-
-
- protected $comment;
-
-
-
- protected $orderShop;
-
- public function getMerchant(): ?Merchant
- {
- return $this->merchant;
- }
-
- public function setMerchant(?Merchant $merchant): self
- {
- $this->merchant = $merchant;
-
- return $this;
- }
-
- public function getUser(): ?User
- {
- return $this->user;
- }
-
- public function setUser(?User $user): self
- {
- $this->user = $user;
-
- return $this;
- }
-
- public function getAmount(): ?float
- {
- return $this->amount;
- }
-
- public function setAmount(float $amount): self
- {
- $this->amount = $amount;
-
- return $this;
- }
-
- public function getType(): ?string
- {
- return $this->type;
- }
-
- public function setType(string $type): self
- {
- $this->type = $type;
-
- return $this;
- }
-
- public function getMeanPayment(): ?string
- {
- return $this->meanPayment;
- }
-
- public function setMeanPayment(string $meanPayment): self
- {
- $this->meanPayment = $meanPayment;
-
- return $this;
- }
-
- public function getComment(): ?string
- {
- return $this->comment;
- }
-
- public function setComment(string $comment): self
- {
- $this->comment = $comment;
-
- return $this;
- }
-
- public function getOrderShop(): ?OrderShop
- {
- return $this->orderShop;
- }
-
- public function setOrderShop(?OrderShop $orderShop): self
- {
- $this->orderShop = $orderShop;
-
- return $this;
- }
- }
|