MaterialsInformation.cs 1.26 KB
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Threading.Tasks;
using System.Xml.Serialization;

namespace WebMvc.Areas.WebService
{
    //[Serializable]
    //[XmlRoot(Namespace = "http://schemas.datacontract.org/2004/07/WebMvc.Areas.WebService")]
    [DataContract(Namespace = "http://schemas.datacontract.org/2004/07/WebMvc.Areas.WebService")]
    //[System.Runtime.Serialization.DataContract(Name = "MaterialsInformation", Namespace = "http://schemas.datacontract.org/2004/07/WebMvc.Areas.WebService")]
    public class MaterialsInformation
    {
        //[XmlElement(Namespace = "http://schemas.datacontract.org/2004/07/WebMvc.Areas.WebService")]
        [DataMember]
        public string MaterialCode { get; set; }
        //[XmlElement(Namespace = "http://schemas.datacontract.org/2004/07/WebMvc.Areas.WebService")]
        [DataMember]
        public string Batch { get; set; }
        //[XmlElement(Namespace = "http://schemas.datacontract.org/2004/07/WebMvc.Areas.WebService")]
        [DataMember]
        public string Lot { get; set; }
        //[XmlElement(Namespace = "http://schemas.datacontract.org/2004/07/WebMvc.Areas.WebService")]
        [DataMember]
        public string Qty { get; set; }
    }
}