Test.php 447 B

1234567891011121314151617181920212223242526272829
  1. <?php
  2. namespace app\model;
  3. use support\Model;
  4. class Test extends Model
  5. {
  6. /**
  7. * The table associated with the model.
  8. *
  9. * @var string
  10. */
  11. protected $table = 'test';
  12. /**
  13. * The primary key associated with the table.
  14. *
  15. * @var string
  16. */
  17. protected $primaryKey = 'id';
  18. /**
  19. * Indicates if the model should be timestamped.
  20. *
  21. * @var bool
  22. */
  23. public $timestamps = false;
  24. }