This commit is contained in:
chenyang
2022-07-06 08:52:52 +08:00
parent 811c8d637f
commit f33f1036b6
+12
View File
@@ -60,9 +60,17 @@ class CooperationMindShare(AbstractModel):
分享记录表
"""
coop_mind_id = models.BigIntegerField(verbose_name='脑图ID', null=False, blank=False)
coop_mind_name = models.CharField(verbose_name='脑图名称', max_length=128, null=False, blank=False)
share_uuid = models.CharField(verbose_name='分享uuid', max_length=128, null=False, blank=False)
share_uuid_hash = models.BigIntegerField(verbose_name='分享uuid_hash', null=False, blank=False)
share_end_time = models.DateTimeField(verbose_name='分享有效期', null=True)
class Meta:
db_table = 'cooperation_mind_share'
indexes = [
models.Index(fields=['share_uuid_hash'], ),
]
verbose_name = "协作分享表"
class CooperationMindStar(AbstractModel):
@@ -75,3 +83,7 @@ class CooperationMindStar(AbstractModel):
class Meta:
db_table = 'cooperation_mind_star'
indexes = [
models.Index(fields=['user_id'], ),
]
verbose_name = "协作分享表"