using System.ComponentModel.DataAnnotations;

namespace Siger.Middlelayer.TpmRepository.Request
{
    public class RequestAddFaultType
    {
        [Required(ErrorMessage = "TitleIsEmpty")]
        public string title { get; set; }

        public int typeid { get; set; }

        public string description { get; set; }
        public int fault_type { get; set; }
        public int id { get; set; }
    }

    public class RequestEditFaultType
    {
        public int faulttypeid { get; set; }

        [Required(ErrorMessage = "TitleIsEmpty")]
        public string faulttype { get; set; }
    }

    public class RequestEditInvalidMode
    {
        public string faultcontent { get; set; }

        public string faultcontentid { get; set; }

        public string faulttype { get; set; }

        public string faulttypeid { get; set; }

        public string status { get; set; }
    }
}
