15 lines
389 B
Python
15 lines
389 B
Python
# SPDX-License-Identifier: WTFPL
|
|
|
|
from .dbrecord import DbRecord
|
|
|
|
class Project(DbRecord):
|
|
|
|
table = "project"
|
|
pk_field = "projid"
|
|
fields = ('projname', 'vid', 'responsible', 'startdate', 'duration',
|
|
'costs_plan', 'costs_final', 'remarks', 'projstate')
|
|
|
|
def __init__(self, db, projid=None):
|
|
super().__init__(db, projid)
|
|
self.title = _("Project({})")
|