using System.ComponentModel.DataAnnotations;

namespace Siger.Middlelayer.ToolRepository.Request
{
    public class RequestSupplier
    {
        public int ID { get; set; }
        public int ProjectId { get; set; }

        [Required(ErrorMessage = "SpindleNameNotNull")]
        public string Name { get; set; }
        public string Spec { get; set; }
        public string Brand { get; set; }
        public string Material { get; set; }
        public string Hardness { get; set; }

        [Required(ErrorMessage = "DrawingCodeNotNull")]
        public string DrawingCode { get; set; }

        public string Supplier { get; set; }
        public string SupplierCode { get; set; }

        public string Unitprice { get; set; }
        public string Description { get; set; }
        public string Supplierimg { get; set; }

    }
}
