ServicePack.php 340 B

123456789101112131415161718192021
  1. <?php
  2. /**
  3. * Created by PhpStorm.
  4. * User: zilongs
  5. * Date: 20-10-4
  6. * Time: 下午7:11
  7. */
  8. namespace App\Models;
  9. class ServicePack extends BaseModel
  10. {
  11. protected $table = 'service_packs';
  12. protected $casts = [
  13. 'label' => 'json',
  14. ];
  15. public function team()
  16. {
  17. return $this->belongsTo(Team::class);
  18. }
  19. }