update store mngt.md
This commit is contained in:
@@ -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
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user