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