Commit 2d7e8adb authored by 李小芳's avatar 李小芳

更新代码

parent 0765084b
...@@ -11,6 +11,7 @@ from gm_types.gaia import RED_PACKET, TRANS_ACTION, TRANS_EVENT, TRANS_STATUS, R ...@@ -11,6 +11,7 @@ from gm_types.gaia import RED_PACKET, TRANS_ACTION, TRANS_EVENT, TRANS_STATUS, R
# Create your models here. # Create your models here.
class Dialog(models.Model): class Dialog(models.Model):
type = models.SmallIntegerField(choices=RED_PACKET, unique=True) type = models.SmallIntegerField(choices=RED_PACKET, unique=True)
packet_id = models.IntegerField(verbose_name="关联红包ID") packet_id = models.IntegerField(verbose_name="关联红包ID")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment