voteoption.java

来自「网上购物系统」· Java 代码 · 共 65 行

JAVA
65
字号
package tarena.entity;

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

public class Voteoption implements java.io.Serializable {

	// Fields

	private Integer id;
	private Vote vote;
	private String content;
	private Integer ballot;

	// Constructors

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

	/** full constructor */
	public Voteoption(Vote vote, String content, Integer ballot) {
		this.vote = vote;
		this.content = content;
		this.ballot = ballot;
	}

	// Property accessors

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

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

	public Vote getVote() {
		return this.vote;
	}

	public void setVote(Vote vote) {
		this.vote = vote;
	}

	public String getContent() {
		return this.content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public Integer getBallot() {
		return this.ballot;
	}

	public void setBallot(Integer ballot) {
		this.ballot = ballot;
	}

}

⌨️ 快捷键说明

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