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

import jp.co.sint.config.SIConfig;
import jp.co.sint.tools.SIUtil;
import jp.co.sint.tools.SIFatalException;
import org.apache.log4j.Category;

/**
 * @version $Id: SIOtherOrder.java,v 1.0 Exp $
 * @author  Naotaka Ohsugi
 * <br>Description: その他販売管理に対するBeanクラスの作成
 * <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>
 * Naotaka Ohsugi 2006/07/11  Original
 */

public class SIOtherOrder extends SIBasic{
  //ログ用のインスタンスの生成
  private static Category log=Category.getInstance(SIConfig.SILOG4J_WEBSHOP_CATEGORY_NAME);
  
  //その他販売コード
  private String otherOrderCode = "";
  
  //その他販売項番
  private String otherDetailCode = "";
  
  //親商品名
  private String motherCmdtyName = "";
  
  //部門
  private String cmdtySection = "";
  
  //受注番号
  private String orderCode = "";
  
  //受注日
  private String orderDate = "";
  
  //ステータス
  private String status = "";
  
  //売上区分
  private String sellType = "";
  
  //商品名
  private String cmdtyName = "";
  
  //数量
  private String amount = "";
  
  //単価
  private String price = "";
  
  //原価
  private String purchasePrice = "";
  
  //コメント
  private String comment = "";
  
  //更新フラグ
  private String updateFlg = "";
  
  public String getAmount() {
    return amount;
  }
  
  public void setAmount(String amount) {
    this.amount = amount;
  }
  
  public String getCmdtyName() {
    return cmdtyName;
  }
  
  public void setCmdtyName(String cmdtyName) {
    this.cmdtyName = cmdtyName;
  }
  
  public String getCmdtySection() {
    return cmdtySection;
  }
  
  public void setCmdtySection(String cmdtySection) {
    this.cmdtySection = cmdtySection;
  }
  
  public String getComment() {
    return comment;
  }
  
  public void setComment(String comment) {
    this.comment = comment;
  }
  
  public String getMotherCmdtyName() {
    return motherCmdtyName;
  }
  
  public void setMotherCmdtyName(String motherCmdtyName) {
    this.motherCmdtyName = motherCmdtyName;
  }
  
  public String getOrderCode() {
    return orderCode;
  }
  
  public void setOrderCode(String orderCode) {
    this.orderCode = orderCode;
  }
  
  public String getOrderDate() {
    return orderDate;
  }
  
  public void setOrderDate(String orderDate) {
    this.orderDate = orderDate;
  }
  
  public String getOtherOrderCode() {
    return otherOrderCode;
  }
  
  public void setOtherOrderCode(String otherOrderCode) {
    this.otherOrderCode = otherOrderCode;
  }
  
  public String getOtherDetailCode() {
    return otherDetailCode;
  }
  
  public void setOtherDetailCode(String otherDetailCode) {
    this.otherDetailCode = otherDetailCode;
  }
  
  public String getPrice() {
    return price;
  }
  
  public void setPrice(String price) {
    this.price = price;
  }
  
  public String getPurchasePrice() {
    return purchasePrice;
  }
  
  public void setPurchasePrice(String purchasePrice) {
    this.purchasePrice = purchasePrice;
  }
  
  public String getSellType() {
    return sellType;
  }
  
  public void setSellType(String sellType) {
    this.sellType = sellType;
  }
  
  public String getStatus() {
    return status;
  }
  
  public void setStatus(String status) {
    this.status = status;
  }
  
  public String getUpdateFlg() {
    return updateFlg;
  }
  
  public void setUpdateFlg(String updateFlg) {
    this.updateFlg = updateFlg;
  }
  
  public String getTotalPrice() {
    String totalPrice = "";
    totalPrice=SIUtil.multi(price,amount);
    return totalPrice;
  }
}