25 lines
552 B
PHP
25 lines
552 B
PHP
<?php
|
|
|
|
namespace Modules\Lpj\Models;
|
|
|
|
use Illuminate\Database\Eloquent\Model;
|
|
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
|
use Modules\Lpj\Database\Factories\LantaiUnitFactory;
|
|
|
|
class LantaiUnit extends Model
|
|
{
|
|
use HasFactory;
|
|
|
|
protected $table = 'lantai_unit';
|
|
|
|
/**
|
|
* The attributes that are mass assignable.
|
|
*/
|
|
protected $fillable = ['name_lantai_unit','foto_lantai_unit', 'objek_jaminan_id'];
|
|
|
|
protected static function newFactory(): LantaiUnitFactory
|
|
{
|
|
//return LantaiUnitFactory::new();
|
|
}
|
|
}
|