Class Pets
java.lang.Object
br.com.pethub.model.Pets
This class represents a Pet in the application.
It contains fields that represent different properties of a pet, such as id, pet_name, gender, birth, pet_weight, species, breed, and a reference to a Customers object.
It also contains getter and setter methods for these fields.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetBirth()getBreed()intgetId()doublevoidvoidvoidsetCustumers(Customers custumers) voidvoidsetId(int id) voidsetPet_name(String pet_name) voidsetPet_weight(double pet_weight) voidsetSpecies(String species) toString()
-
Constructor Details
-
Pets
public Pets()
-
-
Method Details
-
getId
public int getId() -
setId
public void setId(int id) -
getPet_name
-
toString
-
setPet_name
-
getGender
-
setGender
-
getBirth
-
setBirth
-
getPet_weight
public double getPet_weight() -
setPet_weight
public void setPet_weight(double pet_weight) -
getSpecies
-
setSpecies
-
getBreed
-
setBreed
-
getCustumers
-
setCustumers
-