Server IP : 80.87.202.40 / Your IP : 216.73.216.169 Web Server : Apache System : Linux rospirotorg.ru 5.14.0-539.el9.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Dec 5 22:26:13 UTC 2024 x86_64 User : bitrix ( 600) PHP Version : 8.2.27 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /home/bitrix/ext_www/rospirotorg.ru/bitrix/modules/sale/lib/internals/ |
Upload File : |
<?php namespace Bitrix\Sale\Internals; use Bitrix\Main\Entity\DataManager; use Bitrix\Main\Entity\ReferenceField; /** * Class LocalDeliveryRequest * @package Bitrix\Sale\Internals * * DO NOT WRITE ANYTHING BELOW THIS * * <<< ORMENTITYANNOTATION * @method static EO_LocalDeliveryRequest_Query query() * @method static EO_LocalDeliveryRequest_Result getByPrimary($primary, array $parameters = array()) * @method static EO_LocalDeliveryRequest_Result getById($id) * @method static EO_LocalDeliveryRequest_Result getList(array $parameters = array()) * @method static EO_LocalDeliveryRequest_Entity getEntity() * @method static \Bitrix\Sale\Internals\EO_LocalDeliveryRequest createObject($setDefaultValues = true) * @method static \Bitrix\Sale\Internals\EO_LocalDeliveryRequest_Collection createCollection() * @method static \Bitrix\Sale\Internals\EO_LocalDeliveryRequest wakeUpObject($row) * @method static \Bitrix\Sale\Internals\EO_LocalDeliveryRequest_Collection wakeUpCollection($rows) */ class LocalDeliveryRequestTable extends DataManager { /** * @inheritdoc */ public static function getTableName() { return 'b_sale_local_delivery_requests'; } /** * @inheritdoc */ public static function getMap() { return [ 'ID' => [ 'data_type' => 'integer', 'primary' => true, 'autocomplete' => true ], 'DELIVERY_SERVICE_ID' => [ 'data_type' => 'integer', 'required' => true, ], 'SHIPMENT_ID' => [ 'data_type' => 'integer', 'required' => true, ], 'CREATED_AT' => [ 'data_type' => 'datetime', 'required' => true, ], 'EXTERNAL_ID' => [ 'data_type' => 'string', 'required' => true, ], new ReferenceField( 'SHIPMENT', '\Bitrix\Sale\Internals\ShipmentTable', ['=this.SHIPMENT_ID' => 'ref.ID'] ), ]; } } /* * `ID` int NOT NULL AUTO_INCREMENT, `CREATED_AT` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP, `SHIPMENT_ID` int NOT NULL, `DELIVERY_SERVICE_ID` int NOT NULL, `EXTERNAL_ID` varchar(255) NOT NULL, * */