48 lines
862 B
Java
48 lines
862 B
Java
package fr.titionfire.ffsaf.data.model;
|
|
|
|
import fr.titionfire.ffsaf.utils.RoleAsso;
|
|
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 state_id;
|
|
String address;
|
|
String contact;
|
|
|
|
String m1_lname;
|
|
String m1_fname;
|
|
String m1_email;
|
|
int m1_lincence;
|
|
RoleAsso m1_role;
|
|
|
|
String m2_lname;
|
|
String m2_fname;
|
|
String m2_email;
|
|
int m2_lincence;
|
|
RoleAsso m2_role;
|
|
|
|
String m3_lname;
|
|
String m3_fname;
|
|
String m3_email;
|
|
int m3_lincence;
|
|
RoleAsso m3_role;
|
|
|
|
int saison;
|
|
}
|