perf: 支持课程补录

This commit is contained in:
richarjiang
2026-09-08 15:08:29 +08:00
parent d1f193e13e
commit b4b3caac70
24 changed files with 1074 additions and 945 deletions

View File

@@ -62,6 +62,8 @@ export type {
AdminMemberUpcomingBooking,
AdminMemberBookingStats,
AdminMemberDetail,
LessonSupplementRecord,
CreateLessonSupplementDto,
UpdateAdminMemberProfileDto,
CardType,
CreateCardTypeDto,

View File

@@ -8,6 +8,8 @@ export type {
AdminMemberUpcomingBooking,
AdminMemberBookingStats,
AdminMemberDetail,
LessonSupplementRecord,
CreateLessonSupplementDto,
UpdateAdminMemberProfileDto,
} from './user'
export type {

View File

@@ -95,3 +95,23 @@ export interface UpdateAdminMemberProfileDto {
readonly nickname?: string
readonly phone?: string | null
}
/** Historical classes with no inferred attendance date. */
export interface LessonSupplementRecord {
readonly id: string
readonly requestId: string
readonly quantity: number
readonly deductedTimes: number
readonly cardName: string | null
readonly remark: string | null
readonly operatorName: string
readonly createdAt: string
readonly revokedAt: string | null
}
export interface CreateLessonSupplementDto {
readonly requestId: string
readonly quantity: number
readonly membershipId?: string
readonly remark?: string
}