Skip to content

Commit

Permalink
add task model class
Browse files Browse the repository at this point in the history
  • Loading branch information
mohamedAdhamc committed May 5, 2024
1 parent 08f6b5a commit b08256a
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions app/src/main/java/com/example/taskmanager/Utility/Task.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
package com.example.taskmanager.Utility;

public class Task {
private String title;
private String description;
private String priority;
private String date;
private String time;

public Task (String title, String description, String priority, String date, String time){
this.title = title;
this.description = description;
this.priority = priority;
this.date = date;
this.time = time;
}


public String getTitle() {
return title;
}

public String getDescription() {
return description;
}

public String getPriority() {
return priority;
}

public String getDate() {
return date;
}

public String getTime() {
return time;
}
}

0 comments on commit b08256a

Please sign in to comment.