Advertisement
RynkunPokemon

cez

Feb 20th, 2022
287
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.93 KB | None | 0 0
  1. package com.movie.movieproductiondb.model;
  2.  
  3. import java.sql.Timestamp;
  4.  
  5. public class Film
  6. {
  7. private Integer id;
  8. private String rodzaj;
  9. private String nazwa;
  10. private Timestamp dlugosc;
  11. private String opis;
  12. private Float cena;
  13. private String nazwaTworcy;
  14. private String nazwaKategorii;
  15.  
  16. public Film(Integer id, String rodzaj, String nazwa, Timestamp dlugosc, String opis, Float cena, String nazwaTworcy, String nazwaKategorii) {
  17. this.id = id;
  18. this.rodzaj = rodzaj;
  19. this.nazwa = nazwa;
  20. this.dlugosc = dlugosc;
  21. this.opis = opis;
  22. this.cena = cena;
  23. this.nazwaTworcy = nazwaTworcy;
  24. this.nazwaKategorii = nazwaKategorii;
  25. }
  26.  
  27. public Integer getId() {
  28. return id;
  29. }
  30.  
  31. public void setId(Integer id) {
  32. this.id = id;
  33. }
  34.  
  35. public String getNazwa() {
  36. return nazwa;
  37. }
  38.  
  39. public void setNazwa(String nazwa) {
  40. this.nazwa = nazwa;
  41. }
  42.  
  43. public Timestamp getDlugosc() {
  44. return dlugosc;
  45. }
  46.  
  47. public void setDlugosc(Timestamp dlugosc) {
  48. this.dlugosc = dlugosc;
  49. }
  50.  
  51. public String getOpis() {
  52. return opis;
  53. }
  54.  
  55. public void setOpis(String opis) {
  56. this.opis = opis;
  57. }
  58.  
  59. public Float getCena() {
  60. return cena;
  61. }
  62.  
  63. public void setCena(Float cena) {
  64. this.cena = cena;
  65. }
  66.  
  67. public String getNazwaTworcy() {
  68. return nazwaTworcy;
  69. }
  70.  
  71. public String getRodzaj() {
  72. return rodzaj;
  73. }
  74.  
  75. public void setRodzaj(String rodzaj) {
  76. this.rodzaj = rodzaj;
  77. }
  78.  
  79. public void setNazwaTworcy(String id_tworcy) {
  80. this.nazwaTworcy = id_tworcy;
  81. }
  82.  
  83. public String getNazwaKategorii() {
  84. return nazwaKategorii;
  85. }
  86.  
  87. public void setNazwaKategorii(String nazwaKategorii) {
  88. this.nazwaKategorii = nazwaKategorii;
  89. }
  90. }
  91.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement