fix store profile fields

This commit is contained in:
2026-09-24 14:18:52 +05:30
parent 80db899091
commit 96e12972b9
14 changed files with 41 additions and 219 deletions
-1
View File
@@ -4,7 +4,6 @@ namespace Distribution.Models
{ Warehouse, Vehicle, External }
public enum KycStatus { Pending, Verified, Rejected }
public enum MovementType { Sale, CustomerReturn, Transfer, Damage, Adjustment, Load, PurchaseReceipt, PurchaseReturn }
+2 -2
View File
@@ -4,7 +4,8 @@ namespace Distribution.Models
{
public class Store : Template
{
public String OwnerName { get; set; }
public String? OwnerName { get; set; }
public String? ContactNumber { get; set; }
public String StoreName { get; set; }
public String StoreAddress { get; set; }
public decimal Latitude { get; set; } = 0;
@@ -14,7 +15,6 @@ namespace Distribution.Models
public decimal CreditLimit { get; set; } = 0;
public decimal OutstandingBalance { get; set; } = 0;
public String? Segment { get; set; } //Gold ,silver,key Account,high risk
public KycStatus KycStatus { get; set; } = KycStatus.Pending;
public Guid FK_RouteId { get; set; }
[ForeignKey("FK_RouteId")]
-14
View File
@@ -1,14 +0,0 @@
using System.ComponentModel.DataAnnotations.Schema;
namespace Distribution.Models
{
public class StoreKycDocument : Template
{
public Guid FK_StoreId { get; set; }
[ForeignKey("FK_StoreId")]
public Store Store { get; set; }
public String DocumentType { get; set; }
public String FileReference { get; set; }
public DateTime UploadedAt { get; set; } = DateTime.Now;
}
}