From 99dabd3f2f81ffcf0b6f2b59e13ebb4502b2ccac Mon Sep 17 00:00:00 2001 From: "Adam T. Carpenter" Date: Thu, 22 Oct 2020 17:44:38 -0400 Subject: Added product migration, better organization of DTOs, Entities, and Domain Models. Also made config loading/photo generation easier. --- dichroism/src/entities/photo_set.rs | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 dichroism/src/entities/photo_set.rs (limited to 'dichroism/src/entities/photo_set.rs') diff --git a/dichroism/src/entities/photo_set.rs b/dichroism/src/entities/photo_set.rs new file mode 100644 index 0000000..b9f7710 --- /dev/null +++ b/dichroism/src/entities/photo_set.rs @@ -0,0 +1,8 @@ +#[derive(Debug, Clone, Serialize)] +pub struct PhotoSet { + pub id: i32, + pub base: i32, + pub fullsize: i32, + pub thumbnail: i32, + pub original: i32, +} -- cgit v1.2.3