Initial commit
This commit is contained in:
29
PartSource.Data/Nexpart/Part.cs
Normal file
29
PartSource.Data/Nexpart/Part.cs
Normal file
@@ -0,0 +1,29 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using System.Xml.Serialization;
|
||||
|
||||
namespace PartSource.Data.Nexpart
|
||||
{
|
||||
[XmlType(AnonymousType = true, Namespace = "http://whisolutions.com/PartSelectServ/2011-07-21")]
|
||||
public class Part
|
||||
{
|
||||
[XmlElement]
|
||||
public string PartNumber { get; set; }
|
||||
|
||||
[XmlElement]
|
||||
public PartPartType PartType { get; set; }
|
||||
|
||||
// There are two different kinds of PartType because of course there are...
|
||||
[XmlType(AnonymousType = true, Namespace = "http://whisolutions.com/PartSelectServ/2011-07-21")]
|
||||
public class PartPartType
|
||||
{
|
||||
[XmlAttribute]
|
||||
public int Id { get; set; }
|
||||
|
||||
[XmlAttribute]
|
||||
public string PartTypeDesc { get; set; }
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user