Feat/store management #3

Merged
DeepnaPooja merged 5 commits from feat/store_management into dev 2026-08-20 13:43:40 +05:30
2 changed files with 12 additions and 4 deletions
Showing only changes of commit 4e73dd7fb1 - Show all commits
+10 -2
View File
@@ -1,8 +1,16 @@
namespace Distribution.Models
{
public enum LocationType { Warehouse, Vehicle }
public enum LocationType
{
Warehouse,
Vehicle
}
public enum KycStatus { Pending, Verified, Rejected }
public enum KycStatus
{
Pending,
Verified,
Rejected }
public enum MovementType
{
+2 -2
View File
@@ -40,7 +40,7 @@ Store (existing, add columns)
├── OutstandingBalance (decimal) — default 0. Cached/denormalized. Updated by Finance module
│ (step 19) on invoice/payment events via UpdateOutstandingBalanceAsync.
│ Until Finance exists, only moved by manual adjustment endpoint.
├── Segment (string?) — free text, e.g. "Gold", "Silver", "Key Account".
├── Segment (string?) — free text, e.g. "Gold", "Silver", "Key Account", "High Risk".
├── KycStatus (enum) — Pending | Verified | Rejected. Default Pending.
```
@@ -56,7 +56,7 @@ public enum KycStatus { Pending, Verified, Rejected }
StoreKycDocument
├── Id (Guid) — PK, from Template
├── FK_StoreId (Guid) — required
├── DocumentType (string) — free text, e.g. "GST Certificate", "PAN Card", "Shop License"
├── DocumentType (string) — free text, e.g. "GST Certificate", "PAN Card", "Shop License,NIC"
├── FileReference (string) — relative path under wwwroot/uploads/kyc/{storeId}/
├── UploadedAt (DateTime)
├── IsActive, CreatedAt — from Template