diff options
Diffstat (limited to 'src/main/scala/xyz/driver/pdsuicommon/synchronization/domain/FakeId.scala')
-rw-r--r-- | src/main/scala/xyz/driver/pdsuicommon/synchronization/domain/FakeId.scala | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/src/main/scala/xyz/driver/pdsuicommon/synchronization/domain/FakeId.scala b/src/main/scala/xyz/driver/pdsuicommon/synchronization/domain/FakeId.scala deleted file mode 100644 index 38e442b..0000000 --- a/src/main/scala/xyz/driver/pdsuicommon/synchronization/domain/FakeId.scala +++ /dev/null @@ -1,14 +0,0 @@ -package xyz.driver.pdsuicommon.synchronization.domain - -/* - It is like an Id for entities those haven't an Id, but should be unique. - For example, - RawArm has the name, the kind and the intervention fields. - It has not an Id, but should be identified by the name field. - So, the name field is a fake id for RawArm. - */ -final case class FakeId(value: String) - -object FakeId { - implicit val ordering: Ordering[FakeId] = Ordering.by(_.value) -} |