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

📄 accountbook.java

📁 因为许多人出去吃饭都一个人付帐
💻 JAVA
字号:
package cn.com.sdcncsi.lunch.balance.domain;

import java.util.Date;
import java.util.HashSet;
import java.util.Set;

import cn.com.sdcncsi.lunch.domain.User;

/**
 * AccountBook entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public class AccountBook implements java.io.Serializable {

	// Fields

	private Integer id;
	private AccountType accountType;
	private User user;
	private Date accountDate;
	private Double accountBill;
	private String paid;
	private Set accountDetails = new HashSet(0);

	// Constructors

	/** default constructor */
	public AccountBook() {
	}

	/** minimal constructor */
	public AccountBook(Integer id, AccountType accountType, User user,
			Date accountDate, Double accountBill) {
		this.id = id;
		this.accountType = accountType;
		this.user = user;
		this.accountDate = accountDate;
		this.accountBill = accountBill;
	}

	/** full constructor */
	public AccountBook(Integer id, AccountType accountType, User user,
			Date accountDate, Double accountBill, String paid,
			Set accountDetails) {
		this.id = id;
		this.accountType = accountType;
		this.user = user;
		this.accountDate = accountDate;
		this.accountBill = accountBill;
		this.paid = paid;
		this.accountDetails = accountDetails;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public AccountType getAccountType() {
		return this.accountType;
	}

	public void setAccountType(AccountType accountType) {
		this.accountType = accountType;
	}

	public User getUser() {
		return this.user;
	}

	public void setUser(User user) {
		this.user = user;
	}

	public Date getAccountDate() {
		return this.accountDate;
	}

	public void setAccountDate(Date accountDate) {
		this.accountDate = accountDate;
	}

	public Double getAccountBill() {
		return this.accountBill;
	}

	public void setAccountBill(Double accountBill) {
		this.accountBill = accountBill;
	}

	public String getPaid() {
		return this.paid;
	}

	public void setPaid(String paid) {
		this.paid = paid;
	}

	public Set getAccountDetails() {
		return this.accountDetails;
	}

	public void setAccountDetails(Set accountDetails) {
		this.accountDetails = accountDetails;
	}

}

⌨️ 快捷键说明

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