Skip to content

Commit

Permalink
MedicalRecord.java
Browse files Browse the repository at this point in the history
-Mario Fernandez
-Àlex Codina
  • Loading branch information
Codinab committed Feb 20, 2024
1 parent 8e4d094 commit 803e3ed
Showing 1 changed file with 51 additions and 0 deletions.
51 changes: 51 additions & 0 deletions src/main/java/cat/udl/eps/softarch/demo/domain/MedicalRecord.java
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;
}
}

0 comments on commit 803e3ed

Please sign in to comment.