Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class Radnik {
- private int mbr;
- private String ime;
- private String prz;
- private String datr;
- private int ozrm;
- public Radnik(int mbr, String ime, String prz, String datr, int ozrm) {
- this.mbr = mbr;
- this.ime = ime;
- this.prz = prz;
- this.datr = datr;
- this.ozrm = ozrm;
- }
- public int getMbr() {
- return mbr;
- }
- public void setMbr(int mbr) {
- this.mbr = mbr;
- }
- public String getIme() {
- return ime;
- }
- public void setIme(String ime) {
- this.ime = ime;
- }
- public String getPrz() {
- return prz;
- }
- public void setPrz(String prz) {
- this.prz = prz;
- }
- public String getDatr() {
- return datr;
- }
- public void setDatr(String datr) {
- this.datr = datr;
- }
- public int getOzrm() {
- return ozrm;
- }
- public void setOzrm(int ozrm) {
- this.ozrm = ozrm;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement