move model class

This commit is contained in:
Thibault Duplessis 2019-12-15 12:19:12 -06:00
parent 6cfa509806
commit 60384eb6f6
2 changed files with 7 additions and 8 deletions

View file

@ -1,8 +0,0 @@
package lila.relation
case class Related(
user: lila.user.User,
nbGames: Option[Int],
followable: Boolean,
relation: Option[Relation]
)

View file

@ -15,6 +15,13 @@ case class Blocked(u2: String) {
def userId = u2
}
case class Related(
user: lila.user.User,
nbGames: Option[Int],
followable: Boolean,
relation: Option[Relation]
)
private[relation] case class FriendEntering(user: LightUser, isPlaying: Boolean, isStudying: Boolean)
object BSONHandlers {