package com.artivisi.biller.simulator.entity;

import java.math.BigDecimal;
import java.util.Date;


import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;

import org.hibernate.annotations.GenericGenerator;

@Entity @Table(name="tagihan_nontaglis")
public class TagihanNontaglis {
	
	@Id @GeneratedValue(generator = "system-uuid")
    @GenericGenerator(name = "system-uuid", strategy = "uuid")
	private String id ;
	
	@ManyToOne
	@JoinColumn(name="id_pelanggan", nullable=false)
	private Pelanggan pelanggan;
	
	private String switcherId ;
	private BigDecimal registrationNumber ;
	private Integer areaCode ;
	private Integer transactionCode ;
	private String transactionName ;
	private Date registrationDate ;
	private Date expirationDate ;
	private BigDecimal subscriberId ;
	private String subscriberName ;
	private String plnRefNumber ;
	private String finnetReceiptRefNumber ;
	private String serviceUnit ;
	private String serviceUnitAdress ;
	private String serviceUnitPhone ;
	private BigDecimal totalTransactionAmountMinorUnit ;
	private BigDecimal totalTransactionAmount ;
	private BigDecimal plnBillMinorUnit ;
	private BigDecimal rptag ;
	private BigDecimal adminChargeUnit ;
	private BigDecimal adminCharge ;
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public Pelanggan getPelanggan() {
		return pelanggan;
	}
	public void setPelanggan(Pelanggan pelanggan) {
		this.pelanggan = pelanggan;
	}
	public String getSwitcherId() {
		return switcherId;
	}
	public void setSwitcherId(String switcherId) {
		this.switcherId = switcherId;
	}
	public BigDecimal getRegistrationNumber() {
		return registrationNumber;
	}
	public void setRegistrationNumber(BigDecimal registrationNumber) {
		this.registrationNumber = registrationNumber;
	}
	public Integer getAreaCode() {
		return areaCode;
	}
	public void setAreaCode(Integer areaCode) {
		this.areaCode = areaCode;
	}
	public Integer getTransactionCode() {
		return transactionCode;
	}
	public void setTransactionCode(Integer transactionCode) {
		this.transactionCode = transactionCode;
	}
	public String getTransactionName() {
		return transactionName;
	}
	public void setTransactionName(String transactionName) {
		this.transactionName = transactionName;
	}
	public Date getRegistrationDate() {
		return registrationDate;
	}
	public void setRegistrationDate(Date registrationDate) {
		this.registrationDate = registrationDate;
	}
	public Date getExpirationDate() {
		return expirationDate;
	}
	public void setExpirationDate(Date expirationDate) {
		this.expirationDate = expirationDate;
	}
	public BigDecimal getSubscriberId() {
		return subscriberId;
	}
	public void setSubscriberId(BigDecimal subscriberId) {
		this.subscriberId = subscriberId;
	}
	public String getSubscriberName() {
		return subscriberName;
	}
	public void setSubscriberName(String subscriberName) {
		this.subscriberName = subscriberName;
	}
	public String getPlnRefNumber() {
		return plnRefNumber;
	}
	public void setPlnRefNumber(String plnRefNumber) {
		this.plnRefNumber = plnRefNumber;
	}
	public String getFinnetReceiptRefNumber() {
		return finnetReceiptRefNumber;
	}
	public void setFinnetReceiptRefNumber(String finnetReceiptRefNumber) {
		this.finnetReceiptRefNumber = finnetReceiptRefNumber;
	}
	public String getServiceUnit() {
		return serviceUnit;
	}
	public void setServiceUnit(String serviceUnit) {
		this.serviceUnit = serviceUnit;
	}
	public String getServiceUnitAdress() {
		return serviceUnitAdress;
	}
	public void setServiceUnitAdress(String serviceUnitAdress) {
		this.serviceUnitAdress = serviceUnitAdress;
	}
	public String getServiceUnitPhone() {
		return serviceUnitPhone;
	}
	public void setServiceUnitPhone(String serviceUnitPhone) {
		this.serviceUnitPhone = serviceUnitPhone;
	}
	public BigDecimal getTotalTransactionAmountMinorUnit() {
		return totalTransactionAmountMinorUnit;
	}
	public void setTotalTransactionAmountMinorUnit(
			BigDecimal totalTransactionAmountMinorUnit) {
		this.totalTransactionAmountMinorUnit = totalTransactionAmountMinorUnit;
	}
	public BigDecimal getTotalTransactionAmount() {
		return totalTransactionAmount;
	}
	public void setTotalTransactionAmount(BigDecimal totalTransactionAmount) {
		this.totalTransactionAmount = totalTransactionAmount;
	}
	public BigDecimal getPlnBillMinorUnit() {
		return plnBillMinorUnit;
	}
	public void setPlnBillMinorUnit(BigDecimal plnBillMinorUnit) {
		this.plnBillMinorUnit = plnBillMinorUnit;
	}
	public BigDecimal getRptag() {
		return rptag;
	}
	public void setRptag(BigDecimal rptag) {
		this.rptag = rptag;
	}
	public BigDecimal getAdminChargeUnit() {
		return adminChargeUnit;
	}
	public void setAdminChargeUnit(BigDecimal adminChargeUnit) {
		this.adminChargeUnit = adminChargeUnit;
	}
	public BigDecimal getAdminCharge() {
		return adminCharge;
	}
	public void setAdminCharge(BigDecimal adminCharge) {
		this.adminCharge = adminCharge;
	}
	
	
}

add entity tagihanNontaglis