[Feature] Public API Entity 정의 및 DB 스키마 구축 (Notice, Banner, FAQ, AppConfig) #76

Closed
opened 2026-02-10 04:18:46 +00:00 by seonkyu.kim · 0 comments
Owner

📋 개요

DB_Schema.md에 정의된 Public API 관련 4개 테이블(Notice, Banner, FAQ, AppConfig)의 Entity를 생성하고 EF Core Configuration + Migration을 적용한다. Phase 2-2 Public API #1~#7 전체의 선행 작업.

체크리스트 — Domain Entity (SPMS.Domain/Entities/)

  • Notice.cs — 공지사항 (10 컬럼: Id, ServiceId, Title, Content, IsPinned, IsActive, CreatedAt, CreatedBy, UpdatedAt, IsDeleted)
  • Banner.cs — 배너 (12 컬럼: Id, ServiceId, Title, ImageUrl, LinkUrl, LinkType, Position, SortOrder, IsActive, CreatedAt, UpdatedAt, IsDeleted)
  • Faq.cs — FAQ (9 컬럼: Id, ServiceId, Category, Question, Answer, SortOrder, IsActive, CreatedAt, UpdatedAt)
  • AppConfig.cs — 앱 설정 (6 컬럼: Id, ServiceId, ConfigKey, ConfigValue, CreatedAt, UpdatedAt)

체크리스트 — EF Core Configuration (SPMS.Infrastructure/Persistence/Configurations/)

  • NoticeConfiguration.cs — Soft Delete 글로벌 필터 적용
  • BannerConfiguration.cs — Soft Delete 글로벌 필터 적용
  • FaqConfiguration.cs
  • AppConfigConfiguration.cs — (ServiceId, ConfigKey) 복합 인덱스

체크리스트 — AppDbContext + Migration

  • AppDbContext.cs에 DbSet 4개 추가 (Notices, Banners, Faqs, AppConfigs)
  • 마이그레이션 생성 (AddPublicApiTables)
  • DB 적용 및 테이블 생성 확인
  • 빌드 성공 확인

⚠️ 블로킹: 이 이슈가 완료되어야 Phase 2-2 Public API #1~#7을 구현할 수 있음

## 📋 개요 DB_Schema.md에 정의된 Public API 관련 4개 테이블(Notice, Banner, FAQ, AppConfig)의 Entity를 생성하고 EF Core Configuration + Migration을 적용한다. Phase 2-2 Public API #1~#7 전체의 선행 작업. ## ✅ 체크리스트 — Domain Entity (SPMS.Domain/Entities/) - [x] `Notice.cs` — 공지사항 (10 컬럼: Id, ServiceId, Title, Content, IsPinned, IsActive, CreatedAt, CreatedBy, UpdatedAt, IsDeleted) - [x] `Banner.cs` — 배너 (12 컬럼: Id, ServiceId, Title, ImageUrl, LinkUrl, LinkType, Position, SortOrder, IsActive, CreatedAt, UpdatedAt, IsDeleted) - [x] `Faq.cs` — FAQ (9 컬럼: Id, ServiceId, Category, Question, Answer, SortOrder, IsActive, CreatedAt, UpdatedAt) - [x] `AppConfig.cs` — 앱 설정 (6 컬럼: Id, ServiceId, ConfigKey, ConfigValue, CreatedAt, UpdatedAt) ## ✅ 체크리스트 — EF Core Configuration (SPMS.Infrastructure/Persistence/Configurations/) - [x] `NoticeConfiguration.cs` — Soft Delete 글로벌 필터 적용 - [x] `BannerConfiguration.cs` — Soft Delete 글로벌 필터 적용 - [x] `FaqConfiguration.cs` - [x] `AppConfigConfiguration.cs` — (ServiceId, ConfigKey) 복합 인덱스 ## ✅ 체크리스트 — AppDbContext + Migration - [x] `AppDbContext.cs`에 DbSet 4개 추가 (Notices, Banners, Faqs, AppConfigs) - [x] 마이그레이션 생성 (`AddPublicApiTables`) - [x] DB 적용 및 테이블 생성 확인 - [x] 빌드 성공 확인 > **⚠️ 블로킹**: 이 이슈가 완료되어야 Phase 2-2 Public API #1~#7을 구현할 수 있음
seonkyu.kim added the
Priority
High
Status
Available
Type
Feature
labels 2026-02-10 04:18:52 +00:00
seonkyu.kim self-assigned this 2026-02-10 04:18:55 +00:00
seonkyu.kim added this to the Phase 2-2: Public & 디바이스 & 파일 API milestone 2026-02-10 04:18:56 +00:00
seonkyu.kim added
Status
In Progress
and removed
Status
Available
labels 2026-02-10 04:24:13 +00:00
seonkyu.kim added
Status
Done
and removed
Status
In Progress
labels 2026-02-10 04:26:23 +00:00
Sign in to join this conversation.
No description provided.