Mask.java 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. package com.example.zhulinaapi;
  2. public class Mask {
  3. private int id;
  4. private String day;
  5. private String wotkout;
  6. private String trainer;
  7. private String image;
  8. public Mask(int id, String day, String wotkout, String trainer, String image) {
  9. this.id = id;
  10. this.day = day;
  11. this.wotkout = wotkout;
  12. this.trainer = trainer;
  13. this.image = image;
  14. }
  15. public Mask(String day, String wotkout, String trainer, String image) {
  16. this.day = day;
  17. this.wotkout = wotkout;
  18. this.trainer = trainer;
  19. this.image = image;
  20. }
  21. public void setId(int id) {
  22. this.id = id;
  23. }
  24. public void setday(String day) {
  25. this.day = day;
  26. }
  27. public void setwotkout(String wotkout) {
  28. this.wotkout = wotkout;
  29. }
  30. public void settrainer(String trainer) {
  31. this.trainer = trainer;
  32. }
  33. public void setImage(String image) {
  34. this.image = image;
  35. }
  36. public int getId() {
  37. return id;
  38. }
  39. public String getday() {
  40. return day;
  41. }
  42. public String getwotkout() {
  43. return wotkout;
  44. }
  45. public String gettrainer() {
  46. return trainer;
  47. }
  48. public String getImage() {
  49. return image;
  50. }
  51. }