All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.gu.memsub.Plan.scala Maven / Gradle / Ivy

There is a newer version: 0.605
Show newest version
package com.gu.memsub

sealed trait Status {
  def name: String
}
case class Legacy() extends Status {
  override val name: String = "legacy"
}
case class Current() extends Status {
  override val name: String = "current"
}
case class Upcoming() extends Status {
  override val name: String = "upcoming"
}

object Status {
  val legacy = Legacy()
  val current = Current()
  val upcoming = Upcoming()
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy