Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package it.unibo.tw.hibernate;
- import java.io.Serializable;
- public class SCMapping implements Serializable {
- private static final long serialVersionUID = 1L;
- private Course course;
- private Student student;
- public SCMapping() {
- this.course=new Course();
- this.student= new Student();
- }
- public Course getCourse() {
- return course;
- }
- public void setCourse(Course course) {
- this.course = course;
- }
- public Student getStudent() {
- return student;
- }
- public void setStudent(Student student) {
- this.student = student;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement