using System.ComponentModel.DataAnnotations;

namespace OnlineAssessment.Domain.ViewModels
{
    public class ExamType
    {
        public int? Id { get; set; }

        public string Code { get; set; }

        [Required]
        public string Name { get; set; }

        public string Description { get; set; }

        public bool? IsActive { get; set; }
    }

    public class ExamTypeAddModel
    {
        [Required]
        public string Code { get; set; }

        [Required]
        public string Name { get; set; }

        public string Description { get; set; }

    }

    public class ExamTypeEditModel
    {
        public string Code { get; set; }

        public string Name { get; set; }

        public string Description { get; set; }

    }

}
