📄 course.java
字号:
package com.briup.bean;import java.util.Set;public class Course { private Long id; private String name; private String description; private int point; private Set<SC> sc; public String getDescription() { return description; } public void setDescription(String description) { this.description = description; } public Long getId() { return id; } public void setId(Long id) { this.id = id; } public String getName() { return name; } public void setName(String name) { this.name = name; } public Set<SC> getSc() { return sc; } public void setSc(Set<SC> sc) { this.sc = sc; } public int getPoint() { return point; } public void setPoint(int point) { this.point = point; } @Override public boolean equals(Object o) { if(o instanceof Course) { Course c = (Course)o; if(c.getId().equals(id)) return true; } return false; }}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -