mirror of
https://github.com/danbulant/Portfolio
synced 2026-07-06 11:30:44 +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 application: i32,
|
||||||
pub name: Option<String>,
|
pub name: Option<String>,
|
||||||
pub surname: Option<String>,
|
pub surname: Option<String>,
|
||||||
|
pub birth_surname: Option<String>,
|
||||||
pub birthplace: Option<String>,
|
pub birthplace: Option<String>,
|
||||||
pub birthdate: Option<String>,
|
pub birthdate: Option<String>,
|
||||||
pub address: Option<String>,
|
pub address: Option<String>,
|
||||||
|
pub letter_address: Option<String>,
|
||||||
pub telephone: Option<String>,
|
pub telephone: Option<String>,
|
||||||
pub citizenship: Option<String>,
|
pub citizenship: Option<String>,
|
||||||
pub email: Option<String>,
|
pub email: Option<String>,
|
||||||
|
|
|
||||||
|
|
@ -14,9 +14,11 @@ impl From<(i32, ApplicationDetails)> for ApplicationRow {
|
||||||
application,
|
application,
|
||||||
name: Some(c.name),
|
name: Some(c.name),
|
||||||
surname: Some(c.surname),
|
surname: Some(c.surname),
|
||||||
|
birth_surname: Some(c.birth_surname),
|
||||||
birthplace: Some(c.birthplace),
|
birthplace: Some(c.birthplace),
|
||||||
birthdate: Some(c.birthdate.to_string()),
|
birthdate: Some(c.birthdate.to_string()),
|
||||||
address: Some(c.address),
|
address: Some(c.address),
|
||||||
|
letter_address: Some(c.letter_address),
|
||||||
telephone: Some(c.telephone),
|
telephone: Some(c.telephone),
|
||||||
citizenship: Some(c.citizenship),
|
citizenship: Some(c.citizenship),
|
||||||
email: Some(c.email),
|
email: Some(c.email),
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue