Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
userwelltory.php
1<?php
9
12
29class UserWelltoryTable extends Entity\DataManager
30{
36 public static function getTableName()
37 {
38 return 'b_sonet_user_welltory';
39 }
40
44 public static function getMap()
45 {
46 return array(
47 'ID' => array(
48 'data_type' => 'integer',
49 'primary' => true,
50 'autocomplete' => true,
51 ),
52 'USER_ID' => array(
53 'data_type' => 'integer',
54 ),
55 'USER' => array(
56 'data_type' => 'Bitrix\Main\UserTable',
57 'reference' => array('=this.USER_ID' => 'ref.ID'),
58 ),
59 'STRESS' => array(
60 'data_type' => 'integer',
61 ),
62 'STRESS_TYPE' => array(
63 'data_type' => 'string',
64 ),
65 'STRESS_COMMENT' => array(
66 'data_type' => 'string',
67 ),
68 'DATE_MEASURE' => array(
69 'data_type' => 'datetime'
70 ),
71 'HASH' => array(
72 'data_type' => 'string',
73 ),
74 );
75 }
76}