LocalGovIMS_localgov-ims/src/Admin/Models/ImportProcessingRuleImportType/EditViewModel.cs
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using Web.Mvc;

namespace Admin.Models.ImportProcessingRuleImportType
{
    public class EditViewModel
    {
        public int Id { get; set; }

        [Required]
        [DisplayName("Import type")]
        public int ImportTypeId { get; set; }

        [Required]
        [DisplayName("Import processing rule")]
        public int ImportProcessingRuleId { get; set; }

        [DisplayName("Import processing rule")]
        public string ImportProcessingRuleName { get; set; }

        public SelectList ImportTypes { get; set; }
    }
}