-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
-Mario Fernandez -Àlex Codina
- Loading branch information
Showing
1 changed file
with
51 additions
and
0 deletions.
There are no files selected for viewing
51 changes: 51 additions & 0 deletions
51
src/main/java/cat/udl/eps/softarch/demo/domain/MedicalRecord.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,51 @@ | ||
package cat.udl.eps.softarch.demo.domain; | ||
|
||
import java.util.Date; | ||
|
||
public class MedicalRecord { | ||
private Integer id; | ||
private String issue; | ||
private String description; | ||
private Date date; | ||
|
||
// Constructor | ||
public MedicalRecord(Integer id, String issue, String description, Date date) { | ||
this.id = id; | ||
this.issue = issue; | ||
this.description = description; | ||
this.date = date; | ||
} | ||
|
||
// Getters and Setters | ||
public Integer getId() { | ||
return id; | ||
} | ||
|
||
public void setId(Integer id) { | ||
this.id = id; | ||
} | ||
|
||
public String getIssue() { | ||
return issue; | ||
} | ||
|
||
public void setIssue(String issue) { | ||
this.issue = issue; | ||
} | ||
|
||
public String getDescription() { | ||
return description; | ||
} | ||
|
||
public void setDescription(String description) { | ||
this.description = description; | ||
} | ||
|
||
public Date getDate() { | ||
return date; | ||
} | ||
|
||
public void setDate(Date date) { | ||
this.date = date; | ||
} | ||
} |