chore: add ticket module and tickets entity

This commit is contained in:
mahyargdz
2025-01-22 17:03:46 +03:30
parent c48ec70638
commit e3762c1eba
16 changed files with 166 additions and 27 deletions
@@ -21,4 +21,10 @@ export class UserRepository extends Repository<User> {
phone,
});
}
async findOneWithUserName(userName: string): Promise<User | null> {
return this.findOneBy({
userName,
});
}
}