Initial commit
This commit is contained in:
@@ -0,0 +1,37 @@
|
||||
package com.pmumali.quarteplus.model;
|
||||
|
||||
import jakarta.persistence.*;
|
||||
import lombok.*;
|
||||
|
||||
import java.time.LocalDateTime;
|
||||
import java.util.List;
|
||||
|
||||
@Entity
|
||||
@Data
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
@Builder
|
||||
@Table(name = "pari_quarte_plus")
|
||||
public class PariQuartePlus {
|
||||
@Id
|
||||
@GeneratedValue(strategy = GenerationType.IDENTITY)
|
||||
private Long id;
|
||||
|
||||
@ManyToOne
|
||||
private Course course;
|
||||
|
||||
@OrderColumn(name = "ordre_cheval")
|
||||
@ManyToMany
|
||||
private List<Cheval> chevauxSelectionnes;
|
||||
|
||||
private Double mise;
|
||||
private LocalDateTime heurePari;
|
||||
|
||||
@Enumerated(EnumType.STRING)
|
||||
private TypePari typePari;
|
||||
|
||||
@ManyToOne
|
||||
private Parieur parieur;
|
||||
|
||||
private Boolean validationOrdreExact;
|
||||
}
|
||||
Reference in New Issue
Block a user