edit form utama dan transaksi, menambahkan tabel barang
parent
3eb8e2b74e
commit
9f637ee9b7
@ -0,0 +1,182 @@
|
||||
/*
|
||||
* 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 id.amigogroup.posterminal.transaksi;
|
||||
|
||||
import javafx.beans.property.SimpleObjectProperty;
|
||||
import javafx.beans.property.SimpleStringProperty;
|
||||
import javafx.scene.control.Button;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author AGNES
|
||||
*/
|
||||
public class TabelBarang {
|
||||
|
||||
/**
|
||||
* @return the kodeBarang
|
||||
*/
|
||||
private SimpleStringProperty kodeBarang;
|
||||
private SimpleStringProperty namaBarang;
|
||||
private SimpleStringProperty ukur;
|
||||
private SimpleStringProperty qty;
|
||||
private SimpleStringProperty harga;
|
||||
private SimpleStringProperty disc1;
|
||||
private SimpleStringProperty disc2;
|
||||
private SimpleStringProperty promo;
|
||||
private SimpleStringProperty subTotal;
|
||||
private SimpleStringProperty pramuniaga;
|
||||
|
||||
public TabelBarang(String kodeBarang, String namaBarang, String ukur, String qty, String harga, String disc1,
|
||||
String disc2, String promo, String subTotal, String pramuniaga) {
|
||||
this.kodeBarang = new SimpleStringProperty(kodeBarang);
|
||||
this.namaBarang = new SimpleStringProperty(namaBarang);
|
||||
this.ukur = new SimpleStringProperty(ukur);
|
||||
this.qty = new SimpleStringProperty(qty);
|
||||
this.harga = new SimpleStringProperty(harga);
|
||||
this.disc1 = new SimpleStringProperty(disc1);
|
||||
this.disc2 = new SimpleStringProperty(disc2);
|
||||
this.promo = new SimpleStringProperty(promo);
|
||||
this.subTotal = new SimpleStringProperty(subTotal);
|
||||
this.pramuniaga = new SimpleStringProperty(pramuniaga);
|
||||
}
|
||||
|
||||
public SimpleStringProperty getKodeBarang() {
|
||||
return kodeBarang;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param kodeBarang the kodeBarang to set
|
||||
*/
|
||||
public void setKodeBarang(SimpleStringProperty kodeBarang) {
|
||||
this.kodeBarang = kodeBarang;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return the namaBarang
|
||||
*/
|
||||
public SimpleStringProperty getNamaBarang() {
|
||||
return namaBarang;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param namaBarang the namaBarang to set
|
||||
*/
|
||||
public void setNamaBarang(SimpleStringProperty namaBarang) {
|
||||
this.namaBarang = namaBarang;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return the ukur
|
||||
*/
|
||||
public SimpleStringProperty getUkur() {
|
||||
return ukur;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param ukur the ukur to set
|
||||
*/
|
||||
public void setUkur(SimpleStringProperty ukur) {
|
||||
this.ukur = ukur;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return the qty
|
||||
*/
|
||||
public SimpleStringProperty getQty() {
|
||||
return qty;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param qty the qty to set
|
||||
*/
|
||||
public void setQty(SimpleStringProperty qty) {
|
||||
this.qty = qty;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return the harga
|
||||
*/
|
||||
public SimpleStringProperty getHarga() {
|
||||
return harga;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param harga the harga to set
|
||||
*/
|
||||
public void setHarga(SimpleStringProperty harga) {
|
||||
this.harga = harga;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return the disc1
|
||||
*/
|
||||
public SimpleStringProperty getDisc1() {
|
||||
return disc1;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param disc1 the disc1 to set
|
||||
*/
|
||||
public void setDisc1(SimpleStringProperty disc1) {
|
||||
this.disc1 = disc1;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return the disc2
|
||||
*/
|
||||
public SimpleStringProperty getDisc2() {
|
||||
return disc2;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param disc2 the disc2 to set
|
||||
*/
|
||||
public void setDisc2(SimpleStringProperty disc2) {
|
||||
this.disc2 = disc2;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return the promo
|
||||
*/
|
||||
public SimpleStringProperty getPromo() {
|
||||
return promo;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param promo the promo to set
|
||||
*/
|
||||
public void setPromo(SimpleStringProperty promo) {
|
||||
this.promo = promo;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return the subTotal
|
||||
*/
|
||||
public SimpleStringProperty getSubTotal() {
|
||||
return subTotal;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param subTotal the subTotal to set
|
||||
*/
|
||||
public void setSubTotal(SimpleStringProperty subTotal) {
|
||||
this.subTotal = subTotal;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return the pramuniaga
|
||||
*/
|
||||
public SimpleStringProperty getPramuniaga() {
|
||||
return pramuniaga;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param pramuniaga the pramuniaga to set
|
||||
*/
|
||||
public void setPramuniaga(SimpleStringProperty pramuniaga) {
|
||||
this.pramuniaga = pramuniaga;
|
||||
}
|
||||
}
|
||||
Loading…
Reference in New Issue