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

FFIB 4 年之前
父节点
当前提交
63d7b7c019
共有 1 个文件被更改,包括 1 次插入0 次删除
  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'用户券信息')