src/Entity/CommissionShareRule.php line 11
<?phpnamespace App\Entity;use App\Repository\CommissionShareRuleRepository;use Doctrine\DBAL\Types\Types;use Doctrine\ORM\Mapping as ORM;use Gedmo\Timestampable\Traits\TimestampableEntity;#[ORM\Entity(repositoryClass: CommissionShareRuleRepository::class)]class CommissionShareRule{use TimestampableEntity;#[ORM\Id]#[ORM\GeneratedValue]#[ORM\Column]private ?int $id = null;#[ORM\ManyToOne(inversedBy: 'commissionShareRulesTo')]private ?User $toUser = null;#[ORM\Column]private ?float $percent = null;#[ORM\Column(type: Types::DATE_MUTABLE)]private ?\DateTimeInterface $effectiveStartDate = null;#[ORM\Column(type: Types::DATE_MUTABLE)]private ?\DateTimeInterface $effectiveEndDate = null;#[ORM\Column(length: 255)]private ?string $customerNumber = null;public function getId(): ?int{return $this->id;}public function getToUser(): ?User{return $this->toUser;}public function setToUser(?User $toUser): static{$this->toUser = $toUser;return $this;}public function getPercent(): ?float{return $this->percent;}public function setPercent(float $percent): static{$this->percent = $percent;return $this;}public function getEffectiveStartDate(): ?\DateTimeInterface{return $this->effectiveStartDate;}public function setEffectiveStartDate(\DateTimeInterface $effectiveStartDate): static{$this->effectiveStartDate = $effectiveStartDate;return $this;}public function getEffectiveEndDate(): ?\DateTimeInterface{return $this->effectiveEndDate;}public function setEffectiveEndDate(\DateTimeInterface $effectiveEndDate): static{$this->effectiveEndDate = $effectiveEndDate;return $this;}public function getCustomerNumber(): ?string{return $this->customerNumber;}public function setCustomerNumber(string $customerNumber): static{$this->customerNumber = $customerNumber;return $this;}}