abstractcategory.java

来自「struts+spring+hibernate例子」· Java 代码 · 共 46 行

JAVA
46
字号
package com.shop.entity;

public class AbstractCategory{
	private Integer id;
	private String cname;
	private Integer attentionCount;
	
	public AbstractCategory(){}
	
	public AbstractCategory(Integer id , String cname){
		this.id = id;
		this.cname = cname;
	}
	
	public AbstractCategory(Integer id , String cname ,Integer attentionCount){
		this.id = id;
		this.cname = cname;
		this.attentionCount = attentionCount;
	}
	
	public Integer getAttentionCount() {
		return attentionCount;
	}

	public void setAttentionCount(Integer attentionCount) {
		this.attentionCount = attentionCount;
	}

	public Integer getId() {
		return id;
	}

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

	public String getCname() {
		return cname;
	}

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

⌨️ 快捷键说明

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