Fix
parent
0b4f1394af
commit
8247f78cf4
|
|
@ -10,14 +10,9 @@ class MeteorologicalMonitoringLog extends Model
|
|||
{
|
||||
use HasFactory;
|
||||
|
||||
protected $attributes = [
|
||||
'is_filled' => false,
|
||||
];
|
||||
|
||||
protected $casts = [
|
||||
'wind_direction' => WindDirection::class,
|
||||
'monitored_at' => 'datetime',
|
||||
'is_filled' => 'bool',
|
||||
];
|
||||
|
||||
protected $fillable = [
|
||||
|
|
|
|||
|
|
@ -9,8 +9,13 @@ class WaterQualityMonitoringLog extends Model
|
|||
{
|
||||
use HasFactory;
|
||||
|
||||
protected $attributes = [
|
||||
'is_filled' => false,
|
||||
];
|
||||
|
||||
protected $casts = [
|
||||
'monitored_at' => 'datetime',
|
||||
'is_filled' => 'bool',
|
||||
];
|
||||
|
||||
protected $fillable = [
|
||||
|
|
@ -23,5 +28,6 @@ class WaterQualityMonitoringLog extends Model
|
|||
'temperature',
|
||||
'turbidity',
|
||||
'monitored_at',
|
||||
'is_filled',
|
||||
];
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue