  /**
   * Generate time : 2009-06-15 18:12:38
   * Version : 1.0.1.V20070717
   */
package com.baosight.sts.st.cw.domain;

//import com.baosight.bfms.as.as.common.bill.IBillHead;
import com.baosight.bfms.as.as.common.bill.IBillHead;
import com.baosight.iplat4j.util.NumberUtils;

import java.math.BigDecimal;
import java.util.Date;
import com.baosight.iplat4j.util.DateUtils;
import com.baosight.iplat4j.core.ei.EiColumn;
import com.baosight.iplat4j.ep.DaoEPBase;
import java.util.HashMap;
import java.util.Map;
import com.baosight.iplat4j.util.StringUtils;
/**
 * TApSupplierRefund 
 *  
 */
public class STCW0201 extends DaoEPBase implements IBillHead {

	private String segNo = " ";		// 业务单元代码
	private Long accsetNo = new Long(0);	// 帐套序号
	private String refundId = " ";		// 退款管理号
	private Date refundDate;	// 退款日期
	private String refundType = " ";		// 退款类型
	private String refundName = " ";		// 退款类型name
	private String providerId = " ";		// 供应商代码
	private String providerName = " ";		// 供应商name	
	private String bankAccNum = " ";		// 供应商银行帐号
	private String bankAccName = " ";		// 供应商银行名称
	private String bankSubjectid = " ";		// 退款银行
	private String bankSubjectidName = " ";		// 退款银行name
	private String noteType = " ";		// 票据种类
	private String noteTypeName = " ";		// 票据种类name
	private String noteId = " ";		// 票据号
	private BigDecimal amount = new BigDecimal("0");		// 退款金额
	private BigDecimal bankFee = new BigDecimal("0");		// 银行手续费
	private String currencyId = " ";		// 币种
	private String currencyIdName = " ";		// 币种name
	private BigDecimal currencyRate = new BigDecimal("0");		// 汇率
	private String refundReason = " ";		// 退款说明
	private String redFlag = " ";		// 红冲标记
	private String redFlagName = " ";		// 红冲标记name
	private String originSettleId = " ";		// 红冲清单号
	private String factStatus = " ";		// 实收状态
	private Date factDate;	// 实收日期
	private Date forecastDate;	// 预计实收日
	private String accountStatus = " ";		// 记帐状态
	private String accountStatusName = " ";		// 记帐状态name
	private String voucherId = " ";		// 凭证号
	private String periodId = " ";		// 期间编号
	private Long noteCounts = new Long(0);	// 票据张数
	private String modiPerson = " ";		// 更新人
	private Date modiDate;	// 更新时间
	private String companyCode = "";
	private String accountId = "";
	private String voucherDate = " "; //凭证日期
	

	/**
	 * @return the voucherDate
	 */
	public String getVoucherDate() {
		return voucherDate;
	}
	/**
	 * @param voucherDate the voucherDate to set
	 */
	public void setVoucherDate(String voucherDate) {
		this.voucherDate = voucherDate;
	}
	/**
	 * @return the accountId
	 */
	public String getAccountId() {
		return accountId;
	}
	/**
	 * @param accountId the accountId to set
	 */
	public void setAccountId(String accountId) {
		this.accountId = accountId;
	}
	/**
	 * initialize the metadata 
	 */
	public void initMetaData() {
		EiColumn eiColumn;
		
	eiColumn = new EiColumn("segNo");
	eiColumn.setPrimaryKey(true);
	eiColumn.setFieldLength(20);	
	eiColumn.setDescName("业务单元代码");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("companyCode");
	eiColumn.setPrimaryKey(true);
	eiColumn.setFieldLength(20);	
	eiColumn.setDescName("帐套");
	eiMetadata.addMeta(eiColumn);	
	
	eiColumn = new EiColumn("accsetNo");
	eiColumn.setPrimaryKey(true);
	eiColumn.setType("N");
	eiColumn.setScaleLength(0);
	eiColumn.setFieldLength(11);
	eiColumn.setDescName("帐套序号");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("refundId");
	eiColumn.setPrimaryKey(true);
	eiColumn.setFieldLength(20);	
	eiColumn.setDescName("退款管理号");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("refundDate");
	eiColumn.setDescName("退款日期");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("refundType");
	eiColumn.setFieldLength(2);	
	eiColumn.setDescName("退款类型");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("providerId");
	eiColumn.setFieldLength(10);	
	eiColumn.setDescName("供应商代码");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("bankAccNum");
	eiColumn.setFieldLength(30);	
	eiColumn.setDescName("供应商银行帐号");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("bankAccName");
	eiColumn.setFieldLength(100);	
	eiColumn.setDescName("供应商银行名称");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("bankSubjectid");
	eiColumn.setFieldLength(13);	
	eiColumn.setDescName("退款银行");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("noteType");
	eiColumn.setFieldLength(10);	
	eiColumn.setDescName("票据种类");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("noteId");
	eiColumn.setFieldLength(20);	
	eiColumn.setDescName("票据号");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("amount");
	eiColumn.setType("N");
	eiColumn.setScaleLength(2);
	eiColumn.setFieldLength(14);
	eiColumn.setDescName("退款金额");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("bankFee");
	eiColumn.setType("N");
	eiColumn.setScaleLength(2);
	eiColumn.setFieldLength(14);
	eiColumn.setDescName("银行手续费");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("currencyId");
	eiColumn.setFieldLength(2);	
	eiColumn.setDescName("币种");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("currencyRate");
	eiColumn.setType("N");
	eiColumn.setScaleLength(8);
	eiColumn.setFieldLength(12);
	eiColumn.setDescName("汇率");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("refundReason");
	eiColumn.setFieldLength(200);	
	eiColumn.setDescName("退款说明");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("redFlag");
	eiColumn.setFieldLength(1);	
	eiColumn.setDescName("红冲标记");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("originSettleId");
	eiColumn.setFieldLength(20);	
	eiColumn.setDescName("红冲清单号");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("factStatus");
	eiColumn.setFieldLength(2);	
	eiColumn.setDescName("实收状态");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("factDate");
	eiColumn.setDescName("实收日期");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("forecastDate");
	eiColumn.setDescName("预计实收日");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("accountStatus");
	eiColumn.setFieldLength(1);	
	eiColumn.setDescName("记帐状态");
	eiMetadata.addMeta(eiColumn);

	eiColumn = new EiColumn("accountStatusName");
	eiColumn.setFieldLength(10);	
	eiColumn.setDescName("记帐状态名称");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("voucherId");
	eiColumn.setFieldLength(9);	
	eiColumn.setDescName("凭证号");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("periodId");
	eiColumn.setFieldLength(6);	
	eiColumn.setDescName("期间编号");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("noteCounts");
	eiColumn.setType("N");
	eiColumn.setScaleLength(0);
	eiColumn.setFieldLength(11);
	eiColumn.setDescName("票据张数");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("modiPerson");
	eiColumn.setFieldLength(30);	
	eiColumn.setDescName("更新人");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("modiDate");
	eiColumn.setDescName("更新时间");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("providerName");
	eiColumn.setDescName("供应商名称");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("redFlagName");
	eiColumn.setDescName("红冲标记");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("bankSubjectidName");
	eiColumn.setDescName("退款银行");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("refundName");
	eiColumn.setDescName("退款类型");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("noteTypeName");
	eiColumn.setDescName("票据类型");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("currencyIdName");
	eiColumn.setDescName("币种");
	eiMetadata.addMeta(eiColumn);
	

	}
	/**
	 * the constructor
	 */
	public STCW0201() {
		initMetaData();
	}
	
	/**
	 * get the segNo - 业务单元代码
	 * @return the segNo
	 */
	public String getSegNo() {
		return this.segNo;
	}
	
	/**
	 * set the segNo - 业务单元代码
	 */
	public void setSegNo(String segNo) {
		this.segNo = segNo;
	}
	
	/**
	 * get the accsetNo - 帐套序号
	 * @return the accsetNo
	 */
	public Long getAccsetNo() {
		return this.accsetNo;
	}
	
