accountbook.java

来自「因为许多人出去吃饭都一个人付帐」· Java 代码 · 共 114 行

JAVA
114
字号
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 + =
减小字号Ctrl + -
显示快捷键?