⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 debtvo.java

📁 培训时做的学生管理系统.基于J2SE平台开发
💻 JAVA
字号:
package cn.com.studentsystem.debt;

import java.io.File;
import java.io.FileWriter;
import java.io.IOException;
import java.io.PrintWriter;

import cn.com.studentsystem.log.Log;

public class DebtVo {
	
	private int itemnumber;
	private String datetime;
	private String moneytype;
	private String actionway;
	private String iomoney;//由原来的int型转换为String
	private String ioperson;
	private String ioreason;
	
	public DebtVo(int itemnumber,String datetime, String moneytype,String actionway,  String iomoney,
			String ioperson, String ioreason) {
		File file = new File("logdiary.txt");
		PrintWriter pw = null;
		try {
			 pw = new PrintWriter(new FileWriter(file,true),true);
		} catch (IOException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
		Log.log("DebtVo", pw, "创建了一个账务簿的值对象");
		this.actionway = actionway;
		this.datetime = datetime;
		this.iomoney = iomoney;
		this.ioperson = ioperson;
		this.ioreason = ioreason;
		this.itemnumber = itemnumber;
		this.moneytype = moneytype;
	}

	public int getItemnumber() {
		return itemnumber;
	}

	public void setItemnumber(int itemnumber) {
		this.itemnumber = itemnumber;
	}

	public String getDatetime() {
		return datetime;
	}

	public void setDatetime(String datetime) {
		this.datetime = datetime;
	}

	public String getMoneytype() {
		return moneytype;
	}

	public void setMoneytype(String moneytype) {
		this.moneytype = moneytype;
	}

	public String getActionway() {
		return actionway;
	}

	public void setActionway(String actionway) {
		this.actionway = actionway;
	}

	public String getIomoney() {
		return iomoney;
	}

	public void setIomoney(String iomoney) {
		this.iomoney = iomoney;
	}

	public String getIoperson() {
		return ioperson;
	}

	public void setIoperson(String ioperson) {
		this.ioperson = ioperson;
	}

	public String getIoreason() {
		return ioreason;
	}

	public void setIoreason(String ioreason) {
		this.ioreason = ioreason;
	}
	
	
	
	

}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -