pembuatan basic data surveyor

This commit is contained in:
majid
2024-10-16 16:41:39 +07:00
parent b7abf1ee79
commit dfc9ea74ec
22 changed files with 746 additions and 160 deletions

View File

@@ -14,7 +14,8 @@ class BentukTanah extends Model
/**
* The attributes that are mass assignable.
*/
protected $fillable = [];
protected $fillable = ['code', 'name', 'status'];
protected static function newFactory(): BentukTanahFactory
{

View File

@@ -15,8 +15,7 @@ class JenisBangunan extends Model
/**
* The attributes that are mass assignable.
*/
protected $fillable = [];
protected $fillable = ['code', 'name', 'status'];
protected static function newFactory(): JenisBangunanFactory
{
//return JenisBangunanFactory::new();

View File

@@ -15,7 +15,7 @@ class KetinggianTanah extends Model
/**
* The attributes that are mass assignable.
*/
protected $fillable = [];
protected $fillable = ['code', 'name', 'status'];
protected static function newFactory(): KetinggianTanahFactory
{

View File

@@ -14,7 +14,7 @@ class KondisiFisikTanah extends Model
/**
* The attributes that are mass assignable.
*/
protected $fillable = [];
protected $fillable = ['code', 'name', 'status'];
protected static function newFactory(): KondisiFisikTanahFactory
{

View File

@@ -14,7 +14,7 @@ class KonturTanah extends Model
/**
* The attributes that are mass assignable.
*/
protected $fillable = [];
protected $fillable = ['code', 'name', 'status'];
protected static function newFactory(): KonturTanahFactory
{

View File

@@ -1,22 +0,0 @@
<?php
namespace Modules\Lpj\Models;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Modules\Lpj\Database\Factories\LaliLintasLokasiFactory;
class LaliLintasLokasi extends Model
{
use HasFactory;
/**
* The attributes that are mass assignable.
*/
protected $fillable = [];
protected static function newFactory(): LaliLintasLokasiFactory
{
//return LaliLintasLokasiFactory::new();
}
}

View File

@@ -9,11 +9,12 @@ use Modules\Lpj\Database\Factories\LaluLintasLokasiFactory;
class LaluLintasLokasi extends Model
{
use HasFactory;
protected $table = 'lalu_lintas_lokasi';
/**
* The attributes that are mass assignable.
*/
protected $fillable = [];
protected $fillable = ['code', 'name', 'status'];
protected static function newFactory(): LaluLintasLokasiFactory
{

View File

@@ -13,7 +13,7 @@ class PerkerasanJalan extends Model
/**
* The attributes that are mass assignable.
*/
protected $fillable = [];
protected $fillable = ['code', 'name', 'status'];
protected static function newFactory(): PerkerasanJalanFactory
{

View File

@@ -15,7 +15,7 @@ class PosisiKavling extends Model
/**
* The attributes that are mass assignable.
*/
protected $fillable = [];
protected $fillable = ['code', 'name', 'status'];
protected static function newFactory(): PosisiKavlingFactory
{

View File

@@ -15,7 +15,7 @@ class SaranaPelengkap extends Model
/**
* The attributes that are mass assignable.
*/
protected $fillable = [];
protected $fillable = ['code', 'name', 'status'];
protected static function newFactory(): SaranaPelengkapFactory
{

View File

@@ -15,7 +15,7 @@ class SifatBangunan extends Model
/**
* The attributes that are mass assignable.
*/
protected $fillable = [];
protected $fillable = ['code', 'name', 'status'];
protected static function newFactory(): SifatBangunanFactory
{

View File

@@ -13,7 +13,7 @@ class TingkatKeramaian extends Model
/**
* The attributes that are mass assignable.
*/
protected $fillable = [];
protected $fillable = ['code', 'name', 'status'];
protected static function newFactory(): TingkatKeramaianFactory
{