Commit 8386892f authored by Arne Styve's avatar Arne Styve
Browse files

Started adding support for ORM and JPA

parent 3cd42ed9
<component name="libraryTable">
<library name="libs">
<root url="file://$PROJECT_DIR$/libs" />
<jarDirectory url="file://$PROJECT_DIR$/libs" recursive="false" />
\ No newline at end of file
......@@ -7,5 +7,6 @@
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
<orderEntry type="library" name="libs" level="project" />
\ No newline at end of file
Manifest-Version: 1.0
Created-By: 1.8.0_201 (Oracle Corporation)
Main-Class: no.ntnu.idata2001.contacts.views.ContactsApp
package no.ntnu.idata2001.contacts.model;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
* Holds details about a contact, like name, address and phone number.
......@@ -10,7 +13,11 @@ import;
* @author David J. Barnes and Michael Kölling and Arne Styve
* @version 2020.03.16
public class ContactDetails implements Comparable<ContactDetails>, Serializable {
private Integer id; // A unique ID
private String name;
private String phone;
private String address;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment