Initial commit for new repo
All checks were successful
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Successful in 1m4s
All checks were successful
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Successful in 1m4s
This commit is contained in:
22
app/Models/LineStop.php
Normal file
22
app/Models/LineStop.php
Normal file
@@ -0,0 +1,22 @@
|
||||
<?php
|
||||
|
||||
namespace App\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
use Illuminate\Database\Eloquent\SoftDeletes;
|
||||
use Illuminate\Database\Eloquent\Relations\BelongsTo;
|
||||
|
||||
class LineStop extends Model
|
||||
{
|
||||
use SoftDeletes;
|
||||
|
||||
protected $fillable = [
|
||||
"code",
|
||||
"reason",
|
||||
];
|
||||
|
||||
public function productionLineStops()
|
||||
{
|
||||
return $this->hasMany(ProductionLineStop::class, 'linestop_id');
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user