📄 abstractcategory.java
字号:
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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -