invoice.java

来自「用Struts+hibernate写的宠物医院」· Java 代码 · 共 98 行

JAVA
98
字号
package com.sean.pet.hibernate.po;

import java.util.Date;

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

public class Invoice implements java.io.Serializable {

	// Fields

	private String id;
	private Pet pet;
	private Treatment treatment;
	private Date invtime;
	private Date zftime;
	private String zftype;
	private Double invmoney;

	// Constructors

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

	/** full constructor */
	public Invoice(Pet pet, Treatment treatment, Date invtime, Date zftime,
			String zftype, Double invmoney) {
		this.pet = pet;
		this.treatment = treatment;
		this.invtime = invtime;
		this.zftime = zftime;
		this.zftype = zftype;
		this.invmoney = invmoney;
	}

	// Property accessors

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

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

	public Pet getPet() {
		return this.pet;
	}

	public void setPet(Pet pet) {
		this.pet = pet;
	}

	public Treatment getTreatment() {
		return this.treatment;
	}

	public void setTreatment(Treatment treatment) {
		this.treatment = treatment;
	}

	public Date getInvtime() {
		return this.invtime;
	}

	public void setInvtime(Date invtime) {
		this.invtime = invtime;
	}

	public Date getZftime() {
		return this.zftime;
	}

	public void setZftime(Date zftime) {
		this.zftime = zftime;
	}

	public String getZftype() {
		return this.zftype;
	}

	public void setZftype(String zftype) {
		this.zftype = zftype;
	}

	public Double getInvmoney() {
		return this.invmoney;
	}

	public void setInvmoney(Double invmoney) {
		this.invmoney = invmoney;
	}

}

⌨️ 快捷键说明

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