LoginLogs.php 482 B

1234567891011121314151617181920212223
  1. <?php
  2. /**
  3. * [WeEngine System] Copyright (c) 2014 WE7.CC
  4. * WeEngine is NOT a free software, it under the license terms, visited http://www.we7.cc/ for more details.
  5. */
  6. namespace We7\Table\Users;
  7. class LoginLogs extends \We7Table {
  8. protected $tableName = 'users_login_logs';
  9. protected $primaryKey = 'id';
  10. protected $field = array(
  11. 'ip',
  12. 'uid',
  13. 'city',
  14. 'createtime',
  15. );
  16. protected $default = array(
  17. 'ip' => 0,
  18. 'uid' => 0,
  19. 'city' => '',
  20. 'createtime' => 0,
  21. );
  22. }