Skip to content

gretelcanasa/mostrar_matriculados

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

package com.example.dominio;

import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import javax.persistence.SequenceGenerator;

@Entity public class Matricula { @Id @SequenceGenerator(name = "Matricula_ID_GENERATOR", sequenceName = "Matricula_ID_SEQ") @GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "Matricula_ID_GENERATOR") public Integer id; public Integer alumno_codigo; public Integer curso_codigo; public Matricula(){ } public Matricula(Integer alumno_codigo, Integer curso_codigo) { this.alumno_codigo = alumno_codigo; this.curso_codigo = curso_codigo; } }

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages