pembuatan basic data surveyor
This commit is contained in:
@@ -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
|
||||
{
|
||||
|
||||
@@ -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();
|
||||
|
||||
@@ -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
|
||||
{
|
||||
|
||||
@@ -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
|
||||
{
|
||||
|
||||
@@ -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
|
||||
{
|
||||
|
||||
@@ -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();
|
||||
}
|
||||
}
|
||||
@@ -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
|
||||
{
|
||||
|
||||
@@ -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
|
||||
{
|
||||
|
||||
@@ -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
|
||||
{
|
||||
|
||||
@@ -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
|
||||
{
|
||||
|
||||
@@ -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
|
||||
{
|
||||
|
||||
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user