EloquentModelUuidStub.php 457 B

123456789101112131415161718192021222324252627
  1. <?php
  2. use Illuminate\Database\Eloquent\Model;
  3. class EloquentModelUuidStub extends Model
  4. {
  5. /**
  6. * The table associated with the model.
  7. *
  8. * @var string
  9. */
  10. protected $table = 'model';
  11. /**
  12. * The "type" of the primary key ID.
  13. *
  14. * @var string
  15. */
  16. protected $keyType = 'string';
  17. /**
  18. * Indicates if the IDs are auto-incrementing.
  19. *
  20. * @var bool
  21. */
  22. public $incrementing = false;
  23. }