오류 수정, 통계 보강

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
+4 -4
View File
@@ -33,9 +33,9 @@ const Participant = sequelize.define('Participant', {
comment: '팀 번호'
},
status: {
type: DataTypes.ENUM('참가예정', '참가완료', '취소'),
type: DataTypes.ENUM('pending', 'confirmed', 'canceled'),
allowNull: false,
defaultValue: '참가예정',
defaultValue: 'pending',
comment: '참가 상태'
},
attendance: {
@@ -44,9 +44,9 @@ const Participant = sequelize.define('Participant', {
comment: '출석 여부'
},
paymentStatus: {
type: DataTypes.ENUM('미납', '납부완료'),
type: DataTypes.ENUM('unpaid', 'paid'),
allowNull: false,
defaultValue: '미납',
defaultValue: 'unpaid',
comment: '참가비 납부 상태'
},
paymentAmount: {