Cleanup of model attributes

This commit is contained in:
Till Deeke 2018-07-21 14:07:06 +02:00
parent 722f032895
commit 775e46288e
6 changed files with 0 additions and 37 deletions

View file

@ -48,13 +48,6 @@ class Accessory extends SnipeModel
'location' => ['name'] 'location' => ['name']
]; ];
/**
* Set static properties to determine which checkout/checkin handlers we should use
*/
public static $checkoutClass = CheckoutAccessoryNotification::class;
public static $checkinClass = CheckinAccessoryNotification::class;
/** /**
* Accessory validation rules * Accessory validation rules
*/ */

View file

@ -34,11 +34,6 @@ class Asset extends Depreciable
const USER = 'user'; const USER = 'user';
const ACCEPTANCE_PENDING = 'pending'; const ACCEPTANCE_PENDING = 'pending';
/**
* Set static properties to determine which checkout/checkin handlers we should use
*/
public static $checkoutClass = CheckoutAssetNotification::class;
public static $checkinClass = CheckinAssetNotification::class;
/** /**

View file

@ -21,13 +21,6 @@ class Component extends SnipeModel
protected $dates = ['deleted_at', 'purchase_date']; protected $dates = ['deleted_at', 'purchase_date'];
protected $table = 'components'; protected $table = 'components';
/**
* Set static properties to determine which checkout/checkin handlers we should use
*/
public static $checkoutClass = null;
public static $checkinClass = null;
/** /**
* Category validation rules * Category validation rules
*/ */

View file

@ -20,12 +20,6 @@ class Consumable extends SnipeModel
'requestable' => 'boolean' 'requestable' => 'boolean'
]; ];
/**
* Set static properties to determine which checkout/checkin handlers we should use
*/
public static $checkoutClass = CheckoutConsumableNotification::class;
public static $checkinClass = null;
/** /**
* Category validation rules * Category validation rules

View file

@ -18,12 +18,6 @@ class License extends Depreciable
{ {
protected $presenter = 'App\Presenters\LicensePresenter'; protected $presenter = 'App\Presenters\LicensePresenter';
/**
* Set static properties to determine which checkout/checkin handlers we should use
*/
public static $checkoutClass = CheckoutLicenseNotification::class;
public static $checkinClass = CheckinLicenseNotification::class;
use SoftDeletes; use SoftDeletes;
use CompanyableTrait; use CompanyableTrait;

View file

@ -17,12 +17,6 @@ class LicenseSeat extends Model implements ICompanyableChild
protected $guarded = 'id'; protected $guarded = 'id';
protected $table = 'license_seats'; protected $table = 'license_seats';
/**
* Set static properties to determine which checkout/checkin handlers we should use
*/
public static $checkoutClass = CheckoutLicenseNotification::class;
public static $checkinClass = CheckinLicenseNotification::class;
public function getCompanyableParents() public function getCompanyableParents()
{ {
return ['asset', 'license']; return ['asset', 'license'];