• Модуль: pull
  • Путь к файлу: ~/bitrix/modules/pull/lib/model/watchtable.php
  • Класс: BitrixPullModelWatchTable
  • Вызов: WatchTable::getMap
static function getMap(): array
{
	return [
		(new ORMFieldsIntegerField('ID'))
			->configurePrimary()
			->configureAutocomplete(),
		(new ORMFieldsIntegerField('USER_ID'))
			->configureRequired(),
		(new ORMFieldsStringField('CHANNEL_ID'))
			->configureRequired()
			->configureSize(50),
		(new ORMFieldsStringField('TAG'))
			->configureRequired()
			->configureSize(255),
		(new ORMFieldsDatetimeField('DATE_CREATE'))
			->configureRequired(),
	];
}