Sector.php 537 B

1234567891011121314151617181920212223242526
  1. <?php
  2. declare(strict_types=1);
  3. namespace App\Model;
  4. use Hyperf\DbConnection\Model\Model;
  5. class Sector extends Model
  6. {
  7. /**
  8. * The table associated with the model.
  9. */
  10. protected ?string $table = 'sector';
  11. /**
  12. * The attributes that are mass assignable.
  13. */
  14. protected array $fillable = [];
  15. /**
  16. * The attributes that should be cast to native types.
  17. */
  18. protected array $casts = ['id' => 'integer', 'template_id' => 'integer', 'created_at' => 'datetime', 'updated_at' => 'datetime'];
  19. }