export class GetUserReferralInfoQuery {
  constructor(public readonly accountSequence: string) {}  // 格式: D + YYMMDD + 5位序号
}

export interface UserReferralInfoResult {
  userId: string;
  referralCode: string;
  referrerId: string | null;
  referralChainDepth: number;
  directReferralCount: number;
  totalTeamCount: number;
  personalPlantingCount: number;
  teamPlantingCount: number;
  leaderboardScore: number;
  leaderboardRank: number | null;
  createdAt: Date;
}
