# Roadmap

**Project:** Fengling.Platform  
**Milestone:** v1.0 - Platform Foundation  
**Status:** In Progress

---

## Phase 1: Gateway Routing Migration

**Goal:** Migrate YARP gateway routing entities from fengling-gateway to Platform project with unified management

**Status:** ○ Planned

**Requirements:**
- [ ] GATEWAY-01: GwTenant entity and management
- [ ] GATEWAY-02: GwTenantRoute entity and management  
- [ ] GATEWAY-03: GwServiceInstance entity and management
- [ ] GATEWAY-04: Extensions for IoC registration
- [ ] GATEWAY-05: Database migrations

**Plans:**
- [ ] 01-01-PLAN.md — Domain entities (GwTenant, GwTenantRoute, GwServiceInstance)
- [ ] 01-02-PLAN.md — Infrastructure (Store, Manager, DbContext)
- [ ] 01-03-PLAN.md — Extensions and IoC integration

---

## Phase 2: Platform Core (Future)

**Goal:** Complete multi-tenant platform infrastructure

**Status:** ○ Planned

**Requirements:**
- [ ] USER-01: User management
- [ ] USER-02: Role and permissions
- [ ] AUTH-01: Authentication flows
- [ ] AUTH-02: Authorization

---

## Notes

- Gateway routing entities will be migrated from `../fengling-gateway/src/Models/`
- Pattern: Manager + Store (same as Tenant management)
- Extensions for quick IoC installation via `AddPlatformCore<TContext>()`
