fix store profile fields
This commit is contained in:
@@ -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 }
|
||||
|
||||
|
||||
@@ -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")]
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user