let DayMetric model itself handle type code to label transformation