six_002
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
from django.db import models
|
||||
from ulid import ULID
|
||||
from uuid6 import uuid8
|
||||
|
||||
from wechat_数据库.用户数据库.小程序登陆用户 import models_app_name
|
||||
|
||||
|
||||
class wei客服账号(models.Model):
|
||||
"""城市信息表"""
|
||||
objects = models.Manager() #
|
||||
|
||||
kefu_id = models.UUIDField(primary_key=True, default=uuid8)
|
||||
extInfo_推广员账号链接 = models.CharField(max_length=128, db_comment="企微客服账号链接")
|
||||
extInfo_企微员工绑定的UNIONID = models.CharField(max_length=128, db_comment="企微客服绑定的小程序unionid")
|
||||
extInfo_企微员工的名称 = models.CharField(max_length=128, null=True, blank=True, )
|
||||
dateAndTime = models.DateTimeField(auto_now_add=True, db_comment="创建时间") # 数据创建时间
|
||||
updateTime = models.DateTimeField(auto_now=True, db_comment="更新时间") # 更新时间(需要用 save() )
|
||||
|
||||
class Meta:
|
||||
db_table = "wei客服账号" # 给数据表自定义一个名称;默认的会是在 应用名+类名
|
||||
app_label = models_app_name
|
||||
Reference in New Issue
Block a user