using System.ComponentModel.DataAnnotations;

namespace Siger.Middlelayer.AccRepository.Request
{
    public class RequestAddProductStructure
    {
        [Required(ErrorMessage = "IdIsEmpty")]
        public int id { get; set; }

        public string parentid { get; set; }

        public string serial_number { get; set; }

        public string name { get; set; }

        public string spec { get; set; }

        public string pn { get; set; }

        public int material_type_id { get; set; }

        public int quantity { get; set; }

        public string unit_id { get; set; }

        public string desc { get; set; }
    }
}
