chore: add test coverage

This commit is contained in:
Maulana Sodiqin
2025-03-23 20:42:38 +07:00
parent 0ae1e26ba8
commit 5be737ad70
26 changed files with 1057 additions and 132 deletions
+2
View File
@@ -40,6 +40,7 @@ pub struct UsersCreateRequestDto {
pub referral_code: Option<String>,
pub referred_by: Option<String>,
pub is_active: bool,
pub role_id: String,
}
#[derive(Clone, Debug, Serialize, Deserialize, ToSchema, Validate)]
@@ -75,6 +76,7 @@ pub struct UsersUpdateRequestDto {
pub gender: Option<String>,
pub birthdate: Option<String>,
pub avatar: Option<String>,
pub role_id: String,
}
#[derive(Clone, Debug, Serialize, Deserialize, ToSchema)]