TelegramUser.php 604 B

123456789101112131415161718192021222324252627282930
  1. <?php
  2. namespace App\Game\Telegram;
  3. use Illuminate\Database\Eloquent\Model;
  4. class TelegramUser extends Model {
  5. protected $table = 'webgame.TelegramUser';
  6. protected $primaryKey = 'tid';
  7. public $timestamps = false;
  8. protected $connection='mysql';
  9. protected $fillable = [
  10. 'id',
  11. 'UserID',
  12. 'GlobalUID',
  13. 'first_name',
  14. 'last_name',
  15. 'username',
  16. 'language_code',
  17. 'allows_write_to_pm',
  18. 'photo_url',
  19. 'chat_instance',
  20. 'chat_type',
  21. 'create_at',
  22. 'update_at',
  23. 'enter_times',
  24. ];
  25. }