package jp.co.sint.basic;
import jp.co.sint.tools.SIUtil;
/**
 *  引当情報用ベーシッククラス
 */
public class SICmdtyAllocation extends SIBasic {
  
  // 親コード
  private String cmdtyCode = "";
  
  // 在庫コード
  private String individualCode = "";
  
  // 商品名
  private String cmdtyName = "";
  
  // カラー
  private String colorName = "";
  
  // ステータス
  private String status = "";
  
  // ナンバー（予約番号/キープ番号/受注番号）
  private String number = "";
  
  // 顧客名
  private String custName = "";
  
  // 配送先名
  private String deliveryCustName = "";
  
  // 顧客住所１（都道府県）
  private String address1 = "";
  
  // 担当支店
  private String branchName = "";
  
  // 担当者
  private String chargeName = "";
  
  // 引当数量
  private String amount = "";
  
  // メール送信日時
  private String sendMailDateTime = "";
  
  /**
   * <b>SICmdtyAllocation</b> コンストラクタ
   * 
   * @param なし
   * @return なし
   * @throws なし
   */
  public SICmdtyAllocation() {}
  
  // setter of 親コード
  public void setCmdtyCode(String lCmdtyCode) {
    if (SIUtil.isNull(lCmdtyCode)) lCmdtyCode = "";
    this.cmdtyCode = SIUtil.changeTo(lCmdtyCode.trim(), this.encode);
  }
  
  // setter of 在庫コード
  public void setIndividualCode(String lIndividualCode) {
    if (SIUtil.isNull(lIndividualCode)) lIndividualCode = "";
    this.individualCode = SIUtil.changeTo(lIndividualCode.trim(), this.encode);
  }
  
  // setter of 商品名
  public void setCmdtyName(String lCmdtyName) {
    if (SIUtil.isNull(lCmdtyName)) lCmdtyName = "";
    this.cmdtyName = SIUtil.changeTo(lCmdtyName.trim(), this.encode);
  }
  
  // setter of カラー
  public void setColorName(String lColorName) {
    if (SIUtil.isNull(lColorName)) lColorName = "";
    this.colorName = SIUtil.changeTo(lColorName.trim(), this.encode);
  }
  
  // setter of ステータス
  public void setStatus(String lStatus) {
    if (SIUtil.isNull(lStatus)) lStatus = "";
    this.status = SIUtil.changeTo(lStatus.trim(), this.encode);
  }
  
  // setter of ナンバー
  public void setNumber(String lNumber) {
    if (SIUtil.isNull(lNumber)) lNumber = "";
    this.number = SIUtil.changeTo(lNumber.trim(), this.encode);
  }
  
  // setter of 顧客名
  public void setCustName(String lCustName) {
    if (SIUtil.isNull(lCustName)) lCustName = "";
    this.custName = SIUtil.changeTo(lCustName.trim(), this.encode);
  }
  
  // setter of 配送先顧客名
  public void setDeliveryCustName(String lDeliveryCustName) {
    if (SIUtil.isNull(lDeliveryCustName)) lDeliveryCustName = "";
    this.deliveryCustName = SIUtil.changeTo(lDeliveryCustName.trim(), this.encode);
  }
  
  // setter of 顧客住所１
  public void setAddress1(String lAddress1) {
    if (SIUtil.isNull(lAddress1)) lAddress1 = "";
    this.address1 = SIUtil.changeTo(lAddress1.trim(), this.encode);
  }
  
  // setter of 担当支店
  public void setBranchName(String lBranchName) {
    if (SIUtil.isNull(lBranchName)) lBranchName = "";
    this.branchName = SIUtil.changeTo(lBranchName.trim(), this.encode);
  }
  
  // setter of 担当者
  public void setChargeName(String lChargeName) {
    if (SIUtil.isNull(lChargeName)) lChargeName = "";
    this.chargeName = SIUtil.changeTo(lChargeName.trim(), this.encode);
  }
  
  // setter of 引当数量
  public void setAmount(String lAmount) {
    if (SIUtil.isNull(lAmount)) lAmount = "";
    this.amount = SIUtil.changeTo(lAmount.trim(), this.encode);
  }
  
  // setter of メール送信日時
  public void setSendMailDateTime(String lSendMailDateTime) {
    if (SIUtil.isNull(lSendMailDateTime)) lSendMailDateTime = "";
    this.sendMailDateTime = SIUtil.changeTo(lSendMailDateTime.trim(), this.encode);
  }
  
  // getter of 親コード
  public String getCmdtyCode() {
    return this.cmdtyCode;
  }
  
  // getter of 在庫コード
  public String getIndividualCode() {
    return this.individualCode;
  }
  
  // getter of 商品名
  public String getCmdtyName() {
    return this.cmdtyName;
  }
  
  // getter of カラー
  public String getColorName() {
    return this.colorName;
  }
  
  // getter of ステータス
  public String getStatus() {
    return status;
  }
  
  // getter of ナンバー
  public String getNumber() {
    return number;
  }
  
  // getter of 顧客名
  public String getCustName() {
    return custName;
  }
  
  // getter of 配送先顧客名
  public String getDeliveryCustName() {
    return deliveryCustName;
  }
  
  // getter of 顧客住所１
  public String getAddress1() {
    return address1;
  }
  
  // getter of 担当支店
  public String getBranchName() {
    return branchName;
  }
  
  // getter of 担当者
  public String getChargeName() {
    return chargeName;
  }
  
  // getter of 引当数量
  public String getAmount() {
    return amount;
  }
  
  // getter of メール送信日時
  public String getSendMailDateTime() {
    return sendMailDateTime;
  }
}