
package jp.co.sint.basic;

import jp.co.sint.tools.SIUtil;

public class SIHacchuPayment extends SIBasic {
  
  private String paymentCode = "";
  
  private String stockCode = "";
  
  private String stockName = "";
  
  private String hacchuCode = "";
  
  private String branchCode = "";
  
  private String branchName = "";
  
  private String chargeCode = "";
  
  private String chargeName = "";
  
  private String initDateTime = "";
  
  private String paymentPriceEx = "0";
  
  private String paymentPriceP = "0";
  
  private String paymentPriceM = "0";
  
  private String paymentDate = "";
  
  private String memo = "";
  
  private String lastClose = "";
  
  private String index = "";
  
  public SIHacchuPayment() {}
  
  public SIHacchuPayment(String lStockCode) {
    this.setStockCode(lStockCode);
  }
  
  public String getBranchCode() {
    return branchCode;
  }
  
  public String getBranchName() {
    return branchName;
  }
  
  public String getChargeCode() {
    return chargeCode;
  }
  
  public String getChargeName() {
    return chargeName;
  }
  
  public String getHacchuCode() {
    return hacchuCode;
  }
  
  public String getIndex() {
    return index;
  }
  
  public String getInitDateTime() {
    return initDateTime;
  }
  
  public String getLastClose() {
    return lastClose;
  }
  
  public String getMemo() {
    return memo;
  }
  
  public String getPaymentCode() {
    return paymentCode;
  }
  
  public String getPaymentPriceEx() {
    return paymentPriceEx;
  }
  
  public String getPaymentPriceM() {
    return paymentPriceM;
  }
  
  public String getPaymentPriceP() {
    return paymentPriceP;
  }
  
  public String getPaymentDate() {
    return paymentDate;
  }
  
  public String getStockCode() {
    return stockCode;
  }
  
  public String getStockName() {
    return stockName;
  }
  
  public void setBranchCode(String branchCode) {
    if (SIUtil.isNull(branchCode)) branchCode = "";
    this.branchCode = branchCode;
  }
  
  public void setBranchName(String branchName) {
    if (SIUtil.isNull(branchName)) branchName = "";
    this.branchName = branchName;
  }
  
  public void setChargeCode(String chargeCode) {
    if (SIUtil.isNull(chargeCode)) chargeCode = "";
    this.chargeCode = chargeCode;
  }
  
  public void setChargeName(String chargeName) {
    if (SIUtil.isNull(chargeName)) chargeName = "";
    this.chargeName = chargeName;
  }
  
  public void setHacchuCode(String hacchuCode) {
    if (SIUtil.isNull(hacchuCode)) hacchuCode = "";
    this.hacchuCode = hacchuCode;
  }
  
  public void setIndex(String index) {
    if (SIUtil.isNull(index)) index = "";
    this.index = index;
  }
  
  public void setInitDateTime(String initDateTime) {
    if (SIUtil.isNull(initDateTime)) initDateTime = "";
    this.initDateTime = initDateTime;
  }
  
  public void setLastClose(String lastClose) {
    if (SIUtil.isNull(lastClose)) lastClose = "";
    this.lastClose = lastClose;
  }
  
  public void setMemo(String memo) {
    if (SIUtil.isNull(memo)) memo = "";
    this.memo = memo;
  }
  
  public void setPaymentCode(String paymentCode) {
    if (SIUtil.isNull(paymentCode)) paymentCode = "";
    this.paymentCode = paymentCode;
  }
  
  public void setPaymentPriceEx(String paymentPriceEx) {
    if (SIUtil.isNull(paymentPriceEx)) paymentPriceEx = "0";
    this.paymentPriceEx = paymentPriceEx;
  }
  
  public void setPaymentPriceM(String paymentPriceM) {
    if (SIUtil.isNull(paymentPriceM)) paymentPriceM = "0";
    this.paymentPriceM = paymentPriceM;
  }
  
  public void setPaymentPriceP(String paymentPriceP) {
    if (SIUtil.isNull(paymentPriceP)) paymentPriceP = "0";
    this.paymentPriceP = paymentPriceP;
  }
  
  public void setPaymentDate(String paymentDate) {
    if (SIUtil.isNull(paymentDate)) paymentDate = "";
    this.paymentDate = paymentDate;
  }
  
  public void setStockCode(String stockCode) {
    if (SIUtil.isNull(stockCode)) stockCode = "";
    this.stockCode = stockCode;
  }
  
  public void setStockName(String stockName) {
    if (SIUtil.isNull(stockName)) stockName = "";
    this.stockName = stockName;
  }
}