mirror of
https://github.com/danbulant/Portfolio
synced 2026-06-19 22:41:13 +00:00
feat: birth surname & letter address in csv
This commit is contained in:
parent
79d5a29959
commit
339921a131
2 changed files with 4 additions and 0 deletions
|
|
@ -47,9 +47,11 @@ pub struct ApplicationRow {
|
|||
pub application: i32,
|
||||
pub name: Option<String>,
|
||||
pub surname: Option<String>,
|
||||
pub birth_surname: Option<String>,
|
||||
pub birthplace: Option<String>,
|
||||
pub birthdate: Option<String>,
|
||||
pub address: Option<String>,
|
||||
pub letter_address: Option<String>,
|
||||
pub telephone: Option<String>,
|
||||
pub citizenship: Option<String>,
|
||||
pub email: Option<String>,
|
||||
|
|
|
|||
|
|
@ -14,9 +14,11 @@ impl From<(i32, ApplicationDetails)> for ApplicationRow {
|
|||
application,
|
||||
name: Some(c.name),
|
||||
surname: Some(c.surname),
|
||||
birth_surname: Some(c.birth_surname),
|
||||
birthplace: Some(c.birthplace),
|
||||
birthdate: Some(c.birthdate.to_string()),
|
||||
address: Some(c.address),
|
||||
letter_address: Some(c.letter_address),
|
||||
telephone: Some(c.telephone),
|
||||
citizenship: Some(c.citizenship),
|
||||
email: Some(c.email),
|
||||
|
|
|
|||
Loading…
Reference in a new issue