add message
This commit is contained in:
parent
bc33d76de2
commit
6e5880f1ff
|
@ -80,14 +80,6 @@ class Group_admin(models.Model):
|
|||
|
||||
|
||||
# 矩阵成员
|
||||
GROUP_USER_STATUS_CHOICES = (
|
||||
(0, '已删除'),
|
||||
(1, '添加申请市级审核中'),
|
||||
(2, '添加申请省级审核中'),
|
||||
(3, '正常'),
|
||||
(4, '注销申请市级审核中'),
|
||||
(5, '注销申请省级审核中')
|
||||
)
|
||||
|
||||
|
||||
class Group_user(models.Model):
|
||||
|
@ -106,6 +98,7 @@ class Group_user(models.Model):
|
|||
User, on_delete=models.CASCADE, null=True, blank=True)
|
||||
group = models.ForeignKey(
|
||||
Group, on_delete=models.CASCADE, null=True, blank=True)
|
||||
status = models.IntegerField('状态', default=1)
|
||||
created = models.DateTimeField('创建时间', auto_now_add=True)
|
||||
updated = models.DateTimeField('更新时间', auto_now=True)
|
||||
|
||||
|
@ -687,70 +680,86 @@ class CheckCode(models.Model):
|
|||
c_time = models.DateTimeField('时间', auto_now_add=True)
|
||||
|
||||
|
||||
#新媒体舆情临时表
|
||||
# 新媒体舆情临时表
|
||||
class NewmediaSentimentWeixin(models.Model):
|
||||
id = models.UUIDField('id',primary_key=True,default=uuid.uuid4)
|
||||
code = models.CharField('公众号',max_length=256,null=True,blank=True)
|
||||
title = models.CharField('标题',max_length=256,null=True,blank=True)
|
||||
comment_count = models.CharField('评论数',max_length=256,null=True,blank=True)
|
||||
reply_count = models.CharField('回复数',max_length=256,null=True,blank=True)
|
||||
date = models.CharField('发布时间',max_length=256,null=True,blank=True)
|
||||
id = models.UUIDField('id', primary_key=True, default=uuid.uuid4)
|
||||
code = models.CharField('公众号', max_length=256, null=True, blank=True)
|
||||
title = models.CharField('标题', max_length=256, null=True, blank=True)
|
||||
comment_count = models.CharField(
|
||||
'评论数', max_length=256, null=True, blank=True)
|
||||
reply_count = models.CharField(
|
||||
'回复数', max_length=256, null=True, blank=True)
|
||||
date = models.CharField('发布时间', max_length=256, null=True, blank=True)
|
||||
|
||||
def __str__(self):
|
||||
return self.title
|
||||
|
||||
|
||||
class NewmediaSentimentWeibo(models.Model):
|
||||
id = models.UUIDField('id',primary_key=True,default=uuid.uuid4)
|
||||
code = models.CharField('微博号',max_length=256,null=True,blank=True)
|
||||
title = models.CharField('标题',max_length=256,null=True,blank=True)
|
||||
comment_count = models.CharField('评论数',max_length=256,null=True,blank=True)
|
||||
reply_count = models.CharField('回复数',max_length=256,null=True,blank=True)
|
||||
date = models.CharField('发布时间',max_length=256,null=True,blank=True)
|
||||
id = models.UUIDField('id', primary_key=True, default=uuid.uuid4)
|
||||
code = models.CharField('微博号', max_length=256, null=True, blank=True)
|
||||
title = models.CharField('标题', max_length=256, null=True, blank=True)
|
||||
comment_count = models.CharField(
|
||||
'评论数', max_length=256, null=True, blank=True)
|
||||
reply_count = models.CharField(
|
||||
'回复数', max_length=256, null=True, blank=True)
|
||||
date = models.CharField('发布时间', max_length=256, null=True, blank=True)
|
||||
|
||||
def __str__(self):
|
||||
return self.title
|
||||
|
||||
|
||||
class NewmediaSentimentToutiao(models.Model):
|
||||
id = models.UUIDField('id',primary_key=True,default=uuid.uuid4)
|
||||
code = models.CharField('头条号',max_length=256,null=True,blank=True)
|
||||
title = models.CharField('标题',max_length=256,null=True,blank=True)
|
||||
comment_count = models.CharField('评论数',max_length=256,null=True,blank=True)
|
||||
reply_count = models.CharField('回复数',max_length=256,null=True,blank=True)
|
||||
date = models.CharField('发布时间',max_length=256,null=True,blank=True)
|
||||
id = models.UUIDField('id', primary_key=True, default=uuid.uuid4)
|
||||
code = models.CharField('头条号', max_length=256, null=True, blank=True)
|
||||
title = models.CharField('标题', max_length=256, null=True, blank=True)
|
||||
comment_count = models.CharField(
|
||||
'评论数', max_length=256, null=True, blank=True)
|
||||
reply_count = models.CharField(
|
||||
'回复数', max_length=256, null=True, blank=True)
|
||||
date = models.CharField('发布时间', max_length=256, null=True, blank=True)
|
||||
|
||||
def __str__(self):
|
||||
return self.title
|
||||
#时效性监测临时表
|
||||
# 时效性监测临时表
|
||||
|
||||
|
||||
class TimelinessMonitoring(models.Model):
|
||||
id = models.UUIDField('id',primary_key=True,default=uuid.uuid4())
|
||||
n_type = models.CharField('新媒体类型',max_length=256,null=True,blank=True)
|
||||
n_name = models.CharField('新媒体名称',max_length=256,null=True,blank=True)
|
||||
o_type = models.CharField('主体类型',max_length=256,null=True,blank=True)
|
||||
o_name = models.CharField('主体名称',max_length=256,null=True,blank=True)
|
||||
city = models.CharField('市',null=True,blank=True,max_length=256)
|
||||
counties = models.CharField('县区',max_length=256,null=True,blank=True)
|
||||
remark = models.CharField('备注',max_length=256,null=True,blank=True)
|
||||
results = models.CharField('监测结果',max_length=256,null=True,blank=True)
|
||||
update = models.IntegerField('更新次数',max_length=256,null=True,blank=True)
|
||||
silet = models.IntegerField('最大连续静默日数',max_length=256,null= True,blank=True)
|
||||
start_data = models.CharField('开始时间',max_length=256,null=True,blank=True)
|
||||
end_data = models.CharField('结束时间',max_length=256,null=True,blank=True)
|
||||
comment = models.IntegerField('评论次数',max_length=256,null=True,blank=True)
|
||||
date = models.CharField('最近更新时间',max_length=256,null=True,blank=True)
|
||||
id = models.UUIDField('id', primary_key=True, default=uuid.uuid4())
|
||||
n_type = models.CharField('新媒体类型', max_length=256, null=True, blank=True)
|
||||
n_name = models.CharField('新媒体名称', max_length=256, null=True, blank=True)
|
||||
o_type = models.CharField('主体类型', max_length=256, null=True, blank=True)
|
||||
o_name = models.CharField('主体名称', max_length=256, null=True, blank=True)
|
||||
city = models.CharField('市', null=True, blank=True, max_length=256)
|
||||
counties = models.CharField('县区', max_length=256, null=True, blank=True)
|
||||
remark = models.CharField('备注', max_length=256, null=True, blank=True)
|
||||
results = models.CharField('监测结果', max_length=256, null=True, blank=True)
|
||||
update = models.IntegerField('更新次数', null=True, blank=True)
|
||||
silet = models.IntegerField(
|
||||
'最大连续静默日数', max_length=256, null=True, blank=True)
|
||||
start_data = models.CharField(
|
||||
'开始时间', max_length=256, null=True, blank=True)
|
||||
end_data = models.CharField('结束时间', max_length=256, null=True, blank=True)
|
||||
comment = models.IntegerField(
|
||||
'评论次数', null=True, blank=True)
|
||||
date = models.CharField('最近更新时间', max_length=256, null=True, blank=True)
|
||||
|
||||
def __str__(self):
|
||||
return self.n_name
|
||||
|
||||
#错别字临时表
|
||||
# 错别字临时表
|
||||
|
||||
|
||||
class Wrongly(models.Model):
|
||||
id = models.UUIDField('id',primary_key=True,default=uuid.uuid4)
|
||||
error = models.CharField('错误',max_length=256,null=True,blank=True)
|
||||
idea = models.CharField('建议',max_length=256,null=True,blank=True)
|
||||
site = models.TextField('上下文',null=True,blank=True)
|
||||
n_type = models.CharField('新媒体类型',max_length=256,null=True,blank=True)
|
||||
n_name = models.CharField('新媒体名称',max_length=256,null=True,blank=True)
|
||||
date = models.CharField('发布时间',max_length=256,null=True,blank=True)
|
||||
title = models.CharField('标题',max_length=256,null=True,blank=True)
|
||||
url = models.CharField('URL',max_length=256,null=True,blank=True)
|
||||
id = models.UUIDField('id', primary_key=True, default=uuid.uuid4)
|
||||
error = models.CharField('错误', max_length=256, null=True, blank=True)
|
||||
idea = models.CharField('建议', max_length=256, null=True, blank=True)
|
||||
site = models.TextField('上下文', null=True, blank=True)
|
||||
n_type = models.CharField('新媒体类型', max_length=256, null=True, blank=True)
|
||||
n_name = models.CharField('新媒体名称', max_length=256, null=True, blank=True)
|
||||
date = models.CharField('发布时间', max_length=256, null=True, blank=True)
|
||||
title = models.CharField('标题', max_length=256, null=True, blank=True)
|
||||
url = models.CharField('URL', max_length=256, null=True, blank=True)
|
||||
|
||||
def __str__(self):
|
||||
return self.title
|
||||
|
|
Loading…
Reference in New Issue