24 lines
563 B
PHP
24 lines
563 B
PHP
<?php
|
|
|
|
namespace Modules\Lpj\Models;
|
|
|
|
use Illuminate\Database\Eloquent\Model;
|
|
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
|
use Modules\Lpj\Database\Factories\ViewUnitFactory;
|
|
|
|
class ViewUnit extends Model
|
|
{
|
|
use HasFactory;
|
|
|
|
protected $table = 'view_unit';
|
|
/**
|
|
* The attributes that are mass assignable.
|
|
*/
|
|
protected $fillable = ['name', 'status', 'authorized_status', 'authorized_at', 'authorized_by', 'code'];
|
|
|
|
protected static function newFactory(): ViewUnitFactory
|
|
{
|
|
//return ViewUnitFactory::new();
|
|
}
|
|
}
|