	/**
	 * set the accsetNo - 帐套序号
	 */
	public void setAccsetNo(Long accsetNo) {
		this.accsetNo = accsetNo;
	}
	
	/**
	 * get the refundId - 退款管理号
	 * @return the refundId
	 */
	public String getRefundId() {
		return this.refundId;
	}
	
	/**
	 * set the refundId - 退款管理号
	 */
	public void setRefundId(String refundId) {
		this.refundId = refundId;
	}
	
	/**
	 * get the refundDate - 退款日期
	 * @return the refundDate
	 */
	public Date getRefundDate() {
		return this.refundDate;
	}
	
	/**
	 * set the refundDate - 退款日期
	 */
	public void setRefundDate(Date refundDate) {
		this.refundDate = refundDate;
	}
	
	/**
	 * get the refundType - 退款类型
	 * @return the refundType
	 */
	public String getRefundType() {
		return this.refundType;
	}
	
	/**
	 * set the refundType - 退款类型
	 */
	public void setRefundType(String refundType) {
		this.refundType = refundType;
	}
	
	/**
	 * get the providerId - 供应商代码
	 * @return the providerId
	 */
	public String getProviderId() {
		return this.providerId;
	}
	
	/**
	 * set the providerId - 供应商代码
	 */
	public void setProviderId(String providerId) {
		this.providerId = providerId;
	}
	
	/**
	 * get the bankAccNum - 供应商银行帐号
	 * @return the bankAccNum
	 */
	public String getBankAccNum() {
		return this.bankAccNum;
	}
	
	/**
	 * set the bankAccNum - 供应商银行帐号
	 */
	public void setBankAccNum(String bankAccNum) {
		this.bankAccNum = bankAccNum;
	}
	
	/**
	 * get the bankAccName - 供应商银行名称
	 * @return the bankAccName
	 */
	public String getBankAccName() {
		return this.bankAccName;
	}
	
	/**
	 * set the bankAccName - 供应商银行名称
	 */
	public void setBankAccName(String bankAccName) {
		this.bankAccName = bankAccName;
	}
	
	/**
	 * get the bankSubjectid - 退款银行
	 * @return the bankSubjectid
	 */
	public String getBankSubjectid() {
		return this.bankSubjectid;
	}
	
	/**
	 * set the bankSubjectid - 退款银行
	 */
	public void setBankSubjectid(String bankSubjectid) {
		this.bankSubjectid = bankSubjectid;
	}
	
	/**
	 * get the noteType - 票据种类
	 * @return the noteType
	 */
	public String getNoteType() {
		return this.noteType;
	}
	
	/**
	 * set the noteType - 票据种类
	 */
	public void setNoteType(String noteType) {
		this.noteType = noteType;
	}
	
	/**
	 * get the noteId - 票据号
	 * @return the noteId
	 */
	public String getNoteId() {
		return this.noteId;
	}
	
	/**
	 * set the noteId - 票据号
	 */
	public void setNoteId(String noteId) {
		this.noteId = noteId;
	}
	
	/**
	 * get the amount - 退款金额
	 * @return the amount
	 */
	public BigDecimal getAmount() {
		return this.amount;
	}
	
	/**
	 * set the amount - 退款金额
	 */
	public void setAmount(BigDecimal amount) {
		this.amount = amount;
	}
	
	/**
	 * get the bankFee - 银行手续费
	 * @return the bankFee
	 */
	public BigDecimal getBankFee() {
		return this.bankFee;
	}
	
	/**
	 * set the bankFee - 银行手续费
	 */
	public void setBankFee(BigDecimal bankFee) {
		this.bankFee = bankFee;
	}
	
	/**
	 * get the currencyId - 币种
	 * @return the currencyId
	 */
	public String getCurrencyId() {
		return this.currencyId;
	}
	
	/**
	 * set the currencyId - 币种
	 */
	public void setCurrencyId(String currencyId) {
		this.currencyId = currencyId;
	}
	
