added helpful comments to models
This commit is contained in:
parent
ce3c8e6459
commit
131ac97afa
|
@ -1,9 +1,15 @@
|
|||
<?php
|
||||
|
||||
//The Model to a certain Controller, should contain a class with Controller name to which it belongs.
|
||||
// Allows needed strings to passed onto the database. if there is none. class should appear empty.
|
||||
|
||||
//Reference to where the file belongs.
|
||||
namespace App;
|
||||
|
||||
//allows the use of Model library
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
//Class of which should extend Model Library
|
||||
class Album extends Model
|
||||
{
|
||||
protected $fillable = [
|
||||
|
|
|
@ -1,7 +1,12 @@
|
|||
<?php
|
||||
|
||||
//The Model to a certain Controller, should contain a class with Controller name to which it belongs.
|
||||
// Allows needed strings to passed onto the database. if there is none. class should appear empty.
|
||||
|
||||
//Reference to where the file belongs.
|
||||
namespace App;
|
||||
|
||||
//allows the use of Model library
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class CalendarDate extends Model
|
||||
|
|
|
@ -1,7 +1,13 @@
|
|||
<?php
|
||||
|
||||
//The Model to a certain Controller, should contain a class with Controller name to which it belongs.
|
||||
// Allows needed strings to passed onto the database. if there is none. class should appear empty.
|
||||
|
||||
//Reference to where the file belongs.
|
||||
|
||||
namespace App;
|
||||
|
||||
//allows the use of Model library
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class CalendarEvent extends Model
|
||||
|
|
|
@ -1,7 +1,13 @@
|
|||
<?php
|
||||
|
||||
//The Model to a certain Controller, should contain a class with Controller name to which it belongs.
|
||||
// Allows needed strings to passed onto the database. if there is none. class should appear empty.
|
||||
|
||||
//Reference to where the file belongs.
|
||||
|
||||
namespace App;
|
||||
|
||||
//allows the use of Model library
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class Contact extends Model
|
||||
|
|
|
@ -1,7 +1,13 @@
|
|||
<?php
|
||||
|
||||
//The Model to a certain Controller, should contain a class with Controller name to which it belongs.
|
||||
// Allows needed strings to passed onto the database. if there is none. class should appear empty.
|
||||
|
||||
//Reference to where the file belongs.
|
||||
|
||||
namespace App;
|
||||
|
||||
//allows the use of Model library
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class Event extends Model
|
||||
|
|
|
@ -1,7 +1,13 @@
|
|||
<?php
|
||||
|
||||
//The Model to a certain Controller, should contain a class with Controller name to which it belongs.
|
||||
// Allows needed strings to passed onto the database. if there is none. class should appear empty.
|
||||
|
||||
//Reference to where the file belongs.
|
||||
|
||||
namespace App;
|
||||
|
||||
//allows the use of Model library
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class ExternalLink extends Model
|
||||
|
|
|
@ -1,7 +1,13 @@
|
|||
<?php
|
||||
|
||||
//The Model to a certain Controller, should contain a class with Controller name to which it belongs.
|
||||
// Allows needed strings to passed onto the database. if there is none. class should appear empty.
|
||||
|
||||
//Reference to where the file belongs.
|
||||
|
||||
namespace App;
|
||||
|
||||
//allows the use of Model library
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class Feedbacks extends Model
|
||||
|
|
|
@ -1,7 +1,13 @@
|
|||
<?php
|
||||
|
||||
//The Model to a certain Controller, should contain a class with Controller name to which it belongs.
|
||||
// Allows needed strings to passed onto the database. if there is none. class should appear empty.
|
||||
|
||||
//Reference to where the file belongs.
|
||||
|
||||
namespace App;
|
||||
|
||||
//allows the use of Model library
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class MenuPlan extends Model
|
||||
|
|
|
@ -1,7 +1,12 @@
|
|||
<?php
|
||||
|
||||
//The Model to a certain Controller, should contain a class with Controller name to which it belongs.
|
||||
// Allows needed strings to passed onto the database. if there is none. class should appear empty.
|
||||
|
||||
//Reference to where the file belongs.
|
||||
namespace App;
|
||||
|
||||
//allows the use of Model library
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class Resource extends Model
|
||||
|
|
|
@ -1,7 +1,12 @@
|
|||
<?php
|
||||
|
||||
//The Model to a certain Controller, should contain a class with Controller name to which it belongs.
|
||||
// Allows needed strings to passed onto the database. if there is none. class should appear empty.
|
||||
|
||||
//Reference to where the file belongs.
|
||||
namespace App;
|
||||
|
||||
//allows the use of Model library
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class ResourceCategory extends Model
|
||||
|
|
|
@ -1,7 +1,12 @@
|
|||
<?php
|
||||
|
||||
//The Model to a certain Controller, should contain a class with Controller name to which it belongs.
|
||||
// Allows needed strings to passed onto the database. if there is none. class should appear empty.
|
||||
|
||||
//Reference to where the file belongs.
|
||||
namespace App;
|
||||
|
||||
//allows the use of Model library
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class ResourceExtension extends Model
|
||||
|
|
|
@ -1,7 +1,12 @@
|
|||
<?php
|
||||
|
||||
//The Model to a certain Controller, should contain a class with Controller name to which it belongs.
|
||||
// Allows needed strings to passed onto the database. if there is none. class should appear empty.
|
||||
|
||||
//Reference to where the file belongs.
|
||||
namespace App;
|
||||
|
||||
//allows the use of many libraries.
|
||||
use Illuminate\Contracts\Auth\MustVerifyEmail;
|
||||
use Illuminate\Database\Eloquent\SoftDeletes;
|
||||
use Illuminate\Foundation\Auth\User as Authenticatable;
|
||||
|
|
|
@ -1,7 +1,12 @@
|
|||
<?php
|
||||
|
||||
//The Model to a certain Controller, should contain a class with Controller name to which it belongs.
|
||||
// Allows needed strings to passed onto the database. if there is none. class should appear empty.
|
||||
|
||||
//Reference to where the file belongs.
|
||||
namespace App;
|
||||
|
||||
//allows the use of Model library
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class WashingMachine extends Model
|
||||
|
|
|
@ -1,7 +1,12 @@
|
|||
<?php
|
||||
|
||||
//The Model to a certain Controller, should contain a class with Controller name to which it belongs.
|
||||
// Allows needed strings to passed onto the database. if there is none. class should appear empty.
|
||||
|
||||
//Reference to where the file belongs.
|
||||
namespace App;
|
||||
|
||||
//allows the use of Model library
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class WashingReservation extends Model
|
||||
|
|
Loading…
Reference in New Issue