首页>代码>java学籍后台管理系统>/SchoolRollSystem/src/com/two/studentRoll/model/ClassStage.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.JoinColumn;
import javax.persistence.ManyToOne;
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_classStage")
public class ClassStage {

	/**
	 * OID
	 */
	@Id
	@GeneratedValue(strategy = GenerationType.AUTO)
	@Column(name = "pk_id")
	private int id;
	/**
	 * 阶段名称
	 */
	@Column(name = "f_name")
	private String name;
	/**
	 * 阶段费用
	 */
	@Column(name = "f_fee")
	private int fee;
	/**
	 * 状态(可用、不可用)
	 */
	@Column(name = "f_state")
	private String state;
	/**
	 * 班级类型
	 */
	@ManyToOne
	@JoinColumn(name = "fk_classType_id")
	private ClassType classType;

	public ClassStage() {

	}

	public int getId() {
		return id;
	}

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

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public int getFee() {
		return fee;
	}

	public void setFee(int fee) {
		this.fee = fee;
	}

	public String getState() {
		return state;
	}

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

	public ClassType getClassType() {
		return classType;
	}

	public void setClassType(ClassType classType) {
		this.classType = classType;
	}

	@Override
	public String toString() {
		return "ClassStage [id=" + id + ", name=" + name + ", fee=" + fee
				+ ", state=" + state + "]";
	}
}
最近下载更多
刘孟飞  LV22 8月27日
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日
康日澜  LV10 2023年3月22日
linmou  LV8 2023年3月13日
asdadd  LV1 2022年12月19日
最近浏览更多
刘孟飞  LV22 8月27日
人间蒸发  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日
顶部 客服 微信二维码 底部
>扫描二维码关注最代码为好友扫描二维码关注最代码为好友