Rabu, 21 Desember 2011

Proyek PBO_Kelas Surat

package uts_pbo_2;

public class Surat {
    private String noSurat;
    private String perihal;
    private String TglSurat;
    private String TglTerima;
    private String pengirim;
    private String penerima;
    private String search;

    public Surat(){

    }

    public Surat(String noSurat, String perihal, String TglSurat, String TglTerima, String pengirim, String penerima) {
        this.noSurat = noSurat;
        this.perihal = perihal;
        this.TglSurat = TglSurat;
        this.TglTerima = TglTerima;
        this.pengirim = pengirim;
        this.penerima = penerima;
    }


    /**
     * @return the noSurat
     */
    public String getNoSurat() {
        return noSurat;
    }

    /**
     * @param noSurat the noSurat to set
     */
    public void setNoSurat(String noSurat) {
        this.noSurat = noSurat;
    }

    /**
     * @return the perihal
     */
    public String getPerihal() {
        return perihal;
    }

    /**
     * @param perihal the perihal to set
     */
    public void setPerihal(String perihal) {
        this.perihal = perihal;
    }

    /**
     * @return the TglSurat
     */
    public String getTglSurat() {
        return TglSurat;
    }

    /**
     * @param TglSurat the TglSurat to set
     */
    public void setTglSurat(String TglSurat) {
        this.TglSurat = TglSurat;
    }

    /**
     * @return the TglTerima
     */
    public String getTglTerima() {
        return TglTerima;
    }

    /**
     * @param TglTerima the TglTerima to set
     */
    public void setTglTerima(String TglTerima) {
        this.TglTerima = TglTerima;
    }

    /**
     * @return the pengirim
     */
    public String getPengirim() {
        return pengirim;
    }

    /**
     * @param pengirim the pengirim to set
     */
    public void setPengirim(String pengirim) {
        this.pengirim = pengirim;
    }

    /**
     * @return the penerima
     */
    public String getPenerima() {
        return penerima;
    }

    /**
     * @param penerima the penerima to set
     */
    public void setPenerima(String penerima) {
        this.penerima = penerima;
    }

    /**
     * @return the search
     */
    public String getSearch() {
        return search;
    }

    /**
     * @param search the search to set
     */
    public void setSearch(String search) {
        this.search = search;
    }
}

Tidak ada komentar:

Posting Komentar