Files
Partsource/PartSource.Data/Nexpart/Part.cs
2023-09-13 06:34:53 -04:00

30 lines
807 B
C#

using System;
using System.Collections.Generic;
using System.Text;
using System.Xml.Serialization;
namespace PartSource.Data.Nexpart
{
[XmlType(AnonymousType = true, Namespace = "http://whisolutions.com/pss/common/helper/parts")]
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/pss/common/helper/parts")]
public class PartPartType
{
[XmlAttribute]
public int Id { get; set; }
[XmlAttribute]
public string PartTypeDesc { get; set; }
}
}
}