mirror of
https://github.com/Pardus-LiderAhenk/ahenk
synced 2024-11-22 15:32:19 +03:00
model and database initial classes
This commit is contained in:
parent
3952cafc1a
commit
6951f0b238
2 changed files with 27 additions and 0 deletions
11
opt/ahenk/base/database/AhenkDao.py
Normal file
11
opt/ahenk/base/database/AhenkDao.py
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
#!/usr/bin/python3
|
||||||
|
# -*- coding: utf-8 -*-
|
||||||
|
# Author: İsmail BAŞARAN <ismail.basaran@tubitak.gov.tr> <basaran.ismaill@gmail.com>
|
||||||
|
|
||||||
|
|
||||||
|
class AhenkDao(object):
|
||||||
|
"""
|
||||||
|
Sqlite manager for ahenk
|
||||||
|
"""
|
||||||
|
def __init__(self):
|
||||||
|
super(AhenkDao, self).__init__()
|
16
opt/ahenk/base/model/Task.py
Normal file
16
opt/ahenk/base/model/Task.py
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
#!/usr/bin/python3
|
||||||
|
# -*- coding: utf-8 -*-
|
||||||
|
# Author: İsmail BAŞARAN <ismail.basaran@tubitak.gov.tr> <basaran.ismaill@gmail.com>
|
||||||
|
|
||||||
|
class Task(object):
|
||||||
|
"""docstring for Task"""
|
||||||
|
def __init__(self,message):
|
||||||
|
super(Task, self).__init__()
|
||||||
|
|
||||||
|
def getPluginId(self):
|
||||||
|
# Not implemented yet
|
||||||
|
pass
|
||||||
|
|
||||||
|
def getcommandId(self):
|
||||||
|
# Not implemented yet
|
||||||
|
pass
|
Loading…
Reference in a new issue