You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
yy_rms_39zhiyao_duizhao/models/models_base.py

19 lines
268 B

#!/usr/bin/env python
# -*- encoding: utf-8 -*-
'''
@Date:2022/07/18 15:21:25
'''
import uuid
from sqlalchemy.ext.declarative import declarative_base
Base = declarative_base()
def get_uuid():
return str(uuid.uuid1())
def gen_id():
return uuid.uuid4().hex