• Модуль: sender
  • Путь к файлу: ~/bitrix/modules/sender/lib/internals/model/groupcontact.php
  • Класс: Bitrix\Sender\Internals\Model\GroupContactTable
  • Вызов: GroupContactTable::getMap
static function getMap()
{
	return array(
		'ID' => array(
			'data_type' => 'integer',
			'autocomplete' => true,
			'primary' => true,
		),
		'DATE_INSERT' => array(
			'data_type' => 'datetime',
		),
		'CONTACT' => array(
			'data_type' => Sender\ContactTable::class,
			'reference' => array('=this.CONTACT_ID' => 'ref.ID'),
		),
		'CONTACT_ID' => array(
			'required' => true,
			'data_type' => 'integer',
		),
		'GROUP_ID' => array(
			'data_type' => 'integer',
			'required' => true,
			'primary' => true,
		),
		'TYPE_ID' => array(
			'data_type' => 'integer',
			'required' => true,
			'primary' => true,
		),

		'CNT' => array(
			'data_type' => 'integer',
			'required' => true,
			'default_value' => 0,
		),
		'GROUP' => array(
			'data_type' => 'Bitrix\Sender\GroupTable',
			'reference' => array('=this.GROUP_ID' => 'ref.ID'),
		),
	);
}