chore: add referral module

This commit is contained in:
mahyargdz
2025-04-14 16:26:37 +03:30
parent 99ca2461f1
commit bec73658d5
21 changed files with 378 additions and 8 deletions
@@ -0,0 +1,11 @@
import { IsNotEmpty, IsString } from "class-validator";
export class UseReferralCodeDto {
@IsNotEmpty()
@IsString()
referralCode: string;
@IsNotEmpty()
@IsString()
userId: string;
}