Created model objects and DB layer.

This commit is contained in:
Jonathan Bernard
2015-02-20 01:08:17 -06:00
parent f2dc674181
commit 3e07dc20bf
14 changed files with 262 additions and 0 deletions

View File

@@ -0,0 +1,7 @@
package com.jdbernard.nlsongs.model
public class ApiKey implements Serializable {
String key
String description
}

View File

@@ -0,0 +1,13 @@
package com.jdbernard.nlsongs.model
public class Performance implements Serializable {
int serviceId
int songId
String pianist
String organist
String bassist
String drummer
String guitarist
String leader
}

View File

@@ -0,0 +1,8 @@
package com.jdbernard.nlsongs.model
public class Service implements Serializable {
int id
Date date
ServiceType serviceType
}

View File

@@ -0,0 +1,3 @@
package com.jdbernard.nlsongs.model;
public enum ServiceType { SUN_AM, SUN_PM, WED }

View File

@@ -0,0 +1,8 @@
package com.jdbernard.nlsongs.model
public class Song implements Serializable {
int id
String name
List<String> artists
}

View File

@@ -0,0 +1,8 @@
package com.jdbernard.nlsongs.model
public class User {
int id
String username
String pwd
}