Advertisement
Guest User

Allergy

a guest
Dec 13th, 2017
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.35 KB | None | 0 0
  1. public class Allergy {
  2. public int Id;
  3. public int ProductAllergyID;
  4. public String Name;
  5. public String Color;
  6. public String Icon;
  7. public String RoundIcon;
  8.  
  9. public String getRoundIcon() {
  10. return RoundIcon;
  11. }
  12.  
  13. public void setRoundIcon(String roundIcon) {
  14. RoundIcon = roundIcon;
  15. }
  16.  
  17. public int getId() {
  18. return Id;
  19. }
  20.  
  21. public void setId(int id) {
  22. Id = id;
  23. }
  24.  
  25. public String getIcon() {
  26. return Icon;
  27. }
  28.  
  29. public void setColor(String color) {
  30. Color = color;
  31. }
  32.  
  33. public String getColor() {
  34. return Color;
  35. }
  36.  
  37. public void setIcon(String icon) {
  38. Icon = icon;
  39. }
  40.  
  41. public String getName() {
  42. return Name;
  43. }
  44.  
  45. public void setName(String name) {
  46. Name = name;
  47. }
  48.  
  49. public int getProductAllergyID() {
  50. return ProductAllergyID;
  51. }
  52.  
  53. public void setProductAllergyID(int productAllergyID) {
  54. ProductAllergyID = productAllergyID;
  55. }
  56.  
  57. public Allergy(int id, int productAllergyID, String name, String color, String icon, String roundIcon){
  58. this.Id = id;
  59. this.ProductAllergyID = productAllergyID;
  60. this.Name = name;
  61. this.Color = color;
  62. this.Icon = icon;
  63. this.RoundIcon = roundIcon;
  64.  
  65. }
  66. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement