25 lines
570 B
Rust
25 lines
570 B
Rust
use std::time::SystemTime;
|
|
|
|
#[repr(i16)]
|
|
#[derive(Debug, Clone, Copy)]
|
|
pub enum Sex {
|
|
UNKNOWN = 0,
|
|
MALE = 1,
|
|
FEMALE = 2,
|
|
OTHER = 9,
|
|
}
|
|
|
|
pub struct Member {
|
|
pub(crate) entity_id: uuid::Uuid,
|
|
pub(crate) users_id: uuid::Uuid,
|
|
pub(crate) firstname: String,
|
|
pub(crate) lastname: String,
|
|
pub(crate) date_of_birth: SystemTime,
|
|
pub(crate) sex: Sex,
|
|
pub(crate) salutation: String,
|
|
pub(crate) place_of_birth: String,
|
|
pub(crate) academic_titles: String,
|
|
pub(crate) personnel_number: i32,
|
|
pub(crate) ui_language: String,
|
|
}
|