LocalGovIMS_localgov-ims/src/Admin/Models/Role/EditViewModel.cs
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;

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

        public string Name { get; set; }

        [DisplayName("Display name")]
        [Required(ErrorMessage = "Display name is required")]
        public string DisplayName { get; set; }
    }
}