/*
 * MosP - Mind Open Source Project         http://www.mosp.jp/
 * Copyright (C) 1987-2009 MIND Co., Ltd.  http://www.e-mind.co.jp/
 * 
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU General Public License
 * as published by the Free Software Foundation; either version 2
 * of the License, or (at your option) any later version.
 * 
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 * 
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 */
package jp.mosp.payroll.dto;

import java.util.Date;

import jp.mosp.common.common.BaseDto;

public class CashKindListDto extends BaseDto {
	
	private static final long serialVersionUID = 5668557765041475018L;
	//フィールド
	protected String kCode              = "";	// 社員コード
	protected Date   calcDate               ;	// 計算年月
	protected Date   payday                 ;	// 給与支給日
	protected String kName              = "";	// 社員氏名
	protected int    cashAmount         = 0 ;	// 現金支給額
	
	/**
	 * コンストラクタ
	 */
	public CashKindListDto(){
		super();
	}
	
	//アクセサメソッド
	public String getKCode             () { return kCode                 ; }	// 社員コード
	public Date   getCalcDate          () { return getDateField(calcDate); }	// 計算年月
	public Date   getPayday            () { return getDateField(payday  ); }	// 給与支給日
	public String getKName             () { return kName                 ; }	// 社員氏名
	public int    getCashAmount       () { return cashAmount        ; }	    // 現金支給額
	
	public void setKCode             (String kCode             ) { this.kCode              = kCode                 ; }	// 社員コード
	public void setCalcDate          (Date   calcDate          ) { this.calcDate           = getDateField(calcDate); }	// 計算年月
	public void setPayday            (Date   payday            ) { this.payday             = getDateField(payday)  ; }	// 給与支給日
	public void setKName             (String kName             ) { this.kName              = kName                 ; }	// 社員氏名
	public void setCashAmount    (int    cashAmount    ) { this.cashAmount     = cashAmount        ; }	// 現金支給額
}
