package space.nstart.pcp.pcp_mission_planing_service.service.satellite_type

import org.springframework.stereotype.Component

@Component
class DefaultSatelliteMissionType : LegacySatelliteMissionTypeSupport() {
    override val typeCode: String = TYPE_CODE

    override fun supports(satelliteTypeCode: String?): Boolean =
        satelliteTypeCode.isNullOrBlank() || satelliteTypeCode.trim().equals(TYPE_CODE, ignoreCase = true)

    companion object {
        const val TYPE_CODE = "DEFAULT"
    }
}
