Xu ly giao dien San Pham

This commit is contained in:
2026-04-19 23:50:21 +00:00
parent 10eac55520
commit 91ff4a5e4d
18 changed files with 744 additions and 196 deletions

View File

@@ -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);