summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Beyer <mail@beyermatthias.de>2021-10-24 12:43:36 +0200
committerMatthias Beyer <mail@beyermatthias.de>2021-10-24 13:25:02 +0200
commitf72defcfa608d626d3bfcc1f536fc741db3455ed (patch)
tree43e53d58bbed95e912e982cff21a7caed7d32a5e
parentffe86452c5aa845dce80612432f0773b7d5be7f0 (diff)
Remove "Age" and "Name" types as these are stored as columns
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
-rw-r--r--service-person/src/model/age.rs5
-rw-r--r--service-person/src/model/mod.rs6
-rw-r--r--service-person/src/model/name.rs6
3 files changed, 0 insertions, 17 deletions
diff --git a/service-person/src/model/age.rs b/service-person/src/model/age.rs
deleted file mode 100644
index 7c7420c..0000000
--- a/service-person/src/model/age.rs
+++ /dev/null
@@ -1,5 +0,0 @@
-use serde::Deserialize;
-
-#[derive(Debug, Deserialize)]
-pub struct Age(usize);
-
diff --git a/service-person/src/model/mod.rs b/service-person/src/model/mod.rs
index 48eeeed..d64181c 100644
--- a/service-person/src/model/mod.rs
+++ b/service-person/src/model/mod.rs
@@ -1,18 +1,12 @@
pub mod address;
pub use address::*;
-pub mod age;
-pub use age::*;
-
pub mod city;
pub use city::*;
pub mod country;
pub use country::*;
-pub mod name;
-pub use name::*;
-
pub mod person;
pub use person::*;
diff --git a/service-person/src/model/name.rs b/service-person/src/model/name.rs
deleted file mode 100644
index 5b5c6d6..0000000
--- a/service-person/src/model/name.rs
+++ /dev/null
@@ -1,6 +0,0 @@
-use serde::Deserialize;
-
-#[derive(Debug, Deserialize)]
-pub struct Name(String);
-
-