change file save path

This commit is contained in:
lostecho
2024-05-26 09:36:58 +08:00
parent e3e654255a
commit 2449c137f9
7 changed files with 41414 additions and 43 deletions

10
courses/Attachment.py Normal file
View File

@@ -0,0 +1,10 @@
class Attachment:
def __init__(self, attachment_id, course_id, name, content, url):
self.id = attachment_id
self.course_id = course_id
self.name = name
self.content = content
self.url = url
def __repr__(self):
return f"Attachment(id={self.id}, course_id={self.course_id}, name={self.name}, url={self.url})"