Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
userstoredauthtable.php
1<?php
2
11
14
32{
33 use Data\Internal\DeleteByFilterTrait;
34
35 public static function getTableName()
36 {
37 return 'b_user_stored_auth';
38 }
39
40 public static function getMap()
41 {
42 return [
43 (new Fields\IntegerField('ID'))
44 ->configurePrimary(true)
45 ->configureAutocomplete(true),
46
47 (new Fields\IntegerField('USER_ID')),
48
49 (new Fields\DatetimeField('DATE_REG')),
50
51 (new Fields\DatetimeField('LAST_AUTH')),
52
53 (new Fields\StringField('STORED_HASH')),
54
55 (new Fields\BooleanField('TEMP_HASH'))
56 ->configureValues('N', 'Y')
57 ->configureDefaultValue('N'),
58
59 (new Fields\IntegerField('IP_ADDR')),
60 ];
61 }
62}