<?php

namespace App\Models;

use Eloquent as Model;
use Illuminate\Database\Eloquent\SoftDeletes;

/**
 * Class EntryTag
 * @package App\Models
 * @version January 22, 2020, 3:57 am UTC
 *
 */
class EntryTag extends Model
{
    //use SoftDeletes;

    public $table = 'entry_tags';
    

    protected $dates = ['deleted_at'];


    public $fillable = [
        'title',
        'color',
        'background_color'
    ];

    /**
     * The attributes that should be casted to native types.
     *
     * @var array
     */
    protected $casts = [
        
    ];

    /**
     * Validation rules
     *
     * @var array
     */
    public static $rules = [
        'title' => 'required',
        'color' => 'required',
        'background_color' => 'required'
    ];

    
}
