blob: 32b32915d842e50b6c62386a1fa87ab242ef862c (
plain) (
tree)
|
|
package xyz.driver.pdsuidomain.formats.json.eligibilityarm
import xyz.driver.pdsuidomain.entities.EligibilityArm
final case class ApiPartialEligibilityArm(name: String) {
def applyTo(arm: EligibilityArm): EligibilityArm = arm.copy(name = name)
}
object ApiPartialEligibilityArm {
implicit val format: Format[ApiPartialEligibilityArm] = Json.format
}
|