#add message

This commit is contained in:
xieshen 2020-12-30 16:01:57 +08:00
parent 0893dc410f
commit fd15ae8736
1 changed files with 18 additions and 0 deletions

View File

@ -783,4 +783,22 @@ class Comment(models.Model):
def __str__(self):
return self.user
#新媒体更新表(国办)
class Newmediaupdate(models.Model):
id = models.UUIDField('id', primary_key=True, default=uuid.uuid4)
organization_name = models.CharField('单位全称',max_length=256,null=True,blank=True)
organization_id_code = models.CharField('单位唯一标识码',max_length=256,null=True,blank=True)
identificationcode = models.CharField('新媒体标识码',max_length=256,null=True,blank=True)
newmedia_name = models.CharField('账号名称',max_length=256,null=True,blank=True)
newmedia_type = models.CharField('账号类型',max_length=256,null=True,blank=True)
function = models.CharField('功能', max_length=256, null=True, blank=True)
province = models.CharField('', max_length=256, null=True, blank=True)
cities = models.CharField('', max_length=256, null=True, blank=True)
district = models.CharField('', max_length=256, null=True, blank=True)
articleurl = models.TextField('文章URL', null=True, blank=True)
biz = models.TextField('BIZ,账号id', null=True, blank=True)
created = models.DateTimeField('创建时间', auto_now_add=True)
updated = models.DateTimeField('更新时间', auto_now=True)
def __str__(self):
return self.newmedia_name