course.java

来自「基于ssh框架」· Java 代码 · 共 84 行

JAVA
84
字号
package com.zzu.dao.entity;

import java.util.HashSet;
import java.util.Set;

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

public class Course implements java.io.Serializable {

	// Fields

	private String cno;
	private String cname;
	private Short ccredit;
	private Set tcs = new HashSet(0);
	private Set scs = new HashSet(0);

	// Constructors

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

	/** minimal constructor */
	public Course(String cno) {
		this.cno = cno;
	}

	/** full constructor */
	public Course(String cno, String cname, Short ccredit, Set tcs, Set scs) {
		this.cno = cno;
		this.cname = cname;
		this.ccredit = ccredit;
		this.tcs = tcs;
		this.scs = scs;
	}

	// Property accessors

	public String getCno() {
		return this.cno;
	}

	public void setCno(String cno) {
		this.cno = cno;
	}

	public String getCname() {
		return this.cname;
	}

	public void setCname(String cname) {
		this.cname = cname;
	}

	public Short getCcredit() {
		return this.ccredit;
	}

	public void setCcredit(Short ccredit) {
		this.ccredit = ccredit;
	}

	public Set getTcs() {
		return this.tcs;
	}

	public void setTcs(Set tcs) {
		this.tcs = tcs;
	}

	public Set getScs() {
		return this.scs;
	}

	public void setScs(Set scs) {
		this.scs = scs;
	}

}

⌨️ 快捷键说明

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