using Valg.EVA.Skanning.ServicesModel.ElectionConfig.Model;

namespace Valg.EVA.Skanning.UserInterfaceElements.EmergencyMode
{
    public class MunicipalityViewModel
    {
        public MunicipalityViewModel(Municipality municipality)
        {
            this.Municipality = municipality;
        }

        public Municipality Municipality { get; private set; }

        public bool IsChecked { get; set; }

        public string Name
        {
            get { return Municipality.Name; }
        }

        public string Code
        {
            get { return Municipality.Code; }
        }
    }
}
