forked from SoDOff-Project/sodoff
fix server error caused by blueprints
This commit is contained in:
parent
648238613e
commit
724a052e17
@ -10,6 +10,8 @@ public class BluePrintSpecification
|
||||
[XmlElement(ElementName = "BPIID", IsNullable = false)]
|
||||
public int BluePrintItemID { get; set; }
|
||||
|
||||
public bool ShouldSerializeBluePrintItemID() { return BluePrintItemID != 0; }
|
||||
|
||||
[XmlElement(ElementName = "IID", IsNullable = true)]
|
||||
public int? ItemID { get; set; }
|
||||
|
||||
@ -25,6 +27,8 @@ public class BluePrintSpecification
|
||||
[XmlElement(ElementName = "QTY", IsNullable = false)]
|
||||
public int Quantity { get; set; }
|
||||
|
||||
[XmlElement(ElementName = "ST", IsNullable = false)]
|
||||
public SpecificationType SpecificationType { get; set; }
|
||||
[XmlElement(ElementName = "ST", IsNullable = true)]
|
||||
public SpecificationType? SpecificationType { get; set; }
|
||||
|
||||
public bool ShouldSerializeSpecificationType() { return SpecificationType != null; }
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user