worker
unknown
plain_text
2 years ago
2.0 kB
1
Indexable
Never
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package s000013; /** * * @author MSI GTX */ public class Worker { private String id; private String name; private int age; private int salary; private String workLocation; /** * */ public Worker() { } /** * * @param id * @param name * @param age * @param salary * @param workLocation */ public Worker(String id, String name, int age, int salary, String workLocation) { this.id = id; this.name = name; this.age = age; this.salary = salary; this.workLocation = workLocation; } /** * * @return */ public String getId() { return id; } /** * * @param id */ public void setId(String id) { this.id = id; } /** * * @return */ public String getName() { return name; } /** * * @param name */ public void setName(String name) { this.name = name; } /** * * @return */ public int getAge() { return age; } /** * * @param age */ public void setAge(int age) { this.age = age; } /** * * @return */ public int getSalary() { return salary; } /** * * @param salary */ public void setSalary(int salary) { this.salary = salary; } /** * * @return */ public String getWorkLocation() { return workLocation; } /** * * @param workLocation */ public void setWorkLocation(String workLocation) { this.workLocation = workLocation; } }