You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
344 B

6 months ago
<?php
namespace App\Models;
use Illuminate\Support\Facades\Cache;
class SupplyDemand extends SoftDeletesModel
{
public function user()
{
return $this->hasOne(User::class, 'id', 'user_id');
}
6 months ago
public function keeps()
{
return $this->hasMany(SupplyDemandKeep::class, 'supply_demand_id', 'id');
}
6 months ago
}