update store mngt.md

This commit is contained in:
2026-08-20 13:10:46 +05:30
parent e88668beca
commit 4e73dd7fb1
2 changed files with 12 additions and 4 deletions
+10 -2
View File
@@ -1,8 +1,16 @@
namespace Distribution.Models 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 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 ├── OutstandingBalance (decimal) — default 0. Cached/denormalized. Updated by Finance module
│ (step 19) on invoice/payment events via UpdateOutstandingBalanceAsync. │ (step 19) on invoice/payment events via UpdateOutstandingBalanceAsync.
│ Until Finance exists, only moved by manual adjustment endpoint. │ 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. ├── KycStatus (enum) — Pending | Verified | Rejected. Default Pending.
``` ```
@@ -56,7 +56,7 @@ public enum KycStatus { Pending, Verified, Rejected }
StoreKycDocument StoreKycDocument
├── Id (Guid) — PK, from Template ├── Id (Guid) — PK, from Template
├── FK_StoreId (Guid) — required ├── 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}/ ├── FileReference (string) — relative path under wwwroot/uploads/kyc/{storeId}/
├── UploadedAt (DateTime) ├── UploadedAt (DateTime)
├── IsActive, CreatedAt — from Template ├── IsActive, CreatedAt — from Template