-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
1.把基类ORM模型的PK改成了UUID格式 && 同时增加了字段remark来可存储小备注/标签.
Signed-off-by: Sadam·Sadik <[email protected]>
- Loading branch information
Showing
2 changed files
with
16 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# _*_ codign:utf8 _*_ | ||
"""==================================== | ||
@Author:Sadam·Sadik | ||
@Email:[email protected] | ||
@Date:2023/11/29 | ||
@Software: PyCharm | ||
@disc: | ||
=======================================""" | ||
import uuid | ||
|
||
|
||
def uuid_generator(): | ||
return str(uuid.uuid4()) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters