eeg_certs/backend/src/model/person.rs

12 lines
272 B
Rust
Raw Normal View History

2023-08-25 16:52:03 +00:00
use rocket::serde::Serialize;
#[derive(Serialize)]
#[serde(crate = "rocket::serde")]
pub struct Person {
pub person_id: i32,
pub person_dni: String,
pub person_names: String,
pub person_paternal_surname: String,
pub person_maternal_surname: String,
}