BLOG-78 Backend image upload and download #84

Merged
squid merged 6 commits from BLOG-78_image_management into main 2025-07-27 13:10:47 +08:00
7 changed files with 10 additions and 10 deletions
Showing only changes of commit 7b431e3fc8 - Show all commits

View File

@ -1,6 +1,6 @@
pub mod color_mapper;
pub mod label_mapper;
pub mod color_db_mapper;
pub mod label_db_mapper;
pub mod post_db_mapper;
pub mod post_db_service;
pub mod post_info_mapper;
pub mod post_mapper;
pub mod post_info_db_mapper;
pub mod post_repository_impl;

View File

@ -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 id: i32,

View File

@ -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 id: i32,

View File

@ -1,7 +1,7 @@
use async_trait::async_trait;
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,
};

View File

@ -1,6 +1,6 @@
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 id: i32,

View File

@ -5,8 +5,8 @@ use sqlx::{Pool, Postgres};
use crate::{
adapter::gateway::{
color_mapper::ColorMapper, label_mapper::LabelMapper, post_db_service::PostDbService,
post_info_mapper::PostInfoMapper, post_mapper::PostMapper,
color_db_mapper::ColorMapper, label_db_mapper::LabelMapper, post_db_service::PostDbService,
post_info_db_mapper::PostInfoMapper, post_db_mapper::PostMapper,
},
application::error::post_error::PostError,
};