Class TaxBand

java.lang.Object
com.example.vehicletaxsystem.models.TaxBand
All Implemented Interfaces:
Serializable

@Entity public class TaxBand extends Object implements Serializable
Class representing a tax band
Tax band here includes the description and then linkes to the prices in another 'TaxRate' entity. see here: Vehicle Tax Rates
See Also:
  • Field Details

  • Constructor Details

    • TaxBand

      public TaxBand()
  • Method Details

    • getId

      public Integer getId()
    • setId

      public void setId(Integer id)
    • getDescription

      public String getDescription()
    • setDescription

      public void setDescription(String description)
    • getTaxRate

      public TaxRate getTaxRate()
    • setTaxRate

      public void setTaxRate(TaxRate taxRate)
    • getVehicleList

      public List<Vehicle> getVehicleList()
    • setVehicleList

      public void setVehicleList(List<Vehicle> vehicleList)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object