<?php

namespace Modules\Financial\Entities;

use Illuminate\Database\Eloquent\Model;

class Package extends Model
{
    protected $fillable = ['title','fa','amount','handler'];
    public $adminFields=[
        'title'=>[
            'type'=>'string',
            'fa_name'=>'عنوان',
            'col'=>6,
            'required'=>true,
            'data'=>[]
        ],
        'fa'=>[
            'type'=>'string',
            'fa_name'=>'پکیج',
            'col'=>6,
            'required'=>true,
            'data'=>[]
        ],
        'amount'=>[
            'type'=>'string',
            'fa_name'=>'قیمت',
            'col'=>6,
            'required'=>true,
            'data'=>[]
        ],
        'handler'=>[
            'type'=>'string',
            'fa_name'=>'handler',
            'col'=>6,
            'required'=>false,
            'data'=>[]
        ]
    ];

}
