Batch

enum Batch

A batch of products of a certain type, uniquely identified by an ID, which hasn't been quality assured.

trait Enum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Type members

Enum entries

case Aging(id: BatchID, cheeseType: CheeseType, readyFrom: LocalDateTime)

An aging batch that will become ready for quality assurance at the given date and time.

An aging batch that will become ready for quality assurance at the given date and time.

case ReadyForQualityAssurance(id: BatchID, cheeseType: CheeseType)

A batch that is ready for quality assurance.

A batch that is ready for quality assurance.