using System.ComponentModel.DataAnnotations; using System.Xml.Serialization; namespace LCU.Shared.Collections.RepoApiLib.WebServices.AutoIMS { [XmlRoot(Namespace = "http://www.autoims.com/AutoIMSVehicle")] public class Vehicle { public Vehicle() { AuctionAssignment = new AuctionAssignment(); VehicleLocation = new VehicleLocation(); } [MaxLength(25)] public string ClientAccountNumber { get; set; } [StringLength(17)] public string VIN { get; set; } [MaxLength(30)] public string Make { get; set; } [MaxLength(30)] public string Model { get; set; } public int ModelYear { get; set; } [MaxLength(4)] public string BodyStyle { get; set; } public int Classification { get; set; } public string ClientField1 { get; set; } public bool VehicleIsOperable { get; set; } public AuctionAssignment AuctionAssignment { get; set; } public VehicleLocation VehicleLocation { get; set; } } }