From fd8147ab8b298f4b14bcf9c98a34786042a3ae3a Mon Sep 17 00:00:00 2001 From: Windows <2209639385@qq.com> Date: Thu, 24 Sep 2026 11:45:18 +0800 Subject: [PATCH 1/3] nb --- Grades.py | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 Grades.py diff --git a/Grades.py b/Grades.py new file mode 100644 index 0000000..b3be62c --- /dev/null +++ b/Grades.py @@ -0,0 +1,43 @@ +class WlScore(Base): + __tablename__ = 'wl_score' + + score_id = Column(Integer + ,primary_key=True + ,autoincrement=True + ,comment='序号' + ) + + stu_id = Column( Integer + ,ForeignKey('wl_student.stu_id') + ,comment='学生编号') + + class_id = Colimn( Integer + ,ForeignKey('wl_class.class_id') + ,comment='学生编号') + + exam_order = Column(Integer + , nullable=False + , comment="考核序次") + + score=Column(Numeric(5, 2) + , comment="成绩") + + create_time = Column(DATETIME + , nullable=False + , default=datetime.now + , comment="作成时间") + + update_time = Column(DATETIME + , nullable=False + , default=datetime.now + , onupdate=datetime.now + , comment="更新时间") + + delete_status = Column( + Integer,default=0,comment='删除状态:0未删除,1已删除') + + delete_time = Column(DATETIME,comment='删除时间') + + + +Base.metadata.create_all(engine) From e7e237487d82e9b010871e00be356c064a57ee2b Mon Sep 17 00:00:00 2001 From: Windows <2209639385@qq.com> Date: Thu, 24 Sep 2026 11:56:05 +0800 Subject: [PATCH 2/3] nb --- Interview.py | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 Interview.py diff --git a/Interview.py b/Interview.py new file mode 100644 index 0000000..296e172 --- /dev/null +++ b/Interview.py @@ -0,0 +1,41 @@ +from ast import Str + + +class Interview(Base): + __tablename__ = 'wl_Interview' + + interview_id = Column(Integer + ,primary_key=True + ,autoincrement=True + ,comment='序号' + ) + + interview_time = Column(DATETIME + , nullable=False + , comment="面试时间") + + stu_id = Column( Integer + , ForeignKey('wl_student.stu_id') + , comment='学生编号') + + Interview_room = Column(Str + , nullable=False + , comment="面试间") + + business_id = Column(Integer + , ForeignKey('wl_business.business_id') + , comment='企业id') + + create_time = Column(DATETIME + , nullable=False + , default=datetime.now + , comment="数据创建时间") + + update_time = Column(DATETIME + , nullable=False + , default=datetime.now + , onupdate=datetime.now + , comment="数据更新时间") + + delete_status = Column( + Integer, default=0, comment='删除状态:0未删除,1已删除') \ No newline at end of file From 081106a1d80cdacc59300fd1d440bd4274ed4c02 Mon Sep 17 00:00:00 2001 From: test1 Date: Thu, 24 Sep 2026 12:06:52 +0800 Subject: [PATCH 3/3] =?UTF-8?q?=E9=A9=AC=E7=9D=BF=E6=99=BA=E7=89=9B?= =?UTF-8?q?=E9=80=BC=EF=BC=9F=20=E9=A9=AC=E7=9D=BF=E6=99=BA=E7=89=9B?= =?UTF-8?q?=E9=80=BC=EF=BC=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- staff_Model.py | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 staff_Model.py diff --git a/staff_Model.py b/staff_Model.py new file mode 100644 index 0000000..8998728 --- /dev/null +++ b/staff_Model.py @@ -0,0 +1,21 @@ +# Base=... + +class Staff_Model(BASE): + __tablename__ = 'wl_staff' + id=Column(Integer,primary_key=True,autoincrement=True,comment='序号') + staff_id=Column(Integer,comment='工号') + staff_name=Column(String(100),comment='姓名') + staff_gender=Column(String(100),comment='性别') + staff_id_card=Column(Integer,comment='身份证号') + staff_native_place=Column(String(100),comment='籍贯') + staff_salary=Column(Integer,comment='薪资') + staff_job_type=Column(String(100),comment='岗位类型') + staff_job_level=Column(String(100),comment='岗位级别') + create_time=Column(DATETIME,default=datetime.now,comment='创建时间') + update_time=Column(DATETIME,default=datetime.now,comment='更新时间') + delete_status=Column(Integer,default=0,comment='删除状态:0未删除,1已删除') + delete_time=Column(DATETIME,comment='删除时间') + + + +