add submit_pk 活动劵和提交记录关联

FFIB 4 anni fa
parent
commit
63d7b7c019
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. 1 0
      coupon/models.py

+ 1 - 0
coupon/models.py

@@ -91,6 +91,7 @@ class UserCouponInfo(BaseModelMixin):
91 91
     coupon_from = models.CharField(_(u'coupon_from'), default='MEMBER_BENEFITS', max_length=32, blank=True, null=True, help_text=u'劵来源', db_index=True)
92 92
     activity_id = models.CharField(_(u'activity_id'), max_length=32, blank=True, null=True, help_text=u'活动唯一标识', db_index=True)
93 93
     activity_name = models.CharField(_(u'activity_name'), max_length=32, blank=True, null=True, help_text=u'活动名称', db_index=True)
94
+    submit_pk = models.IntegerField(_(u'coupon_value'), default=0, blank=True, null=True)
94 95
 
95 96
     class Meta:
96 97
         verbose_name = _(u'用户券信息')