BLOG-78 Backend image upload and download #84
@ -1,6 +1,6 @@
|
|||||||
pub mod color_mapper;
|
pub mod color_db_mapper;
|
||||||
pub mod label_mapper;
|
pub mod label_db_mapper;
|
||||||
|
pub mod post_db_mapper;
|
||||||
pub mod post_db_service;
|
pub mod post_db_service;
|
||||||
pub mod post_info_mapper;
|
pub mod post_info_db_mapper;
|
||||||
pub mod post_mapper;
|
|
||||||
pub mod post_repository_impl;
|
pub mod post_repository_impl;
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
use crate::{adapter::gateway::color_mapper::ColorMapper, domain::entity::label::Label};
|
use crate::{adapter::gateway::color_db_mapper::ColorMapper, domain::entity::label::Label};
|
||||||
|
|
||||||
pub struct LabelMapper {
|
pub struct LabelMapper {
|
||||||
pub id: i32,
|
pub id: i32,
|
@ -1,4 +1,4 @@
|
|||||||
use crate::{adapter::gateway::post_info_mapper::PostInfoMapper, domain::entity::post::Post};
|
use crate::{adapter::gateway::post_info_db_mapper::PostInfoMapper, domain::entity::post::Post};
|
||||||
|
|
||||||
pub struct PostMapper {
|
pub struct PostMapper {
|
||||||
pub id: i32,
|
pub id: i32,
|
@ -1,7 +1,7 @@
|
|||||||
use async_trait::async_trait;
|
use async_trait::async_trait;
|
||||||
|
|
||||||
use crate::{
|
use crate::{
|
||||||
adapter::gateway::{post_info_mapper::PostInfoMapper, post_mapper::PostMapper},
|
adapter::gateway::{post_info_db_mapper::PostInfoMapper, post_db_mapper::PostMapper},
|
||||||
application::error::post_error::PostError,
|
application::error::post_error::PostError,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
use chrono::{DateTime, NaiveDateTime, Utc};
|
use chrono::{DateTime, NaiveDateTime, Utc};
|
||||||
|
|
||||||
use crate::{adapter::gateway::label_mapper::LabelMapper, domain::entity::post_info::PostInfo};
|
use crate::{adapter::gateway::label_db_mapper::LabelMapper, domain::entity::post_info::PostInfo};
|
||||||
|
|
||||||
pub struct PostInfoMapper {
|
pub struct PostInfoMapper {
|
||||||
pub id: i32,
|
pub id: i32,
|
@ -5,8 +5,8 @@ use sqlx::{Pool, Postgres};
|
|||||||
|
|
||||||
use crate::{
|
use crate::{
|
||||||
adapter::gateway::{
|
adapter::gateway::{
|
||||||
color_mapper::ColorMapper, label_mapper::LabelMapper, post_db_service::PostDbService,
|
color_db_mapper::ColorMapper, label_db_mapper::LabelMapper, post_db_service::PostDbService,
|
||||||
post_info_mapper::PostInfoMapper, post_mapper::PostMapper,
|
post_info_db_mapper::PostInfoMapper, post_db_mapper::PostMapper,
|
||||||
},
|
},
|
||||||
application::error::post_error::PostError,
|
application::error::post_error::PostError,
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user