namespace CS2B_shipping_company.Container;

public abstract class BaseContainer
{
    private static int idCount = 1000;
    
    public int Id { get; }
    public string Description { get; set; }
    public string CountryOfOrigin { get; set; }
    
    protected BaseContainer(string description, string countryOfOrigin)
    {
        Id = idCount++;
        Description = description;
        CountryOfOrigin = countryOfOrigin;
    }
    
    public abstract float Fee();
}