src/Entity/Vista/MemberBalance.php line 14

Open in your IDE?
  1. <?php
  2. declare(strict_types=1);
  3. namespace App\Entity\Vista;
  4. use Doctrine\ORM\Mapping as ORM;
  5. use Nelmio\ApiDocBundle\Annotation\Model;
  6. use Swagger\Annotations as SWG;
  7. /**
  8.  * @ORM\Entity()
  9.  * @ORM\Table(name="balance")
  10.  */
  11. class MemberBalance
  12. {
  13.     use MemberBalanceTrait;
  14.     /**
  15.      * Original
  16.      *
  17.      * @ORM\Column(nullable=true, type="string")
  18.      * @var string|null
  19.      */
  20.     protected $balanceTypeID;
  21.     /**
  22.      * Original
  23.      *
  24.      * @ORM\Column(nullable=true, type="string")
  25.      * @var string|null
  26.      */
  27.     protected $name;
  28.     /**
  29.      * Original
  30.      *
  31.      * @ORM\Column(nullable=true, type="string")
  32.      * @var string|null
  33.      */
  34.     protected $message;
  35.     /**
  36.      * Changed from float|null
  37.      *
  38.      * @ORM\Column(nullable=true, type="integer")
  39.      * @var integer|null
  40.      */
  41.     protected $pointsRemaining;
  42.     /**
  43.      * Changed from float|null
  44.      *
  45.      * @ORM\Column(nullable=true, type="integer")
  46.      * @var integer|null
  47.      */
  48.     protected $lifetimePointsBalanceDisplay;
  49.     /**
  50.      * Original
  51.      *
  52.      * @ORM\Column(nullable=true, type="boolean")
  53.      * @var boolean|null
  54.      */
  55.     protected $isDefault;
  56.     /**
  57.      * Original
  58.      *
  59.      * @ORM\Column(nullable=true, type="string")
  60.      * @var string|null
  61.      */
  62.     protected $nameAlt;
  63.     /**
  64.      * Changed from Translation[]|null
  65.      *
  66.      * @SWG\Property(type="array", @SWG\Items(ref=@Model(type=\App\Entity\Vista\Translation::class)))
  67.      * @ORM\Column(type="array")
  68.      * @var string[]|null
  69.      */
  70.     protected $nameTranslations;
  71.     /**
  72.      * Changed from float|null
  73.      *
  74.      * @ORM\Column(nullable=true, type="integer")
  75.      * @var integer|null
  76.      */
  77.     protected $redemptionRate;
  78.     /**
  79.      * @return string|null
  80.      */
  81.     public function getBalanceTypeID(): ?string
  82.     {
  83.         return $this->balanceTypeID;
  84.     }
  85.     /**
  86.      * @param string|null $balanceTypeID
  87.      * @return MemberBalance
  88.      */
  89.     public function setBalanceTypeID(?string $balanceTypeID): MemberBalance
  90.     {
  91.         $this->balanceTypeID $balanceTypeID;
  92.         return $this;
  93.     }
  94.     /**
  95.      * @return string|null
  96.      */
  97.     public function getName(): ?string
  98.     {
  99.         return $this->name;
  100.     }
  101.     /**
  102.      * @param string|null $name
  103.      * @return MemberBalance
  104.      */
  105.     public function setName(?string $name): MemberBalance
  106.     {
  107.         $this->name $name;
  108.         return $this;
  109.     }
  110.     /**
  111.      * @return string|null
  112.      */
  113.     public function getMessage(): ?string
  114.     {
  115.         return $this->message;
  116.     }
  117.     /**
  118.      * @param string|null $message
  119.      * @return MemberBalance
  120.      */
  121.     public function setMessage(?string $message): MemberBalance
  122.     {
  123.         $this->message $message;
  124.         return $this;
  125.     }
  126.     /**
  127.      * @return int|null
  128.      */
  129.     public function getPointsRemaining(): ?int
  130.     {
  131.         return $this->pointsRemaining;
  132.     }
  133.     /**
  134.      * @param int|null $pointsRemaining
  135.      * @return MemberBalance
  136.      */
  137.     public function setPointsRemaining(?int $pointsRemaining): MemberBalance
  138.     {
  139.         $this->pointsRemaining $pointsRemaining;
  140.         return $this;
  141.     }
  142.     /**
  143.      * @return int|null
  144.      */
  145.     public function getLifetimePointsBalanceDisplay(): ?int
  146.     {
  147.         return $this->lifetimePointsBalanceDisplay;
  148.     }
  149.     /**
  150.      * @param int|null $lifetimePointsBalanceDisplay
  151.      * @return MemberBalance
  152.      */
  153.     public function setLifetimePointsBalanceDisplay(?int $lifetimePointsBalanceDisplay): MemberBalance
  154.     {
  155.         $this->lifetimePointsBalanceDisplay $lifetimePointsBalanceDisplay;
  156.         return $this;
  157.     }
  158.     /**
  159.      * @return bool|null
  160.      */
  161.     public function getisDefault(): ?bool
  162.     {
  163.         return $this->isDefault;
  164.     }
  165.     /**
  166.      * @param bool|null $isDefault
  167.      * @return MemberBalance
  168.      */
  169.     public function setIsDefault(?bool $isDefault): MemberBalance
  170.     {
  171.         $this->isDefault $isDefault;
  172.         return $this;
  173.     }
  174.     /**
  175.      * @return string|null
  176.      */
  177.     public function getNameAlt(): ?string
  178.     {
  179.         return $this->nameAlt;
  180.     }
  181.     /**
  182.      * @param string|null $nameAlt
  183.      * @return MemberBalance
  184.      */
  185.     public function setNameAlt(?string $nameAlt): MemberBalance
  186.     {
  187.         $this->nameAlt $nameAlt;
  188.         return $this;
  189.     }
  190.     /**
  191.      * @return string[]|null
  192.      */
  193.     public function getNameTranslations(): ?array
  194.     {
  195.         return $this->nameTranslations;
  196.     }
  197.     /**
  198.      * @param string[]|null $nameTranslations
  199.      * @return MemberBalance
  200.      */
  201.     public function setNameTranslations(?array $nameTranslations): MemberBalance
  202.     {
  203.         $this->nameTranslations $nameTranslations;
  204.         return $this;
  205.     }
  206.     /**
  207.      * @return int|null
  208.      */
  209.     public function getRedemptionRate(): ?int
  210.     {
  211.         return $this->redemptionRate;
  212.     }
  213.     /**
  214.      * @param int|null $redemptionRate
  215.      * @return MemberBalance
  216.      */
  217.     public function setRedemptionRate(?int $redemptionRate): MemberBalance
  218.     {
  219.         $this->redemptionRate $redemptionRate;
  220.         return $this;
  221.     }
  222. }