package com.db.demo.entity;

import jakarta.persistence.EmbeddedId;
import jakarta.persistence.Entity;
import com.db.demo.bean.CompositKeyEmbeddable;

@Entity
public class StudentCourseInfoEmbeddedId {
	
	private String student_name;
	
	@EmbeddedId
	private CompositKeyEmbeddable compositKeyEmbeddable;
	
	private String duration;

	public String getStudent_name() {
		return student_name;
	}

	public void setStudent_name(String student_name) {
		this.student_name = student_name;
	}

	public CompositKeyEmbeddable getCompositKeyEmbeddable() {
		return compositKeyEmbeddable;
	}

	public void setCompositKeyEmbeddable(CompositKeyEmbeddable compositKeyEmbeddable) {
		this.compositKeyEmbeddable = compositKeyEmbeddable;
	}

	public String getDuration() {
		return duration;
	}

	public void setDuration(String duration) {
		this.duration = duration;
	}
	
	


}