CompanyBranch.php 341 B

1234567891011121314151617181920212223242526
  1. <?php
  2. namespace App;
  3. use Illuminate\Database\Eloquent\Model;
  4. use Illuminate\Database\Eloquent\SoftDeletes;
  5. class CompanyBranch extends Model
  6. {
  7. use SoftDeletes;
  8. /**
  9. * The attributes that are mass assignable.
  10. *
  11. * @var array
  12. */
  13. protected $fillable = [
  14. 'name', 'company_id'
  15. ];
  16. protected $dates = ['deleted_at'];
  17. }