using System;
using System.ComponentModel.DataAnnotations;

namespace OnlineAssessment.Domain.ViewModels
{
    public class TagViewModel
    {
        public int id { get; set; }
        public string name { get; set; }
        public DateTime? last_updated { get; set; }
        public int questions_count { get; set; }
    }

    public class TagAddModel
    {
        [Required]
        [StringLength(500)]
        public string name { get; set; }
    }

    public class TagEditModel : TagAddModel
    {
        [Required]
        public int Id { get; set; }

    }
}
