move models to dto
This commit is contained in:
parent
aa1b3d2009
commit
876dc56050
@ -1,5 +1,5 @@
|
||||
use axum::Json;
|
||||
use domain::models::game_account::GameAccountCreate;
|
||||
use domain::dto::game_account::GameAccountCreate;
|
||||
use library::resp::response::{ResErr, ResOK, ResResult};
|
||||
use validator::Validate;
|
||||
|
||||
|
@ -1,2 +1,2 @@
|
||||
pub mod entities;
|
||||
pub mod models;
|
||||
pub mod dto;
|
@ -1,6 +1,6 @@
|
||||
use domain::entities::game_account;
|
||||
use domain::entities::prelude::GameAccount;
|
||||
use domain::models::game_account::GameAccountCreate;
|
||||
use domain::dto::game_account::GameAccountCreate;
|
||||
use library::db;
|
||||
use library::resp::response::ResErr::{ErrPerm, ErrSystem};
|
||||
use library::resp::response::{ResOK, ResResult};
|
||||
|
Loading…
Reference in New Issue
Block a user