From 6b2d13f37cafd0d519133b1b1ca3010bd4c60fc7 Mon Sep 17 00:00:00 2001 From: fomichev Date: Wed, 25 Dec 2024 15:51:58 +0300 Subject: [PATCH] =?utf8?q?=D0=BC=D0=BE=D0=B4=D0=B5=D0=BB=D1=8C=20=D0=B4?= =?utf8?q?=D0=BB=D1=8F=20=D1=82=D0=B0=D0=B1=D0=BB=D0=B8=D1=86=D1=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- erp24/records/UsersTelegramChatId.php | 54 +++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) create mode 100644 erp24/records/UsersTelegramChatId.php diff --git a/erp24/records/UsersTelegramChatId.php b/erp24/records/UsersTelegramChatId.php new file mode 100644 index 00000000..43740d4f --- /dev/null +++ b/erp24/records/UsersTelegramChatId.php @@ -0,0 +1,54 @@ + null], + [['is_blocked', 'is_registered'], 'integer'], + [['chat_id', 'phone', 'username', 'first_name'], 'string', 'max' => 255], + ]; + } + + /** + * {@inheritdoc} + */ + public function attributeLabels() + { + return [ + 'chat_id' => 'Chat ID', + 'phone' => 'Телефон', + 'username' => 'Имя пользователя в Телеграм', + 'first_name' => 'Имя пользователя', + 'is_blocked' => 'Заблокирован: 0 - нет, 1 - да', + 'is_registered' => 'Зарегистрирован: 0 - нет, 1 - да', + ]; + } +} -- 2.39.5