WebService之CXF注解之一(封装类)

Teacher.java:

/**
 * @Title:Teacher.java
 * @Package:com.you.model
 * @Description:老师封装类
 * @author:Youhaidong(游海东)
 * @date:2014-5-5 下午11:03:13
 * @version V1.0
 */
package com.you.model;

import java.io.Serializable;

/**
 * 类功能说明
 * 类修改者 修改日期
 * 修改说明
 * <p>Title:Teacher.java</p>
 * <p>Description:游海东个人开发</p>
 * <p>Copyright:Copyright(c)2013</p>
 * @author:游海东
 * @date:2014-5-5 下午11:03:13
 * @version V1.0
 */
public class Teacher implements Serializable 
{
	/**
	 * @Fields  serialVersionUID:序列化
	 */
	private static final long serialVersionUID = 1L;
	
	/**
	 * 教师工号
	 */
	private String teacherNum;
	
	/**
	 * 教师姓名
	 */
	private String teacherName;
	
	/**
	 * 教师年龄
	 */
	private String teacherAge;
	
	/**
	 * 教师性别
	 */
	private String teacherSex;
	
	/**
	 * 教师QQ
	 */
	private String teacherQQ;

	/**
	 * @return the teacherNum
	 */
	public String getTeacherNum() {
		return teacherNum;
	}

	/**
	 * @param teacherNum the teacherNum to set
	 */
	public void setTeacherNum(String teacherNum) {
		this.teacherNum = teacherNum;
	}

	/**
	 * @return the teacherName
	 */
	public String getTeacherName() {
		return teacherName;
	}

	/**
	 * @param teacherName the teacherName to set
	 */
	public void setTeacherName(String teacherName) {
		this.teacherName = teacherName;
	}

	/**
	 * @return the teacherAge
	 */
	public String getTeacherAge() {
		return teacherAge;
	}

	/**
	 * @param teacherAge the teacherAge to set
	 */
	public void setTeacherAge(String teacherAge) {
		this.teacherAge = teacherAge;
	}

	/**
	 * @return the teacherSex
	 */
	public String getTeacherSex() {
		return teacherSex;
	}

	/**
	 * @param teacherSex the teacherSex to set
	 */
	public void setTeacherSex(String teacherSex) {
		this.teacherSex = teacherSex;
	}

	/**
	 * @return the teacherQQ
	 */
	public String getTeacherQQ() {
		return teacherQQ;
	}

	/**
	 * @param teacherQQ the teacherQQ to set
	 */
	public void setTeacherQQ(String teacherQQ) {
		this.teacherQQ = teacherQQ;
	}
	
}


WebService之CXF注解之一(封装类),古老的榕树,5-wow.com

郑重声明:本站内容如果来自互联网及其他传播媒体,其版权均属原媒体及文章作者所有。转载目的在于传递更多信息及用于网络分享,并不代表本站赞同其观点和对其真实性负责,也不构成任何其他建议。