NASER add task functions
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
<?php
|
||||
|
||||
namespace App\Models;
|
||||
|
||||
use Illuminate\Console\View\Components\Task;
|
||||
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
use Illuminate\Support\Facades\DB;
|
||||
|
||||
|
||||
class App extends Model
|
||||
{
|
||||
use HasFactory;
|
||||
|
||||
protected $table = 'apps';
|
||||
|
||||
|
||||
protected $fillable = [
|
||||
'name',
|
||||
'created_at',
|
||||
'updated_at',
|
||||
'deleted_at',
|
||||
'name_fa',
|
||||
'type',
|
||||
];
|
||||
|
||||
protected $TYPE = [
|
||||
1=>'خانگی',
|
||||
2=>'همکار'
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user