	/**
	 * get the currencyRate - 汇率
	 * @return the currencyRate
	 */
	public BigDecimal getCurrencyRate() {
		return this.currencyRate;
	}
	
	/**
	 * set the currencyRate - 汇率
	 */
	public void setCurrencyRate(BigDecimal currencyRate) {
		this.currencyRate = currencyRate;
	}
	
	/**
	 * get the refundReason - 退款说明
	 * @return the refundReason
	 */
	public String getRefundReason() {
		return this.refundReason;
	}
	
	/**
	 * set the refundReason - 退款说明
	 */
	public void setRefundReason(String refundReason) {
		this.refundReason = refundReason;
	}
	
	/**
	 * get the redFlag - 红冲标记
	 * @return the redFlag
	 */
	public String getRedFlag() {
		return this.redFlag;
	}
	
	/**
	 * set the redFlag - 红冲标记
	 */
	public void setRedFlag(String redFlag) {
		this.redFlag = redFlag;
	}
	
	/**
	 * get the originSettleId - 红冲清单号
	 * @return the originSettleId
	 */
	public String getOriginSettleId() {
		return this.originSettleId;
	}
	
	/**
	 * set the originSettleId - 红冲清单号
	 */
	public void setOriginSettleId(String originSettleId) {
		this.originSettleId = originSettleId;
	}
	
	/**
	 * get the factStatus - 实收状态
	 * @return the factStatus
	 */
	public String getFactStatus() {
		return this.factStatus;
	}
	
	/**
	 * set the factStatus - 实收状态
	 */
	public void setFactStatus(String factStatus) {
		this.factStatus = factStatus;
	}
	
	/**
	 * get the factDate - 实收日期
	 * @return the factDate
	 */
	public Date getFactDate() {
		return this.factDate;
	}
	
	/**
	 * set the factDate - 实收日期
	 */
	public void setFactDate(Date factDate) {
		this.factDate = factDate;
	}
	
	/**
	 * get the forecastDate - 预计实收日
	 * @return the forecastDate
	 */
	public Date getForecastDate() {
		return this.forecastDate;
	}
	
	/**
	 * set the forecastDate - 预计实收日
	 */
	public void setForecastDate(Date forecastDate) {
		this.forecastDate = forecastDate;
	}
	
	/**
	 * get the accountStatus - 记帐状态
	 * @return the accountStatus
	 */
	public String getAccountStatus() {
		return this.accountStatus;
	}
	
	/**
	 * set the accountStatus - 记帐状态
	 */
	public void setAccountStatus(String accountStatus) {
		this.accountStatus = accountStatus;
	}
	
	/**
	 * get the voucherId - 凭证号
	 * @return the voucherId
	 */
	public String getVoucherId() {
		return this.voucherId;
	}
	
	/**
	 * set the voucherId - 凭证号
	 */
	public void setVoucherId(String voucherId) {
		this.voucherId = voucherId;
	}
	
	/**
	 * get the periodId - 期间编号
	 * @return the periodId
	 */
	public String getPeriodId() {
		return this.periodId;
	}
	
	/**
	 * set the periodId - 期间编号
	 */
	public void setPeriodId(String periodId) {
		this.periodId = periodId;
	}
	
	/**
	 * get the noteCounts - 票据张数
	 * @return the noteCounts
	 */
	public Long getNoteCounts() {
		return this.noteCounts;
	}
	
	/**
	 * set the noteCounts - 票据张数
	 */
	public void setNoteCounts(Long noteCounts) {
		this.noteCounts = noteCounts;
	}
	
	/**
	 * get the modiPerson - 更新人
	 * @return the modiPerson
	 */
	public String getModiPerson() {
		return this.modiPerson;
	}
	
	/**
	 * set the modiPerson - 更新人
	 */
	public void setModiPerson(String modiPerson) {
		this.modiPerson = modiPerson;
	}
	
	/**
	 * get the modiDate - 更新时间
	 * @return the modiDate
	 */
	public Date getModiDate() {
		return this.modiDate;
	}
	
