feat: add affiliation request save
This commit is contained in:
@@ -0,0 +1,43 @@
|
||||
package fr.titionfire.ffsaf.data.model;
|
||||
|
||||
import io.quarkus.runtime.annotations.RegisterForReflection;
|
||||
import jakarta.persistence.*;
|
||||
import lombok.*;
|
||||
|
||||
|
||||
@Getter
|
||||
@Setter
|
||||
@Builder
|
||||
@AllArgsConstructor
|
||||
@NoArgsConstructor
|
||||
@RegisterForReflection
|
||||
|
||||
@Entity
|
||||
@Table(name = "affiliation_request")
|
||||
public class AffiliationRequestModel {
|
||||
@Id
|
||||
@GeneratedValue(strategy = GenerationType.IDENTITY)
|
||||
Long id;
|
||||
|
||||
String name;
|
||||
String siren;
|
||||
String RNA;
|
||||
String address;
|
||||
|
||||
String president_lname;
|
||||
String president_fname;
|
||||
String president_email;
|
||||
int president_lincence;
|
||||
|
||||
String tresorier_lname;
|
||||
String tresorier_fname;
|
||||
String tresorier_email;
|
||||
int tresorier_lincence;
|
||||
|
||||
String secretaire_lname;
|
||||
String secretaire_fname;
|
||||
String secretaire_email;
|
||||
int secretaire_lincence;
|
||||
|
||||
int saison;
|
||||
}
|
||||
Reference in New Issue
Block a user