style: 使用ruff格式化部门管理模块,优化导入

This commit is contained in:
insistence
2024-07-12 10:45:10 +08:00
parent eac920fcae
commit eb29d616d1
5 changed files with 199 additions and 116 deletions

View File

@@ -1,12 +1,13 @@
from sqlalchemy import Column, Integer, String, DateTime
from config.database import Base
from datetime import datetime
from sqlalchemy import Column, DateTime, Integer, String
from config.database import Base
class SysDept(Base):
"""
部门表
"""
__tablename__ = 'sys_dept'
dept_id = Column(Integer, primary_key=True, autoincrement=True, comment='部门id')