<?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 CompanyDetail extends Model
{
    //use SoftDeletes;

    public $table = 'company_detail';


    public $fillable = [
        'name',
        'tag_line',
        'address',
        'gstNo',
        'email',
        'web_address',
        'phone1',
        'phone2',
        'phone3',
        'email1',
        'email2',
        'invoice_prefix',
        'bank_detail',
        'tnc',
        'logo_path',
        'watermark_path',
        'signature_footer',
        'declaration_note'
    ];

    /**
     * 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'
    ];

    
}
