113 lines
2.8 KiB
Java
113 lines
2.8 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 = "PenyusunanDetailTRPNPB_T")
|
|
@JsonIgnoreProperties({ "hibernateLazyInitializer", "handler" })
|
|
public class PenyusunanDetailTRPNPB extends BaseTransaction {
|
|
|
|
@JsonBackReference
|
|
@ManyToOne
|
|
@JoinColumn(name = "ObjectPenyusunanTRPNBPFk")
|
|
@Caption(value = "Object Penyusunan TRPNPB")
|
|
private PenyusunanTRPNPB penyusunanTRPNPB;
|
|
|
|
@Column(name = "ObjectPenyusunanTRPNBPFk", columnDefinition = "CHAR(32)", insertable = false, updatable = false, nullable = true)
|
|
private String penyusunanTRPNPBId;
|
|
|
|
@Column(name = "VolumeRelasasi", nullable = true)
|
|
@Caption(value = "Volume Realisasi")
|
|
private float volumeRealisasi;
|
|
|
|
@Column(name = "Harga", nullable = true)
|
|
@Caption(value = "Harga")
|
|
private Double harga;
|
|
|
|
@Column(name = "TotalRelasasi", nullable = true)
|
|
@Caption(value = "Total Realisasi")
|
|
private Double totalRealisasi;
|
|
|
|
@Column(name = "VolumeTarget", nullable = true)
|
|
@Caption(value = "Volume Target")
|
|
private float volumeTarget;
|
|
|
|
@Column(name = "TotalTarget", nullable = true)
|
|
@Caption(value = "Total Target")
|
|
private Double totalTarget;
|
|
|
|
@ManyToOne
|
|
@JoinColumn(name = "ObjectProdukFk")
|
|
@Caption(value = "Object Produk")
|
|
private Produk produk;
|
|
|
|
@Column(name = "ObjectProdukFk", insertable = false, updatable = false, nullable = true)
|
|
private Integer produkId;
|
|
|
|
public PenyusunanTRPNPB getPenyusunanTRPNPB() {
|
|
return penyusunanTRPNPB;
|
|
}
|
|
|
|
public void setPenyusunanTRPNPB(PenyusunanTRPNPB penyusunanTRPNPB) {
|
|
this.penyusunanTRPNPB = penyusunanTRPNPB;
|
|
}
|
|
|
|
public float getVolumeRealisasi() {
|
|
return volumeRealisasi;
|
|
}
|
|
|
|
public void setVolumeRealisasi(float volumeRealisasi) {
|
|
this.volumeRealisasi = volumeRealisasi;
|
|
}
|
|
|
|
public Double getHarga() {
|
|
return harga;
|
|
}
|
|
|
|
public void setHarga(Double harga) {
|
|
this.harga = harga;
|
|
}
|
|
|
|
public Double getTotalRealisasi() {
|
|
return totalRealisasi;
|
|
}
|
|
|
|
public void setTotalRealisasi(Double totalRealisasi) {
|
|
this.totalRealisasi = totalRealisasi;
|
|
}
|
|
|
|
public float getVolumeTarget() {
|
|
return volumeTarget;
|
|
}
|
|
|
|
public void setVolumeTarget(float volumeTarget) {
|
|
this.volumeTarget = volumeTarget;
|
|
}
|
|
|
|
public Double getTotalTarget() {
|
|
return totalTarget;
|
|
}
|
|
|
|
public void setTotalTarget(Double totalTarget) {
|
|
this.totalTarget = totalTarget;
|
|
}
|
|
|
|
public Produk getProduk() {
|
|
return produk;
|
|
}
|
|
|
|
public void setProduk(Produk produk) {
|
|
this.produk = produk;
|
|
}
|
|
|
|
}
|