Fin intégration jumele place

This commit is contained in:
sidibe
2025-08-28 12:06:42 +00:00
parent d157d4d55a
commit e8d993aeb0
23 changed files with 989 additions and 0 deletions

View File

@@ -0,0 +1,23 @@
package com.pmumali.ch3_jumeleplace.model;
import jakarta.persistence.*;
import lombok.*;
@Entity
@Data
@NoArgsConstructor
@AllArgsConstructor
@Table(name = "cheval")
public class Cheval {
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Long id;
private String nom;
private int numero;
private boolean estNonPartant;
@ManyToOne
@JoinColumn(name = "course_id")
private Course course;
}