[Feature] Domain Entity 정의 및 DB 스키마 구축 #8
Labels
No Label
Priority
High
Priority
Low
Priority
Medium
Priority
Non
Priority
Urgent
Status
Available
Status
Done
Status
In Progress
Type
Bug
Type
Chore
Type
Design
Type
Documentation
Type
Feature
Type
Improvement
Type
Refactor
Type
Research
Type
Task
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: SPMS/SPMS_API#8
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
설명
DB_Schema.md 기반 12개 Entity 클래스를 정의하고, EF Core Fluent API 설정 후 초기 Migration으로 DB 테이블을 생성한다.
체크리스트 — Domain Entity (SPMS.Domain)
SPMS.Domain/Entities/디렉토리 생성BaseEntity.cs— 공통 필드 (Id)Service.cs— 서비스 정보 (21 컬럼)ServiceIp.cs— IP 화이트리스트 (3 컬럼)Admin.cs— 관리자 정보 (13 컬럼)Device.cs— 기기 정보 (15 컬럼)Message.cs— 메시지 내용 (12 컬럼)FileEntity.cs— 업로드 파일 (9 컬럼)PushSendLog.cs— 발송 로그 (7 컬럼)PushOpenLog.cs— 오픈 로그 (5 컬럼)DailyStat.cs— 일별 통계 (8 컬럼)WebhookLog.cs— 웹훅 로그 (9 컬럼)SystemLog.cs— 시스템 로그 (9 컬럼)Payment.cs— 결제 이력 (12 컬럼)체크리스트 — EF Core Configuration (SPMS.Infrastructure)
SPMS.Infrastructure/Persistence/Configurations/디렉토리 생성IEntityTypeConfiguration<T>구현AppDbContext.csDbSet 등록 (12개)dotnet ef migrations add InitialCreate)dotnet ef database update) → spms_dev에 테이블 생성 확인참고
Documents/DB_Schema.md기준