第一次提交
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
"""模型共用的小工具。"""
|
||||
import uuid
|
||||
|
||||
|
||||
def new_uuid() -> str:
|
||||
"""主键默认值:UUID4 字符串。"""
|
||||
return str(uuid.uuid4())
|
||||
Reference in New Issue
Block a user