update basic data surveyor
This commit is contained in:
24
app/Models/BentukUnit.php
Normal file
24
app/Models/BentukUnit.php
Normal file
@@ -0,0 +1,24 @@
|
||||
<?php
|
||||
|
||||
namespace Modules\Lpj\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||
// use Modules\Lpj\Database\Factories\BentukUnitFactory;
|
||||
|
||||
class BentukUnit extends Model
|
||||
{
|
||||
use HasFactory;
|
||||
|
||||
protected $table = 'bentuk_unit';
|
||||
|
||||
/**
|
||||
* The attributes that are mass assignable.
|
||||
*/
|
||||
protected $fillable = ['code', 'name', 'status'];
|
||||
|
||||
// protected static function newFactory(): BentukUnitFactory
|
||||
// {
|
||||
// // return BentukUnitFactory::new();
|
||||
// }
|
||||
}
|
||||
23
app/Models/FasilitasObjek.php
Normal file
23
app/Models/FasilitasObjek.php
Normal file
@@ -0,0 +1,23 @@
|
||||
<?php
|
||||
|
||||
namespace Modules\Lpj\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||
// use Modules\Lpj\Database\Factories\FasilitasObjekFactory;
|
||||
|
||||
class FasilitasObjek extends Model
|
||||
{
|
||||
use HasFactory;
|
||||
|
||||
protected $table = 'fasilitas_objek';
|
||||
/**
|
||||
* The attributes that are mass assignable.
|
||||
*/
|
||||
protected $fillable = ['code', 'name', 'status'];
|
||||
|
||||
// protected static function newFactory(): FasilitasObjekFactory
|
||||
// {
|
||||
// // return FasilitasObjekFactory::new();
|
||||
// }
|
||||
}
|
||||
24
app/Models/JenisUnit.php
Normal file
24
app/Models/JenisUnit.php
Normal file
@@ -0,0 +1,24 @@
|
||||
<?php
|
||||
|
||||
namespace Modules\Lpj\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||
|
||||
// use Modules\Lpj\Database\Factories\JenisUnitFactory;
|
||||
|
||||
class JenisUnit extends Model
|
||||
{
|
||||
use HasFactory;
|
||||
|
||||
protected $table = 'jenis_unit';
|
||||
/**
|
||||
* The attributes that are mass assignable.
|
||||
*/
|
||||
protected $fillable = ['code', 'name', 'status'];
|
||||
|
||||
// protected static function newFactory(): JenisUnitFactory
|
||||
// {
|
||||
// // return JenisUnitFactory::new();
|
||||
// }
|
||||
}
|
||||
24
app/Models/MerupakanDaerah.php
Normal file
24
app/Models/MerupakanDaerah.php
Normal file
@@ -0,0 +1,24 @@
|
||||
<?php
|
||||
|
||||
namespace Modules\Lpj\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||
|
||||
// use Modules\Lpj\Database\Factories\MerupakanDaerahFactory;
|
||||
|
||||
class MerupakanDaerah extends Model
|
||||
{
|
||||
use HasFactory;
|
||||
|
||||
protected $table = 'merupakan_daerah';
|
||||
/**
|
||||
* The attributes that are mass assignable.
|
||||
*/
|
||||
protected $fillable = ['code', 'name', 'status'];
|
||||
|
||||
// protected static function newFactory(): MerupakanDaerahFactory
|
||||
// {
|
||||
// // return MerupakanDaerahFactory::new();
|
||||
// }
|
||||
}
|
||||
24
app/Models/PosisiUnit.php
Normal file
24
app/Models/PosisiUnit.php
Normal file
@@ -0,0 +1,24 @@
|
||||
<?php
|
||||
|
||||
namespace Modules\Lpj\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||
|
||||
// use Modules\Lpj\Database\Factories\PosisiUnitFactory;
|
||||
|
||||
class PosisiUnit extends Model
|
||||
{
|
||||
use HasFactory;
|
||||
|
||||
protected $table = 'posisi_unit';
|
||||
/**
|
||||
* The attributes that are mass assignable.
|
||||
*/
|
||||
protected $fillable = ['code', 'name', 'status'];
|
||||
|
||||
// protected static function newFactory(): PosisiUnitFactory
|
||||
// {
|
||||
// // return PosisiUnitFactory::new();
|
||||
// }
|
||||
}
|
||||
25
app/Models/TerletakArea.php
Normal file
25
app/Models/TerletakArea.php
Normal file
@@ -0,0 +1,25 @@
|
||||
<?php
|
||||
|
||||
namespace Modules\Lpj\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||
|
||||
// use Modules\Lpj\Database\Factories\TerletakAreaFactory;
|
||||
|
||||
class TerletakArea extends Model
|
||||
{
|
||||
use HasFactory;
|
||||
|
||||
protected $table = 'terletak_area';
|
||||
|
||||
/**
|
||||
* The attributes that are mass assignable.
|
||||
*/
|
||||
protected $fillable = ['code', 'name', 'status'];
|
||||
|
||||
// protected static function newFactory(): TerletakAreaFactory
|
||||
// {
|
||||
// // return TerletakAreaFactory::new();
|
||||
// }
|
||||
}
|
||||
Reference in New Issue
Block a user