Feat/store management #3
@@ -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
|
||||
{
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user