Skip to content

Instantly share code, notes, and snippets.

@yusufcakal
Created October 4, 2017 17:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yusufcakal/f0e9a07482b86984a37d022d9b555cc3 to your computer and use it in GitHub Desktop.
Save yusufcakal/f0e9a07482b86984a37d022d9b555cc3 to your computer and use it in GitHub Desktop.
Medium Post
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