Compare commits
2 Commits
7ec3e5e9f7
...
fb5f69df5f
| Author | SHA1 | Date | |
|---|---|---|---|
| fb5f69df5f | |||
|
|
66a7406ee3 |
25
app/Models/DuplicateStock.php
Normal file
25
app/Models/DuplicateStock.php
Normal file
@@ -0,0 +1,25 @@
|
||||
<?php
|
||||
|
||||
namespace App\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
use Illuminate\Database\Eloquent\Relations\BelongsTo;
|
||||
use Illuminate\Database\Eloquent\SoftDeletes;
|
||||
|
||||
class DuplicateStock extends Model
|
||||
{
|
||||
use SoftDeletes;
|
||||
|
||||
protected $fillable = [
|
||||
'stock_data_master_id',
|
||||
'created_at',
|
||||
'updated_at',
|
||||
'created_by',
|
||||
'updated_by',
|
||||
];
|
||||
|
||||
public function stockDataMaster(): BelongsTo
|
||||
{
|
||||
return $this->belongsTo(StockDataMaster::class);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user