[Phase 7] PR 7-3: 과제 제출 + 인증서 PDF

ID: efa5af4c-e795-4a5a-b117-91f330782bf3

낮음 완료

## 개요
과제 제출/리뷰 + 수료/자격 인증서 PDF 생성

## 생성할 파일
- `db/migrate/xxx_create_study_assignments.rb`
- `db/migrate/xxx_create_study_certificates.rb`
- `app/models/study/assignment.rb`
- `app/models/study/certificate.rb`
- `app/controllers/study/assignments_controller.rb`
- `app/controllers/study/certificates_controller.rb`
- `app/services/study/certificate_generator.rb`
- `app/views/study/assignments/` (new, show)
- `app/views/study/certificates/show.html.erb`

## 스키마
- study_assignments: enrollment_id(FK), user_id(FK), course_id(FK), status(enum: pending/reviewed/approved/rejected), feedback, file(ActiveStorage 10MB)
- study_certificates: user_id(FK), course_id(FK), enrollment_id(FK), certificate_type(enum: completion/qualification), certificate_number(unique, 9W-SC-YYYY-NNNNN)

## 완료 기준
- 과제 제출 (10MB 파일, ActiveStorage)
- Admin 과제 검토 (approve/reject + feedback)
- 80% 수강 완료 → 수료 인증서
- 과제 승인 → 코치 자격 인증서
- PDF 생성 (Grover, 기존 PdfGenerator 패턴)
- 인증서 번호: 9W-SC-YYYY-NNNNN

## 의존성
PR 5-1 (Enrollment + Progress)

첨부 이미지

이미지 추가 (Ctrl+V로 붙여넣기 또는 클릭)

JPEG, PNG, GIF, WebP / 최대 10MB

담당자: 팀리드
생성일: 2026년 03월 11일 11:40

활동 로그

  • 팀리드 상태 변경: 리뷰 → 완료

    2026년 03월 11일 22:23:55

  • 팀리드 상태 변경: 진행 중 → 리뷰

    2026년 03월 11일 15:15:39

  • 팀리드 위임: developer-4에게 'PR 7-3: 과제 제출 + 인증서 PDF 구현' 작업 배정

    2026년 03월 11일 14:31:29

  • 팀리드 티켓 클레임 완료

    2026년 03월 11일 14:30:57