'AccessPayer', 'educationalproject' => 'EducationalProjectPayer'])] abstract class AbstractBillingPayer { use TimestampableEntity; use CreatorUpdaterEntity; /** * @var int */ #[ORM\Column(type: 'integer')] #[ORM\Id] #[ORM\GeneratedValue(strategy: 'AUTO')] #[Groups(['accesspayer', 'educationalprojectpayer', 'access_details', 'student_registration', 'educationalproject_details', 'payer_list', 'accessbilling_edit'])] private $id; /** * @var float */ #[ORM\Column(type: 'float', nullable: false)] #[Assert\Type(type: 'float')] #[Assert\NotNull] #[Groups(['accesspayer', 'educationalprojectpayer', 'access_details_billingpayers', 'student_registration_billingreceivers', 'educationalproject_details_billingreceivers', 'payer_list_billingpayers', 'accessbilling_edit_billingreceivers', 'accessbilling_edit_billingpayers', 'accessbilling_edit_billingeducationalprojectpayers'])] private $paymentPart; /** * The constructor */ public function __construct() { } /** * Sets id. * * @param int $id * * @return $this */ public function setId($id) { $this->id = $id; return $this; } /** * Gets id. * * @return int */ public function getId() { return $this->id; } /** * Set paymentPart * * @param float $paymentPart * * @return AbstractBillingPayer */ public function setPaymentPart($paymentPart) { $this->paymentPart = floatval($paymentPart); return $this; } /** * Get paymentPart * * @return float */ public function getPaymentPart() { return $this->paymentPart; } }