@@ -0,0 +1,1514 @@
+package com.rizki.mufrizal.belajarHibernate.domain;%0A%0Aimport javax.persistence.*;%0Aimport java.io.Serializable;%0Aimport java.util.Date;%0A%0A/**%0A * Created by rizki on 23/07/15.%0A */%0A%0A@Entity%0A@Table(name = %22tb_mahasiswa%22)%0Apublic class Mahasiswa implements Serializable%7B%0A%0A    @Id%0A    @Column(name = %22npm%22, length = 8)%0A    private String npm;%0A%0A    @Column(name = %22nama%22, nullable = false, length = 45)%0A    private String nama;%0A%0A    @Column(name = %22kelas%22, nullable = false, length = 5)%0A    private String kelas;%0A%0A    @Column(name = %22jenisKelamin%22, nullable = false, length = 6)%0A    @Enumerated(EnumType.STRING)%0A    private JenisKelamin jenisKelamin;%0A%0A    @Column(name = %22tanggalLahir%22, nullable = false)%0A    @Temporal(TemporalType.DATE)%0A    private Date tanggalLahir;%0A%0A    public String getNpm() %7B%0A        return npm;%0A    %7D%0A%0A    public void setNpm(String npm) %7B%0A        this.npm = npm;%0A    %7D%0A%0A    public String getNama() %7B%0A        return nama;%0A    %7D%0A%0A    public void setNama(String nama) %7B%0A        this.nama = nama;%0A    %7D%0A%0A    public String getKelas() %7B%0A        return kelas;%0A    %7D%0A%0A    public void setKelas(String kelas) %7B%0A        this.kelas = kelas;%0A    %7D%0A%0A    public JenisKelamin getJenisKelamin() %7B%0A        return jenisKelamin;%0A    %7D%0A%0A    public void setJenisKelamin(JenisKelamin jenisKelamin) %7B%0A        this.jenisKelamin = jenisKelamin;%0A    %7D%0A%0A    public Date getTanggalLahir() %7B%0A        return tanggalLahir;%0A    %7D%0A%0A    public void setTanggalLahir(Date tanggalLahir) %7B%0A        this.tanggalLahir = tanggalLahir;%0A    %7D%0A%7D%0A

add domain mahasiswa