medal.java

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

JAVA
71
字号
package tarena.entity;

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

public class Medal implements java.io.Serializable {

	// Fields

	private Integer id;
	private String medalname;
	private String photo;
	private String description;

	// Constructors

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

	/** minimal constructor */
	public Medal(String medalname, String photo) {
		this.medalname = medalname;
		this.photo = photo;
	}

	/** full constructor */
	public Medal(String medalname, String photo, String description) {
		this.medalname = medalname;
		this.photo = photo;
		this.description = description;
	}

	// Property accessors

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

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

	public String getMedalname() {
		return this.medalname;
	}

	public void setMedalname(String medalname) {
		this.medalname = medalname;
	}

	public String getPhoto() {
		return this.photo;
	}

	public void setPhoto(String photo) {
		this.photo = photo;
	}

	public String getDescription() {
		return this.description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

}

⌨️ 快捷键说明

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