Created
October 4, 2017 17:59
-
-
Save yusufcakal/f0e9a07482b86984a37d022d9b555cc3 to your computer and use it in GitHub Desktop.
Medium Post
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package pojo; | |
import javax.xml.bind.annotation.XmlAccessType; | |
import javax.xml.bind.annotation.XmlAccessorType; | |
import javax.xml.bind.annotation.XmlRootElement; | |
/** | |
* İş pojo sınıfımız. | |
* @author Yusuf Çakal | |
* @since 14 Ağustos 2017 | |
*/ | |
@XmlRootElement | |
@XmlAccessorType(XmlAccessType.FIELD) | |
public class Job { | |
private String name, dept; | |
public Job(String name, String dept) { | |
this.name = name; | |
this.dept = dept; | |
} | |
public Job() {} | |
//getters and setters fonksyionları | |
//toString() fonksiyonu | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment