Classes.java

 1 package cn.itcast.hiberate.sh.domain;
 2 
 3 import java.io.Serializable;
 4 import java.util.Set;
 5 
 6 public class Classes implements Serializable{
 7     private Long cid;
 8     private String cname;
 9     private String description;
10     
11     public Classes(){}
12     
13     public Classes(String cname,String description){
14         this.cname = cname;
15         this.description = description;
16     }
17     
18     public Long getCid() {
19         return cid;
20     }
21 
22     public void setCid(Long cid) {
23         this.cid = cid;
24     }
25 
26     public String getCname() {
27         return cname;
28     }
29 
30     public void setCname(String cname) {
31         this.cname = cname;
32     }
33 
34     public String getDescription() {
35         return description;
36     }
37 
38     public void setDescription(String description) {
39         this.description = description;
40     }
41 
42     public Set<Student> getStudents() {
43         return students;
44     }
45 
46     public void setStudents(Set<Student> students) {
47         this.students = students;
48     }
49 
50     private Set students;
51 }
View Code

相关文章:

  • 2021-11-14
  • 2022-12-23
  • 2021-08-30
  • 2021-12-04
  • 2021-12-31
  • 2021-10-29
  • 2022-03-02
  • 2022-12-23
猜你喜欢
  • 2021-10-17
  • 2021-10-10
  • 2021-11-28
  • 2022-12-23
  • 2021-12-21
  • 2022-02-02
  • 2021-11-29
相关资源
相似解决方案