add message
This commit is contained in:
parent
bc64b897b4
commit
e5ee913548
|
@ -33,6 +33,7 @@ class Group(models.Model):
|
|||
('0', '区域'),
|
||||
('1', '媒体种类'),
|
||||
('2', '行业'),
|
||||
('3', '管理')
|
||||
)
|
||||
id = models.UUIDField('id', primary_key=True, default=uuid.uuid4)
|
||||
name = models.CharField('矩阵名称', max_length=256, null=True, blank=True)
|
||||
|
@ -79,9 +80,27 @@ class Group_admin(models.Model):
|
|||
|
||||
|
||||
# 矩阵成员
|
||||
GROUP_USER_STATUS_CHOICES = (
|
||||
(0, '已删除'),
|
||||
(1, '添加申请市级审核中'),
|
||||
(2, '添加申请省级审核中'),
|
||||
(3, '正常'),
|
||||
(4, '注销申请市级审核中'),
|
||||
(5, '注销申请省级审核中')
|
||||
)
|
||||
|
||||
|
||||
class Group_user(models.Model):
|
||||
"""
|
||||
status:
|
||||
'0': '已删除',
|
||||
'1': '添加申请市级审核中',
|
||||
'2': '添加申请省级审核中',
|
||||
'3': '正常',
|
||||
'4': '注销申请市级审核中',
|
||||
'5': '注销申请省级审核中',
|
||||
"""
|
||||
|
||||
id = models.UUIDField('id', primary_key=True, default=uuid.uuid4)
|
||||
user = models.ForeignKey(
|
||||
User, on_delete=models.CASCADE, null=True, blank=True)
|
||||
|
@ -126,7 +145,8 @@ class Organization(models.Model):
|
|||
status = models.CharField('状态', max_length=256, null=True, blank=True)
|
||||
|
||||
# 20201014新添加字段
|
||||
id_code = models.CharField('单位唯一标识码', max_length=256, null=True, blank=True)
|
||||
id_code = models.CharField(
|
||||
'单位唯一标识码', max_length=256, null=True, blank=True)
|
||||
|
||||
created = models.DateTimeField('创建时间', auto_now_add=True)
|
||||
updated = models.DateTimeField('更新时间', auto_now=True)
|
||||
|
@ -216,7 +236,8 @@ class NewMedia(models.Model):
|
|||
created = models.DateTimeField('创建时间', auto_now_add=True)
|
||||
updated = models.DateTimeField('更新时间', auto_now=True)
|
||||
# 20201015新增字段
|
||||
identificationcode = models.CharField('新媒体标识码', max_length=256, null=True, blank=True)
|
||||
identificationcode = models.CharField(
|
||||
'新媒体标识码', max_length=256, null=True, blank=True)
|
||||
function = models.CharField('功能', max_length=256, null=True, blank=True)
|
||||
articleurl = models.TextField('文章URL', null=True, blank=True)
|
||||
|
||||
|
@ -660,6 +681,7 @@ class News(models.Model):
|
|||
|
||||
# 手机验证码验证表
|
||||
class CheckCode(models.Model):
|
||||
phone_code = models.CharField('手机验证码', max_length=256, null=True, blank=True)
|
||||
phone_code = models.CharField(
|
||||
'手机验证码', max_length=256, null=True, blank=True)
|
||||
phone = models.CharField('电话号', max_length=256, null=True, blank=True)
|
||||
c_time = models.DateTimeField('时间', auto_now_add=True)
|
||||
|
|
Binary file not shown.
Loading…
Reference in New Issue