Fin intégration quinte plus

This commit is contained in:
sidibe
2025-08-26 17:55:28 +00:00
parent 69b0fad8e8
commit dc771d8cd8
217 changed files with 4175 additions and 1224 deletions

View File

@@ -0,0 +1,29 @@
package com.pmumali.ch10_multi.model;
import jakarta.persistence.*;
import lombok.*;
import java.time.LocalDateTime;
import java.util.List;
@Entity
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
@Table(name = "course")
public class Course {
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Long id;
private String nom;
private LocalDateTime heureCourse;
private Integer nombreChevauxPartants;
@OneToMany
private List<Cheval> chevaux;
@Enumerated(EnumType.STRING)
private StatutCourse statut;
}