-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
08f6b5a
commit b08256a
Showing
1 changed file
with
38 additions
and
0 deletions.
There are no files selected for viewing
38 changes: 38 additions & 0 deletions
38
app/src/main/java/com/example/taskmanager/Utility/Task.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; | ||
} | ||
} |