Your IP : 216.73.216.86


Current Path : /var/www/homesaver/www/bitrix/modules/sale/lib/cashbox/internals/
Upload File :
Current File : /var/www/homesaver/www/bitrix/modules/sale/lib/cashbox/internals/cashboxcheck.php

<?php
namespace Bitrix\Sale\Cashbox\Internals;

use	Bitrix\Main\Entity\DataManager;

/**
 * Class CashboxCheckTable
 *
 * DO NOT WRITE ANYTHING BELOW THIS
 *
 * <<< ORMENTITYANNOTATION
 * @method static EO_CashboxCheck_Query query()
 * @method static EO_CashboxCheck_Result getByPrimary($primary, array $parameters = [])
 * @method static EO_CashboxCheck_Result getById($id)
 * @method static EO_CashboxCheck_Result getList(array $parameters = [])
 * @method static EO_CashboxCheck_Entity getEntity()
 * @method static \Bitrix\Sale\Cashbox\Internals\EO_CashboxCheck createObject($setDefaultValues = true)
 * @method static \Bitrix\Sale\Cashbox\Internals\EO_CashboxCheck_Collection createCollection()
 * @method static \Bitrix\Sale\Cashbox\Internals\EO_CashboxCheck wakeUpObject($row)
 * @method static \Bitrix\Sale\Cashbox\Internals\EO_CashboxCheck_Collection wakeUpCollection($rows)
 */
class CashboxCheckTable extends DataManager
{
	public static function getTableName()
	{
		return 'b_sale_cashbox_check';
	}

	public static function getMap()
	{
		return array(
			'ID' => array(
				'primary' => true,
				'autocomplete' => true,
				'autoincrement' => true,
				'data_type' => 'integer',
			),
			'PAYMENT_ID' => array(
				'data_type' => 'integer',
			),
			'PAYMENT' => array(
				'data_type' => 'Bitrix\Sale\Internals\PaymentTable',
				'reference' => array(
					'=this.PAYMENT_ID' => 'ref.ID'
				)
			),
			'SHIPMENT_ID' => array(
				'data_type' => 'integer',
			),
			'ORDER_ID' => array(
				'data_type' => 'integer',
			),
			'EXTERNAL_UUID' => array(
				'data_type' => 'string',
			),
			'CASHBOX_ID' => array(
				'data_type' => 'integer',
			),
			'CNT_FAIL_PRINT' => array(
				'data_type' => 'integer',
				'default' => 0
			),
			'CASHBOX' => array(
				'data_type' => 'Bitrix\Sale\Cashbox\Internals\CashboxTable',
				'reference' => array(
					'=this.CASHBOX_ID' => 'ref.ID'
				)
			),
			'DATE_CREATE' => array(
				'data_type' => 'datetime',
				'required' => true
			),
			'DATE_PRINT_START' => array(
				'data_type' => 'datetime',
			),
			'DATE_PRINT_END' => array(
				'data_type' => 'datetime',
			),
			'SUM' => array(
				'data_type' => 'float',
			),
			'CURRENCY' => array(
				'data_type' => 'string',
			),
			'LINK_PARAMS' => array(
				'data_type' => 'string',
				'serialized' => true
			),
			'TYPE' => array(
				'data_type' => 'string',
				'required' => true
			),
			'STATUS' => array(
				'data_type' => 'string',
			),
			'CHECK2CASHBOX' => array(
				'data_type' => 'Bitrix\Sale\Cashbox\Internals\Check2CashboxTable',
				'reference' => array(
					'=this.ID' => 'ref.CHECK_ID'
				),
				'join_type' => 'INNER'
			),
			'ENTITY_REGISTRY_TYPE' => array(
				'data_type' => 'string',
				'required' => true
			),
			'ERROR_MESSAGE' => array(
				'data_type' => 'text',
			),
		);
	}
}