* @property int $events Импортированы ли события
* @property string|null $first_minus_balance
* @property string $info
- * @property string $telegram_chat_id
*/
class Users extends \yii\db\ActiveRecord
{
'store_id',
'first_minus_balance',
'telegram_unsubscribed_at',
- 'telegram_chat_id'
+
],
'safe'
],
- [['pol', 'info', 'telegram_created_at', 'telegram_chat_id'], 'string'],
+ [['pol', 'info', 'telegram_created_at'], 'string'],
[
[
'forgot',
[['name_name', 'name_last', 'kod'], 'string', 'max' => 20],
[['name_family'], 'string', 'max' => 25],
[['comment', 'sale_store'], 'string', 'max' => 200],
- [['email', 'telegram_chat_id'], 'string', 'max' => 70],
+ [['email'], 'string', 'max' => 70],
[['phone_old'], 'string', 'max' => 250],
[['card', 'check_id'], 'string', 'max' => 35],
[['password', 'keycode', 'seller_id'], 'string', 'max' => 36],
'black_list' => 'Black List',
'events' => 'Events',
'telegram_unsubscribed_at' => 'Telegram Unsubscribed At',
- 'telegram_chat_id' => 'Telegram ChatID'
- ];
+ ];
}
public function getReferral()