move models to dto

This commit is contained in:
李运家 2024-04-10 11:13:39 +08:00
parent aa1b3d2009
commit 876dc56050
5 changed files with 3 additions and 3 deletions

View File

@ -1,5 +1,5 @@
use axum::Json; use axum::Json;
use domain::models::game_account::GameAccountCreate; use domain::dto::game_account::GameAccountCreate;
use library::resp::response::{ResErr, ResOK, ResResult}; use library::resp::response::{ResErr, ResOK, ResResult};
use validator::Validate; use validator::Validate;

View File

@ -1,2 +1,2 @@
pub mod entities; pub mod entities;
pub mod models; pub mod dto;

View File

@ -1,6 +1,6 @@
use domain::entities::game_account; use domain::entities::game_account;
use domain::entities::prelude::GameAccount; use domain::entities::prelude::GameAccount;
use domain::models::game_account::GameAccountCreate; use domain::dto::game_account::GameAccountCreate;
use library::db; use library::db;
use library::resp::response::ResErr::{ErrPerm, ErrSystem}; use library::resp::response::ResErr::{ErrPerm, ErrSystem};
use library::resp::response::{ResOK, ResResult}; use library::resp::response::{ResOK, ResResult};