Related Project added to TaskType
This commit is contained in:
@@ -25,16 +25,18 @@ class Category{
|
||||
|
||||
class TaskType{
|
||||
|
||||
TaskType(this.id, this.name, this.category, [this.cat = null]);
|
||||
TaskType(this.id, this.name, this.category,{this.relatedProject, this.cat});
|
||||
|
||||
String id;
|
||||
String name;
|
||||
String category;
|
||||
Category? cat;
|
||||
Project? relatedProject;
|
||||
|
||||
static String colId = "id";
|
||||
static String colName="name";
|
||||
static String colCategory = "category_id";
|
||||
static String colRelatedProject = "related_project";
|
||||
}
|
||||
|
||||
class Activity{
|
||||
@@ -108,6 +110,7 @@ class Project{
|
||||
Project(this.name, this.category, this.steps,this.eta, this.deadline,{this.cat});
|
||||
|
||||
String name;
|
||||
String getName()=> name.replaceAll(User.username, "");
|
||||
String category;
|
||||
Category? cat;
|
||||
List<ProjectStep> steps;
|
||||
|
||||
Reference in New Issue
Block a user