	/**
	 * set the modiDate - 更新时间
	 */
	public void setModiDate(Date modiDate) {
		this.modiDate = modiDate;
	}
	
	/**
	 * get the value from Map
	 */
	public void fromMap(Map map) {
	
		setSegNo(StringUtils.defaultIfEmpty(((String)map.get("segNo")), segNo));
		setAccsetNo(NumberUtils.toLong(((String)map.get("accsetNo")), accsetNo));
		setRefundId(StringUtils.defaultIfEmpty(((String)map.get("refundId")), refundId));
		setRefundDate(DateUtils.toDate((String)map.get("refundDate")));
		setRefundType(StringUtils.defaultIfEmpty(((String)map.get("refundType")), refundType));
		setProviderId(StringUtils.defaultIfEmpty(((String)map.get("providerId")), providerId));
		setBankAccNum(StringUtils.defaultIfEmpty(((String)map.get("bankAccNum")), bankAccNum));
		setBankAccName(StringUtils.defaultIfEmpty(((String)map.get("bankAccName")), bankAccName));
		setBankSubjectid(StringUtils.defaultIfEmpty(((String)map.get("bankSubjectid")), bankSubjectid));
		setNoteType(StringUtils.defaultIfEmpty(((String)map.get("noteType")), noteType));
		setNoteId(StringUtils.defaultIfEmpty(((String)map.get("noteId")), noteId));
		setAmount(NumberUtils.toBigDecimal(((String)map.get("amount")), amount));
		setBankFee(NumberUtils.toBigDecimal(((String)map.get("bankFee")), bankFee));
		setCurrencyId(StringUtils.defaultIfEmpty(((String)map.get("currencyId")), currencyId));
		setCurrencyRate(NumberUtils.toBigDecimal(((String)map.get("currencyRate")), currencyRate));
		setRefundReason(StringUtils.defaultIfEmpty(((String)map.get("refundReason")), refundReason));
		setRedFlag(StringUtils.defaultIfEmpty(((String)map.get("redFlag")), redFlag));
		setOriginSettleId(StringUtils.defaultIfEmpty(((String)map.get("originSettleId")), originSettleId));
		setFactStatus(StringUtils.defaultIfEmpty(((String)map.get("factStatus")), factStatus));
		setFactDate(DateUtils.toDate((String)map.get("factDate")));
		setForecastDate(DateUtils.toDate((String)map.get("forecastDate")));
		setAccountStatus(StringUtils.defaultIfEmpty(((String)map.get("accountStatus")), accountStatus));
		setVoucherId(StringUtils.defaultIfEmpty(((String)map.get("voucherId")), voucherId));
		setPeriodId(StringUtils.defaultIfEmpty(((String)map.get("periodId")), periodId));
		setNoteCounts(NumberUtils.toLong(((String)map.get("noteCounts")), noteCounts));
		setModiPerson(StringUtils.defaultIfEmpty(((String)map.get("modiPerson")), modiPerson));
		setModiDate(DateUtils.toDate((String)map.get("modiDate")));
		setBankSubjectidName(StringUtils.defaultIfEmpty(((String)map.get("bankSubjectidName")), bankSubjectidName));
		setCurrencyIdName(StringUtils.defaultIfEmpty(((String)map.get("currencyIdName")), currencyIdName));
		setNoteTypeName(StringUtils.defaultIfEmpty(((String)map.get("noteTypeName")), noteTypeName));
		setProviderName(StringUtils.defaultIfEmpty(((String)map.get("providerName")), providerName));
		setRedFlagName(StringUtils.defaultIfEmpty(((String)map.get("redFlagName")), redFlagName));
		setRefundName(StringUtils.defaultIfEmpty(((String)map.get("refundName")), refundName));
		setAccountStatusName(StringUtils.defaultIfEmpty(((String)map.get("accountStatusName")), accountStatusName));
		setCompanyCode(StringUtils.defaultIfEmpty(((String)map.get("companyCode")), companyCode));
	}
	
