Skip to content

Commit

Permalink
lmodel and logic structure
Browse files Browse the repository at this point in the history
  • Loading branch information
Pratik committed Oct 11, 2017
1 parent da58814 commit 69ddda4
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 6 deletions.
5 changes: 5 additions & 0 deletions app/services/logic/QuestionHandler.scala
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
package logic

object QuestionHandler {

}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package services.com.inq
package services.model

/**
* Created by v723840 on 10/11/17.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package services.com.inq
package services.model

/**
* Created by v723840 on 10/11/17.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package services.com.inq
package services.model

import java.util.UUID

Expand All @@ -12,4 +12,4 @@ case class Question (
authorId : UUID,
body: String,
tags: Set[Tag],
createdAt: DateTime)
createdAt: DateTime = new DateTime())
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
package services.com.inq
package services.model

import java.util.UUID

/**
* Created by v723840 on 10/11/17.
*/
class Tag (
id: UUID,
id: UUID = UUID.randomUUID(),
name: String)

0 comments on commit 69ddda4

Please sign in to comment.