101 lines
2.3 KiB
Java
101 lines
2.3 KiB
Java
package com.jasamedika.medifirst2000.entities;
|
|
|
|
import javax.persistence.Column;
|
|
import javax.persistence.Entity;
|
|
import javax.persistence.JoinColumn;
|
|
import javax.persistence.ManyToOne;
|
|
import javax.persistence.Table;
|
|
|
|
import com.fasterxml.jackson.annotation.JsonBackReference;
|
|
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
|
|
import com.jasamedika.medifirst2000.base.BaseTransaction;
|
|
import com.jasamedika.medifirst2000.helper.Caption;
|
|
|
|
@Entity
|
|
@Table(name = "PenyusunanEPlanning_T")
|
|
@JsonIgnoreProperties({ "hibernateLazyInitializer", "handler" })
|
|
public class PenyusunanDetailEPlanning extends BaseTransaction {
|
|
|
|
@JsonBackReference
|
|
@ManyToOne
|
|
@JoinColumn(name = "ObjectPenyusunanEPlanningFk")
|
|
@Caption(value = "Object Penyusunan EPlanning")
|
|
private PenyusunanEPlanning penyusunanEPlanning;
|
|
|
|
@Column(name = "ObjectPenyusunanEPlanningFk", columnDefinition = "CHAR(32)", insertable = false, updatable = false, nullable = true)
|
|
private String penyusunanEPlanningId;
|
|
|
|
@Column(name = "Qty", nullable = true)
|
|
@Caption(value = "Qty")
|
|
private Double qty;
|
|
|
|
@Column(name = "Harga", nullable = true)
|
|
@Caption(value = "Harga")
|
|
private Double harga;
|
|
|
|
@Column(name = "Total", nullable = true)
|
|
@Caption(value = "Total")
|
|
private Double total;
|
|
|
|
@Column(name = "Keterangan", nullable = true)
|
|
@Caption(value = "Keterangan")
|
|
private String keterangan;
|
|
|
|
@ManyToOne
|
|
@JoinColumn(name = "ObjectProdukFk")
|
|
@Caption(value = "Object Produk")
|
|
private Produk produk;
|
|
|
|
@Column(name = "ObjectProdukFk", insertable = false, updatable = false, nullable = true)
|
|
private Integer produkId;
|
|
|
|
public PenyusunanEPlanning getPenyusunanEPlanning() {
|
|
return penyusunanEPlanning;
|
|
}
|
|
|
|
public void setPenyusunanEPlanning(PenyusunanEPlanning penyusunanEPlanning) {
|
|
this.penyusunanEPlanning = penyusunanEPlanning;
|
|
}
|
|
|
|
public Double getQty() {
|
|
return qty;
|
|
}
|
|
|
|
public void setQty(Double qty) {
|
|
this.qty = qty;
|
|
}
|
|
|
|
public Double getHarga() {
|
|
return harga;
|
|
}
|
|
|
|
public void setHarga(Double harga) {
|
|
this.harga = harga;
|
|
}
|
|
|
|
public Double getTotal() {
|
|
return total;
|
|
}
|
|
|
|
public void setTotal(Double total) {
|
|
this.total = total;
|
|
}
|
|
|
|
public String getKeterangan() {
|
|
return keterangan;
|
|
}
|
|
|
|
public void setKeterangan(String keterangan) {
|
|
this.keterangan = keterangan;
|
|
}
|
|
|
|
public Produk getProduk() {
|
|
return produk;
|
|
}
|
|
|
|
public void setProduk(Produk produk) {
|
|
this.produk = produk;
|
|
}
|
|
|
|
}
|