feat : 자재관리, 수입관리, 로트관리 모델링 추가
This commit is contained in:
17
app/Models/MaterialInspectionItem.php
Normal file
17
app/Models/MaterialInspectionItem.php
Normal file
@@ -0,0 +1,17 @@
|
||||
<?php
|
||||
|
||||
namespace App\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
use Illuminate\Database\Eloquent\SoftDeletes;
|
||||
|
||||
class MaterialInspectionItem extends Model
|
||||
{
|
||||
use SoftDeletes;
|
||||
|
||||
// 검사 내역
|
||||
public function inspection()
|
||||
{
|
||||
return $this->belongsTo(MaterialInspection::class, 'inspection_id');
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user