using System.Collections.Generic;
using System.Linq;

namespace Valg.EVA.Skanning.JobManagement.Startup.UI.Duplicates
{
    public class BoxViewModel : ReactiveViewModel
    {
        public string Name { get; set; }

        public int Id { get; set; }

        public int TotalScanned { get; set; }

        public IEnumerable<DuplicateBallotModel> Duplicates { get; set; }

        public string BoxDuplicateDescription => string.Format(Valg.EVA.Skanning.Resources.Language.JobManagementLanguageString.Duplicates_DeleteBoxView_Description, Duplicates.Count(), TotalScanned);
        public int BoxNumber { get; set; }
    }
}