	/**
	 * set the value to Map
	 */
	public Map toMap() {
		
		Map map = new HashMap();
			map.put("segNo",StringUtils.toString(segNo, eiMetadata.getMeta("segNo").getFieldLength(), eiMetadata.getMeta("segNo").getScaleLength()));	
			map.put("accsetNo",StringUtils.toString(accsetNo, eiMetadata.getMeta("accsetNo").getFieldLength(), eiMetadata.getMeta("accsetNo").getScaleLength()));	
			map.put("refundId",StringUtils.toString(refundId, eiMetadata.getMeta("refundId").getFieldLength(), eiMetadata.getMeta("refundId").getScaleLength()));	
			map.put("refundDate",StringUtils.toString(refundDate, eiMetadata.getMeta("refundDate").getFieldLength(), eiMetadata.getMeta("refundDate").getScaleLength()));	
			map.put("refundType",StringUtils.toString(refundType, eiMetadata.getMeta("refundType").getFieldLength(), eiMetadata.getMeta("refundType").getScaleLength()));	
			map.put("providerId",StringUtils.toString(providerId, eiMetadata.getMeta("providerId").getFieldLength(), eiMetadata.getMeta("providerId").getScaleLength()));	
			map.put("bankAccNum",StringUtils.toString(bankAccNum, eiMetadata.getMeta("bankAccNum").getFieldLength(), eiMetadata.getMeta("bankAccNum").getScaleLength()));	
			map.put("bankAccName",StringUtils.toString(bankAccName, eiMetadata.getMeta("bankAccName").getFieldLength(), eiMetadata.getMeta("bankAccName").getScaleLength()));	
			map.put("bankSubjectid",StringUtils.toString(bankSubjectid, eiMetadata.getMeta("bankSubjectid").getFieldLength(), eiMetadata.getMeta("bankSubjectid").getScaleLength()));	
			map.put("noteType",StringUtils.toString(noteType, eiMetadata.getMeta("noteType").getFieldLength(), eiMetadata.getMeta("noteType").getScaleLength()));	
			map.put("noteId",StringUtils.toString(noteId, eiMetadata.getMeta("noteId").getFieldLength(), eiMetadata.getMeta("noteId").getScaleLength()));	
			map.put("amount",StringUtils.toString(amount, eiMetadata.getMeta("amount").getFieldLength(), eiMetadata.getMeta("amount").getScaleLength()));	
			map.put("bankFee",StringUtils.toString(bankFee, eiMetadata.getMeta("bankFee").getFieldLength(), eiMetadata.getMeta("bankFee").getScaleLength()));	
			map.put("currencyId",StringUtils.toString(currencyId, eiMetadata.getMeta("currencyId").getFieldLength(), eiMetadata.getMeta("currencyId").getScaleLength()));	
			map.put("currencyRate",StringUtils.toString(currencyRate, eiMetadata.getMeta("currencyRate").getFieldLength(), eiMetadata.getMeta("currencyRate").getScaleLength()));	
			map.put("refundReason",StringUtils.toString(refundReason, eiMetadata.getMeta("refundReason").getFieldLength(), eiMetadata.getMeta("refundReason").getScaleLength()));	
			map.put("redFlag",StringUtils.toString(redFlag, eiMetadata.getMeta("redFlag").getFieldLength(), eiMetadata.getMeta("redFlag").getScaleLength()));	
			map.put("originSettleId",StringUtils.toString(originSettleId, eiMetadata.getMeta("originSettleId").getFieldLength(), eiMetadata.getMeta("originSettleId").getScaleLength()));	
			map.put("factStatus",StringUtils.toString(factStatus, eiMetadata.getMeta("factStatus").getFieldLength(), eiMetadata.getMeta("factStatus").getScaleLength()));	
			map.put("factDate",StringUtils.toString(factDate, eiMetadata.getMeta("factDate").getFieldLength(), eiMetadata.getMeta("factDate").getScaleLength()));	
			map.put("forecastDate",StringUtils.toString(forecastDate, eiMetadata.getMeta("forecastDate").getFieldLength(), eiMetadata.getMeta("forecastDate").getScaleLength()));	
			map.put("accountStatus",StringUtils.toString(accountStatus, eiMetadata.getMeta("accountStatus").getFieldLength(), eiMetadata.getMeta("accountStatus").getScaleLength()));	
			map.put("voucherId",StringUtils.toString(voucherId, eiMetadata.getMeta("voucherId").getFieldLength(), eiMetadata.getMeta("voucherId").getScaleLength()));	
			map.put("periodId",StringUtils.toString(periodId, eiMetadata.getMeta("periodId").getFieldLength(), eiMetadata.getMeta("periodId").getScaleLength()));	
			map.put("noteCounts",StringUtils.toString(noteCounts, eiMetadata.getMeta("noteCounts").getFieldLength(), eiMetadata.getMeta("noteCounts").getScaleLength()));	
			map.put("modiPerson",StringUtils.toString(modiPerson, eiMetadata.getMeta("modiPerson").getFieldLength(), eiMetadata.getMeta("modiPerson").getScaleLength()));	
			map.put("modiDate",StringUtils.toString(modiDate, eiMetadata.getMeta("modiDate").getFieldLength(), eiMetadata.getMeta("modiDate").getScaleLength()));
			map.put("bankSubjectidName",StringUtils.toString(bankSubjectidName, eiMetadata.getMeta("bankSubjectidName").getFieldLength(), eiMetadata.getMeta("bankSubjectidName").getScaleLength()));
			map.put("currencyIdName",StringUtils.toString(currencyIdName, eiMetadata.getMeta("currencyIdName").getFieldLength(), eiMetadata.getMeta("currencyIdName").getScaleLength()));
			map.put("noteTypeName",StringUtils.toString(noteTypeName, eiMetadata.getMeta("noteTypeName").getFieldLength(), eiMetadata.getMeta("noteTypeName").getScaleLength()));
			map.put("providerName",StringUtils.toString(providerName, eiMetadata.getMeta("providerName").getFieldLength(), eiMetadata.getMeta("providerName").getScaleLength()));
			map.put("redFlagName",StringUtils.toString(redFlagName, eiMetadata.getMeta("redFlagName").getFieldLength(), eiMetadata.getMeta("redFlagName").getScaleLength()));
			map.put("refundName",StringUtils.toString(refundName, eiMetadata.getMeta("refundName").getFieldLength(), eiMetadata.getMeta("refundName").getScaleLength()));
			map.put("accountStatusName",StringUtils.toString(accountStatusName, eiMetadata.getMeta("accountStatusName").getFieldLength(), eiMetadata.getMeta("accountStatusName").getScaleLength()));
			map.put("companyCode",StringUtils.toString(companyCode, eiMetadata.getMeta("companyCode").getFieldLength(), eiMetadata.getMeta("companyCode").getScaleLength()));
			
		return map;
	
	}
	public String getBankSubjectidName() {
		return bankSubjectidName;
	}
	public void setBankSubjectidName(String bankSubjectidName) {
		this.bankSubjectidName = bankSubjectidName;
	}
	public String getCurrencyIdName() {
		return currencyIdName;
	}
	public void setCurrencyIdName(String currencyIdName) {
		this.currencyIdName = currencyIdName;
	}
	public String getNoteTypeName() {
		return noteTypeName;
	}
	public void setNoteTypeName(String noteTypeName) {
		this.noteTypeName = noteTypeName;
	}
	public String getProviderName() {
		return providerName;
	}
	public void setProviderName(String providerName) {
		this.providerName = providerName;
	}
	public String getRedFlagName() {
		return redFlagName;
	}
	public void setRedFlagName(String redFlagName) {
		this.redFlagName = redFlagName;
	}
	public String getRefundName() {
		return refundName;
	}
	public void setRefundName(String refundName) {
		this.refundName = refundName;
	}
	public String getAccountStatusName() {
		return accountStatusName;
	}
	public void setAccountStatusName(String accountStatusName) {
		this.accountStatusName = accountStatusName;
	}
	public String getCompanyCode() {
		return companyCode;
	}
	public void setCompanyCode(String companyCode) {
		this.companyCode = companyCode;
	}	
}