abractsection.java

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

JAVA
135
字号
//Source file: D:\\tarena\\data\\AbractSection.java

package tarena.data;

	/**
	 * 版块抽象类
	 */
public class AbractSection {

	/**
	 * 分类ID
	 */
	private Integer id;

	/**
	 * 分类名称
	 */
	private String name;


	/**
	 * 类型
	 */
	private Integer type;

	/**
	 * 分类图片的地址
	 */
	private String photo;

	/**
	 * 父类id
	 */
	private Integer pid;

	private Integer productnum;
	
	private AbstractReply reply;
	
	
	/**
	 * @roseuid 4908234700DA
	 */
	public AbractSection() {

	}	
		
	
	
	public AbractSection(Integer id, String name) {
		super();
		this.id = id;
		this.name = name;
	}


	public AbractSection(Integer id, String name, Integer productnum) {
		super();
		this.id = id;
		this.name = name;
		this.productnum = productnum;
	}

	public Integer getId() {
		return id;
	}

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

	public String getName() {
		return name;
	}

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

	public String getPhoto() {
		return photo;
	}

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

	public Integer getPid() {
		return pid;
	}

	public void setPid(Integer pid) {
		this.pid = pid;
	}

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}



	public Integer getProductnum() {
		return productnum;
	}



	public void setProductnum(Integer productnum) {
		this.productnum = productnum;
	}



	public AbstractReply getReply() {
		return reply;
	}



	public void setReply(AbstractReply reply) {
		this.reply = reply;
	}



	

	
	
}

⌨️ 快捷键说明

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