오류 수정, 통계 보강
This commit is contained in:
@@ -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: {
|
||||
|
||||
Reference in New Issue
Block a user