📄 dept.java
字号:
package org.yeeku.model;
import java.io.*;
import org.yeeku.model.*;
import java.util.*;
/**
* @author yeeku.H.lee kongyeeku@163.com
* @version 1.0
* <br>Copyright (C), 2005-2008, yeeku.H.Lee
* <br>This program is protected by copyright laws.
* <br>Program Name:
* <br>Date:
*/
public class Dept implements Serializable
{
private int deptId;
private String deptName;
private String description;
private Set<Income> incomes = new HashSet<Income>();
private Set<BillItem> billItems = new HashSet<BillItem>();
public Dept()
{
}
public Dept(String deptName , String description)
{
this.deptName = deptName;
this.description = description;
}
public void setDeptId(int deptId)
{
this.deptId = deptId;
}
public int getDeptId()
{
return deptId;
}
public void setDeptName(String deptName)
{
this.deptName = deptName;
}
public String getDeptName()
{
return deptName;
}
public void setDescription(String description)
{
this.description = description;
}
public String getDescription()
{
return description;
}
public void setIncomes(Set<Income> incomes)
{
this.incomes = incomes;
}
public Set<Income> getIncomes()
{
return incomes;
}
public void setBillItems(Set<BillItem> billItems)
{
this.billItems = billItems;
}
public Set<BillItem> getBillItems()
{
return billItems;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -