package com.example.pojo; import lombok.AllArgsConstructor; import lombok.Data; import lombok.NoArgsConstructor; @Data @NoArgsConstructor @AllArgsConstructor public class Course { private String courseID; private String courseName; private int courseCount; private String courseTeacher; private int count; }
Information
package com.example.pojo; import lombok.AllArgsConstructor; import lombok.Data; import lombok.NoArgsConstructor; @Data @AllArgsConstructor @NoArgsConstructor public class Information { private String courseID; private String teacherID; private String studentID; }
Student
package com.example.pojo; import lombok.AllArgsConstructor; import lombok.Data; import lombok.NoArgsConstructor; @Data @AllArgsConstructor @NoArgsConstructor public class Student { private String studentID; private String studentName; private String studentSex; private String studentClass; private String studentMajor; }
Teacher
package com.example.pojo; import lombok.AllArgsConstructor; import lombok.Data; import lombok.NoArgsConstructor; @Data @AllArgsConstructor @NoArgsConstructor public class Teacher { private String teacherID; private String teacherName; private String teacherSex; private String teacherCollege; private String position; }
User
package com.example.pojo; import lombok.AllArgsConstructor; import lombok.Data; import lombok.NoArgsConstructor; @Data @NoArgsConstructor @AllArgsConstructor public class User { private String userName; private String password; private String position; }标签:String,NoArgsConstructor,private,AllArgsConstructor,12.5,import,lombok From: https://www.cnblogs.com/gjsgjs/p/17912305.html