diff --git a/apps/expertproducts/models.py b/apps/expertproducts/models.py index 9d72faa..03a4d04 100644 --- a/apps/expertproducts/models.py +++ b/apps/expertproducts/models.py @@ -34,8 +34,8 @@ class Negotiation(models.Model): ('abandoned', '已放弃'), ] - creator = models.ForeignKey('Creator', on_delete=models.CASCADE) - product = models.ForeignKey('Product', on_delete=models.CASCADE) + creator = models.ForeignKey('daren_detail.CreatorProfile', on_delete=models.CASCADE) + product = models.ForeignKey('brands.Product', on_delete=models.CASCADE) status = models.CharField(max_length=20, choices=STATUS_CHOICES, default='price_negotiation') current_round = models.IntegerField(default=1) # 当前谈判轮次 context = models.JSONField(default=dict) # 存储谈判上下文(如当前报价)