35 new Entity\IntegerField(
'ID', [
'primary' =>
true,
'autocomplete' =>
true]),
36 new Entity\IntegerField(
'USER_ID'),
37 new Entity\StringField(
'IP_ADDRESS', [
'size' => 128]),
38 new Entity\StringField(
'PHPSESSID', [
'size' => 255]),
39 new Entity\DatetimeField(
'LAST_VISIT'),
40 new Entity\StringField(
'SITE_ID', [
'size' => 2]),
41 new Entity\IntegerField(
'FORUM_ID'),
42 new Entity\IntegerField(
'TOPIC_ID'),
43 new Entity\EnumField(
'SHOW_NAME', [
'values' => [
'Y',
'N'],
'default_value' =>
'N']),
44 new Reference(
'USER', \
Bitrix\Main\UserTable::class, Join::on(
'this.USER_ID',
'ref.ID')),
45 new Reference(
'FORUM_USER', \
Bitrix\
Forum\UserTable::class, Join::on(
'this.USER_ID',
'ref.USER_ID')),