/**
 * Copyright (c) 2003-2004 System Integrator Corporation.
 *                 All Rights Reserved.
 */
package jp.co.sint.basic;

import jp.co.sint.tools.SIUtil;

/**
 * @version $Id: SICust.java,v 1.0 Exp $
 * @author  asakura
 * <br>Description: 顧客マスタに対するクラス
 * <p>History</p>
 * <p>Author&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Date&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Reason</p>
 * ============&nbsp;&nbsp;&nbsp;==========&nbsp;&nbsp;===========================<br>
 * asakura    2004/02/03  Original
 */

public class SICustPoint extends SIBasic {

  //顧客コード
  private String custCode = "";
  //会員レベル
  private String memberLevelName = "";
  //氏名
  private String custName = "";
  //フリガナ
  private String custPronName = "";
  //Email
  private String email = "";
  //無効ポイント数
  private String totalOfInvalid="0";
  //仮発行ポイント数
  private String totalOfTemporary="0";
  //有効ポイント数
  private String totalOfEffective="0";
  //電話番号
  private String tel = "";
  
  public SICustPoint() {
  }
  
  //顧客コード of setter
  public void setCustCode(String val) {
    if (SIUtil.isNull(val)) val = "";
    val = SIUtil.changeTo(val.trim(), this.encode);
    this.custCode = val;
  }
  
  //会員レベル
  public void setMemberLevelName(String val) {
      if (SIUtil.isNull(val)) val = "";
      this.memberLevelName = SIUtil.changeTo(val.trim(), this.encode);
  }
  
  //氏名 of setter
  public void setCustName(String val) {
    if (SIUtil.isNull(val)) val = "";
    this.custName = SIUtil.changeTo(val.trim(), this.encode);
  }
  
  //フリガナ of setter
  public void setCustPronName(String val) {
    if (SIUtil.isNull(val)) val = "";
    this.custPronName = SIUtil.changeTo(val.trim(), this.encode);
  }
  
  //Email of setter
  public void setEmail(String val) {
    if (SIUtil.isNull(val)) val = "";
    this.email = SIUtil.changeTo(val.trim(), this.encode);
  }
  
  //無効ポイント数 of setter
  public void setTotalOfInvalid(String val) {
    if (SIUtil.isNull(val)) val = "0";
    this.totalOfInvalid = SIUtil.changeTo(val.trim(), this.encode);
  }
  
  //仮発行ポイント数 of setter
  public void setTotalOfTemporary(String val) {
    if (SIUtil.isNull(val)) val = "0";
    this.totalOfTemporary = SIUtil.changeTo(val.trim(), this.encode);
  }
  
  //有効ポイント数 of setter
  public void setTotalOfEffective(String val) {
    if (SIUtil.isNull(val)) val = "0";
    this.totalOfEffective = SIUtil.changeTo(val.trim(), this.encode);
  }
  
  //顧客コード of getter
  public String getCustCode() {
    return this.custCode;
  }
  
  //会員レベル
  public String getMemberLevelName() {
    return memberLevelName;
  }
  
  //氏名 of getter
  public String getCustName() {
    return this.custName;
  }
  
  //フリガナ of getter
  public String getCustPronName() {
    return this.custPronName;
  }
  
  //Email of getter
  public String getEmail() {
    return this.email;
  }
  
  //無効ポイント数 of getter
  public String getTotalOfInvalid() {
    return this.totalOfInvalid;
  }
  
  //仮発行ポイント数 of getter
  public String getTotalOfTemporary() {
    return this.totalOfTemporary;
  }
  
  //有効ポイント数 of getter
  public String getTotalOfEffective() {
    return this.totalOfEffective;
  }
  
  /*
   * getter of tel.
   */
  public String getTel() {
    return tel;
  }
  
  /*
   * setter of tel
   */
  public void setTel(String tel) {
    this.tel = tel;
  }
}