Files
snipe-it/app/models/LicenseSeat.php
T
2013-11-29 16:39:24 -05:00

17 lines
280 B
PHP

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