Xu ly giao dien San Pham
This commit is contained in:
@@ -11,12 +11,17 @@ class Project extends Model
|
||||
use HasUuids, HasFactory;
|
||||
|
||||
protected $guarded = [];
|
||||
|
||||
|
||||
public function products()
|
||||
{
|
||||
return $this->hasMany(Product::class);
|
||||
}
|
||||
|
||||
public function paymentTemplate()
|
||||
{
|
||||
return $this->belongsTo(PaymentTemplate::class);
|
||||
}
|
||||
|
||||
public function paymentTemplates()
|
||||
{
|
||||
return $this->hasMany(PaymentTemplate::class);
|
||||
|
||||
Reference in New Issue
Block a user