using System;
using System.ComponentModel.DataAnnotations;

namespace OnlineAssessment.Domain.ViewModels
{
    public class SubjectViewModel
    {
        public int id { get; set; }
        public string slug { get; set; }
        public string name { get; set; }
        public bool? isActive { get; set; }
        public DateTime last_updated { get; set; }
    }

    public class SubjectAddModel
    {
        [Required]
        [StringLength(1500)]
        public string name { get; set; }
    }

    public class SubjectEditModel
    {
        [Required]
        [StringLength(1500)]
        public string name { get; set; }
    }

    public class SubjectDeleteModel
    {
        [Required]
        public int class_id { get; set; }
    }

}


