Files
snipe-it/app/models/LicenseSeat.php
T
2014-06-24 17:49:39 -04:00

19 lines
330 B
PHP

<?php
class LicenseSeat extends Elegant
{
protected $table = 'license_seats';
protected $softDelete = true;
public function license()
{
return $this->belongsTo('License','license_id');
}
public function user()
{
return $this->belongsTo('User','assigned_to')->withTrashed();
}
}