Sector.php 814 B

12345678910111213141516171819202122232425262728293031323334353637
  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. }
  20. /**
  21. * @property int $id
  22. * @property int $template_id
  23. * @property string $sector_name
  24. * @property string $sector_code
  25. * @property string $page_type
  26. * @property string $sector_img
  27. * @property \Carbon\Carbon $created_at
  28. * @property \Carbon\Carbon $updated_at
  29. */