오류 수정, 통계 보강

This commit is contained in:
2025-06-08 20:21:37 +09:00
parent 1a3706d7a5
commit 141a0de6d0
42 changed files with 2645 additions and 799 deletions
+2 -2
View File
@@ -9,7 +9,7 @@ module.exports = {
clubId,
title: `클럽${clubId} 이벤트${i}`,
description: `클럽${clubId}의 이벤트${i} 설명입니다.`,
eventType: '정기전', // ENUM 값 중 하나
eventType: 'regular', // ENUM 값 중 하나
startDate: new Date(now.getFullYear(), now.getMonth(), now.getDate() + i, 20, 0, 0),
endDate: new Date(now.getFullYear(), now.getMonth(), now.getDate() + i, 23, 0, 0),
location: `클럽${clubId} 이벤트장소${i}`,
@@ -18,7 +18,7 @@ module.exports = {
maxParticipants: 30,
registrationDeadline: new Date(now.getFullYear(), now.getMonth(), now.getDate() + i, 18, 0, 0),
participantCount: 0,
status: '준비', // ENUM 값 중 하나
status: 'ready', // ENUM 값 중 하나
createdAt: new Date(),
updatedAt: new Date()
});
+2 -2
View File
@@ -9,8 +9,8 @@ module.exports = {
clubId,
userId: userId <= 10 ? userId : null,
name: `클럽${clubId}멤버${i}`,
gender: i % 2 === 0 ? '여성' : '남성',
memberType: i === 1 ? '모임장' : (i % 2 === 0 ? '정회원' : '준회원'),
gender: i % 2 === 0 ? 'female' : 'male',
memberType: i === 1 ? 'owner' : (i % 2 === 0 ? 'regular' : 'associate'),
status: 'active',
joinDate: new Date(),
createdAt: new Date(),