| Server IP : 146.59.209.152 / Your IP : 216.73.216.152 Web Server : Apache System : Linux webm009.cluster131.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64 User : monpetu ( 144298) PHP Version : 7.4.33 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/monpetu/www/ipprint/extensions/bookly-addon-pro/lib/entities/ |
Upload File : |
<?php
namespace BooklyPro\Lib\Entities;
use Bookly\Lib;
class StaffPreferenceOrder extends Lib\Base\Entity
{
/** @var int */
protected $service_id;
/** @var int */
protected $staff_id;
/** @var int */
protected $position;
protected static $table = 'bookly_staff_preference_orders';
protected static $schema = array(
'id' => array( 'format' => '%d' ),
'service_id' => array( 'format' => '%d', 'reference' => array( 'entity' => 'Service', 'namespace' => '\Bookly\Lib\Entities' ) ),
'staff_id' => array( 'format' => '%d', 'reference' => array( 'entity' => 'Staff', 'namespace' => '\Bookly\Lib\Entities' ) ),
'position' => array( 'format' => '%d', 'sequent' => true ),
);
/**************************************************************************
* Entity Fields Getters & Setters *
**************************************************************************/
/**
* Gets service_id
*
* @return int
*/
public function getServiceId()
{
return $this->service_id;
}
/**
* Sets service_id
*
* @param int $service_id
* @return $this
*/
public function setServiceId( $service_id )
{
$this->service_id = $service_id;
return $this;
}
/**
* Gets staff_id
*
* @return int
*/
public function getStaffId()
{
return $this->staff_id;
}
/**
* Sets staff_id
*
* @param int $staff_id
* @return $this
*/
public function setStaffId( $staff_id )
{
$this->staff_id = $staff_id;
return $this;
}
/**
* Gets position
*
* @return int
*/
public function getPosition()
{
return $this->position;
}
/**
* Sets position
*
* @param int $position
* @return $this
*/
public function setPosition( $position )
{
$this->position = $position;
return $this;
}
}