pettreatment.java

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

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

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

public class Pettreatment implements java.io.Serializable {

	// Fields

	private PettreatmentId id;
	private Examination examination;
	private Treatment treatment;

	// Constructors

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

	/** minimal constructor */
	public Pettreatment(PettreatmentId id) {
		this.id = id;
	}

	/** full constructor */
	public Pettreatment(PettreatmentId id, Examination examination,
			Treatment treatment) {
		this.id = id;
		this.examination = examination;
		this.treatment = treatment;
	}

	// Property accessors

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

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

	public Examination getExamination() {
		return this.examination;
	}

	public void setExamination(Examination examination) {
		this.examination = examination;
	}

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

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

}

⌨️ 快捷键说明

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