首页>代码>java学籍后台管理系统>/SchoolRollSystem/src/com/two/studentRoll/model/Degree.java
package com.two.studentRoll.model;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 学历信息
 * 
 * @author The bird is my most loving smile
 * @version 1.0
 * @created 19-二月-2014 13:36:50
 */
@Entity
@Table(name = "t_degree")
public class Degree {

	/**
	 * OID
	 */
	@Id
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	@Column(name = "pk_id")
	private int id;

	/**
	 * 学历名称
	 */
	@Column(name = "f_name")
	private String degreeName;

	/**
	 * 学历状态
	 * 
	 */
	@Column(name = "f_state")
	private String state;

	public Degree(String degreeName, String state) {
		super();
		this.degreeName = degreeName;
		this.state = state;
	}

	public int getId() {
		return id;
	}

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

	public Degree() {
		super();
		// TODO Auto-generated constructor stub
	}

	public String getDegreeName() {
		return degreeName;
	}

	public void setDegreeName(String degreeName) {
		this.degreeName = degreeName;
	}

	public String getState() {
		return state;
	}

	public void setState(String state) {
		this.state = state;
	}

	@Override
	public String toString() {
		return "Degree [id=" + id + ", degreeName=" + degreeName + ", state="
				+ state + "]";
	}

}
最近下载更多
lyh1974  LV1 2024年12月24日
asddwh  LV13 2023年12月26日
政政123456  LV3 2023年12月10日
fesfefe  LV13 2023年9月14日
mayong1234  LV6 2023年6月14日
1455384106  LV2 2023年5月8日
康日澜  LV9 2023年3月22日
linmou  LV8 2023年3月13日
asdadd  LV1 2022年12月19日
番茄and番茄1  LV1 2022年11月20日
最近浏览更多
人间蒸发  LV23 4月24日
lyh1974  LV1 2024年12月24日
ma406805131  LV19 2024年12月24日
black8angel  LV4 2024年11月13日
shunlun8855  LV1 2024年10月29日
linhua  LV1 2024年10月11日
暂无贡献等级
暂无贡献等级
123456cjj  LV1 2024年6月2日
dfvbhjksdfh  LV1 2024年5月29日
顶部 客服 微信二维码 底部
>扫描二维码关注最代码为好友扫描二维码关注最代码为好友