76 lines
1.6 KiB
PHP
76 lines
1.6 KiB
PHP
<?php namespace Zoomyboy\Social\Models;
|
|
|
|
use Model;
|
|
|
|
/**
|
|
* InstagramUser Model
|
|
*/
|
|
class InstagramUser extends Model
|
|
{
|
|
use \October\Rain\Database\Traits\Validation;
|
|
use \October\Rain\Database\Traits\Sluggable;
|
|
|
|
/**
|
|
* @var string table associated with the model
|
|
*/
|
|
public $table = 'zoomyboy_social_instagram_users';
|
|
|
|
public $slugs = ['slug' => 'name'];
|
|
|
|
/**
|
|
* @var array guarded attributes aren't mass assignable
|
|
*/
|
|
protected $guarded = [];
|
|
|
|
/**
|
|
* @var array fillable attributes are mass assignable
|
|
*/
|
|
protected $fillable = [];
|
|
|
|
/**
|
|
* @var array rules for validation
|
|
*/
|
|
public $rules = [];
|
|
|
|
/**
|
|
* @var array Attributes to be cast to native types
|
|
*/
|
|
protected $casts = [];
|
|
|
|
/**
|
|
* @var array jsonable attribute names that are json encoded and decoded from the database
|
|
*/
|
|
protected $jsonable = [];
|
|
|
|
/**
|
|
* @var array appends attributes to the API representation of the model (ex. toArray())
|
|
*/
|
|
protected $appends = [];
|
|
|
|
/**
|
|
* @var array hidden attributes removed from the API representation of the model (ex. toArray())
|
|
*/
|
|
protected $hidden = [];
|
|
|
|
/**
|
|
* @var array dates attributes that should be mutated to dates
|
|
*/
|
|
protected $dates = [
|
|
'created_at',
|
|
'updated_at'
|
|
];
|
|
|
|
/**
|
|
* @var array hasOne and other relations
|
|
*/
|
|
public $hasOne = [];
|
|
public $hasMany = [];
|
|
public $belongsTo = [];
|
|
public $belongsToMany = [];
|
|
public $morphTo = [];
|
|
public $morphOne = [];
|
|
public $morphMany = [];
|
|
public $attachOne = [];
|
|
public $attachMany = [];
|
|
}
|