Commit Graph

13 Commits

Author SHA1 Message Date
?..濡..
0e27355932 Refactor models and schemas for improved consistency and functionality
- Updated import statements in `mooc/models/__init__.py` to use parentheses for clarity.
- Refactored `mooc/models/core.py` to replace `UnsignedInteger` with `INTEGER(unsigned=True)` for better compatibility.
- Introduced new `MobileNumber` model in `mooc/models/mobile_number.py` with appropriate fields.
- Added `ProfileFields` model in `mooc/models/profile_fields.py` with detailed attributes.
- Updated schemas in `mooc/schemas/mobile_number.py` and `mooc/schemas/profile_fields.py` to reflect model changes and improve naming conventions.
- Ensured all models and schemas are consistent with naming and data types.
2025-01-09 06:43:18 +08:00
jieyuu
1df5aefac3 feat(mooc): 重构代码并添加新功能
- 添加了新的 Watermark、WxTpl 和 Xuesheng 模型及相应的 CRUD 类
- 新增了 goouc_fullexam_user 相关的模型和 CRUD 类
- 检查原有crud对应id,并手动修改
2025-01-06 11:12:11 +08:00
jieyuu
3ed18a297e feat(models): 添加schemas,models并生成部分 CRUD 接口
- 在 mooc/models/__init__.py 中添加了 part3中数据库表的导入
- 新增了 mooc/crud/crud_goouc_fullexam.py 文件,实现了 goouc_fullexam 相关表的 CRUD 接口
- 添加了 Advert、Banji、Banner 等多个模型类的 CRUD 操作方法
2025-01-06 00:39:05 +08:00
雨过
556670c805
update mooc/schemas/userapi.py.
Signed-off-by: 雨过 <zxx1747362695@qq.com>
2025-01-05 16:38:19 +00:00
雨过
e85c9a6a91
update mooc/schemas/users.py.
Signed-off-by: 雨过 <zxx1747362695@qq.com>
2025-01-05 16:37:58 +00:00
雨过
a9d6331483
update mooc/schemas/core.py.
Signed-off-by: 雨过 <zxx1747362695@qq.com>
2025-01-05 16:37:34 +00:00
Basyc
ba5cebb38e
提交part4
Signed-off-by: Basyc <12016870+basyc@user.noreply.gitee.com>
2025-01-05 13:07:34 +00:00
雨过
5e26b36a67
重命名 mooc/schemas/users_all.py 为 mooc/schemas/users.py 2025-01-05 07:24:38 +00:00
雨过
1da12ef079
part2-schemas提交
Signed-off-by: 雨过 <zxx1747362695@qq.com>
2025-01-05 07:24:19 +00:00
?..濡..
173580c0af 优化数据库表的创建与检查 2025-01-04 01:13:47 +08:00
?..濡..
58314c5ee9 添加AccountPhoneapp,AccountToutiaoapp,AccountWebapp,AccountWxapp,AccountXzapp,Account等数据模型 2025-01-03 17:06:40 +08:00
烟雨如花
f32176b350 升级新规范 2025-01-03 14:37:35 +08:00
烟雨如花
4f34f5b8be init 2024-12-31 22:27:04 +08:00