# --------------------------------------------------------------------------------------------------------- # Author : Ulrich Carmesin # Source : gitea.ucarmesin.de # --------------------------------------------------------------------------------------------------------- import basic.constants as B import model.entity import tools.data_const as D FIELDS = { D.OPT_ATTR_STORYID : "story", D.OPT_ATTR_STORY : "description" } class Story(model.entity.Entity): stid = 0 story = "" project = "" description = "" reference = "" def __init__(self, job, project="", name=""): """ to be initialized by readSpec :param job: """ self.job = job