Ai
1 Star 0 Fork 0

forward-ovo/Python-Class

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
Entry.py 1010 Bytes
一键复制 编辑 原始数据 按行查看 历史
ysy 提交于 2025-06-09 18:45 +08:00 . 英语笔记管理系统
EntryTypes = ("", "单词", "语法", "词句积累", "其他")
class Entry:
def __init__(self,
entryId: int = None,
type: int = None,
title: str = None,
content: str = None,
extra: bytes = b''):
self.entryId = entryId
self.type = type
self.title = title
self.content = content
self.extra = extra
def getEntryId(self):
return self.entryId
def getType(self):
return self.type
def getTitle(self):
return self.title
def getContent(self):
return self.content
def getExtra(self):
return self.extra
def setEntryId(self, entryId):
self.entryId = entryId
def setType(self, type):
self.type = type
def setTitle(self, title):
self.title = title
def setContent(self, content):
self.content = content
def setExtra(self, extra):
self.extra = extra
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Python
1
https://gitee.com/forward-ovo/python-class.git
git@gitee.com:forward-ovo/python-class.git
forward-ovo
python-class
Python-Class
master

搜索帮助