namespace IVM.Models
{
    [Serializable]
    public class AddressMachine : Address
    {
        public List<MachineAddress>? machineAddresses { get; set; } = new List<MachineAddress>();
    }

    public class MachineAddress
    {
        public int id { get; set; }
        public string machineName { get; set; }
        public bool isActive { get; set; }
    }

    public class AddressLocation : Address
    {
        public List<LocationAddress>? locationAddresses { get; set; } = new List<LocationAddress>();
    }
    public class LocationAddress
    {
        public int id { get; set; }
        public string? locationName { get; set; }
        public bool isActive { get; set; }
    }
    public class AddressClient : Address
    {
        public List<ClientAddress>? clientAddresses { get; set; } = new List<ClientAddress>();
    }
    public class ClientAddress
    {
        public int id { get; set; }
        public string? clientName { get; set; }
        public bool isActive { get; set; }
    }

    public class AddressVendor : Address
    {
        public List<VendorAddress>? vendorAddresses { get; set; } = new List<VendorAddress>();
    }
    public class VendorAddress
    {
        public int id { get; set; }
        public string? vendorName { get; set; }
        public bool isActive { get; set; }
    }
}