fix store profile fields
This commit is contained in:
@@ -4,29 +4,34 @@ namespace Distribution.Features.Store;
|
||||
|
||||
public record CreateStoreRequest(
|
||||
Guid RouteId,
|
||||
string OwnerName,
|
||||
string StoreName,
|
||||
string StoreAddress,
|
||||
decimal Latitude,
|
||||
decimal Longitude,
|
||||
decimal OneTimeAmount,
|
||||
decimal CreditAmount);
|
||||
|
||||
public record UpdateStoreRequest(
|
||||
Guid RouteId,
|
||||
string OwnerName,
|
||||
string? OwnerName,
|
||||
string StoreName,
|
||||
string StoreAddress,
|
||||
decimal Latitude,
|
||||
decimal Longitude,
|
||||
decimal OneTimeAmount,
|
||||
decimal CreditAmount,
|
||||
bool IsActive = true);
|
||||
decimal CreditLimit = 0,
|
||||
string? ContactNumber = null);
|
||||
|
||||
public record UpdateStoreRequest(
|
||||
Guid RouteId,
|
||||
string? OwnerName,
|
||||
string StoreName,
|
||||
string StoreAddress,
|
||||
decimal Latitude,
|
||||
decimal Longitude,
|
||||
decimal OneTimeAmount,
|
||||
decimal CreditAmount,
|
||||
bool IsActive = true,
|
||||
decimal? CreditLimit = null,
|
||||
string? ContactNumber = null);
|
||||
|
||||
public record StoreResponse(
|
||||
Guid Id,
|
||||
Guid RouteId,
|
||||
string OwnerName,
|
||||
string? OwnerName,
|
||||
string? ContactNumber,
|
||||
string StoreName,
|
||||
string StoreAddress,
|
||||
decimal Latitude,
|
||||
@@ -36,7 +41,6 @@ public record StoreResponse(
|
||||
decimal CreditLimit,
|
||||
decimal OutstandingBalance,
|
||||
string? Segment,
|
||||
KycStatus KycStatus,
|
||||
bool IsActive,
|
||||
DateTime CreatedAt);
|
||||
|
||||
@@ -44,8 +48,6 @@ public record UpdateCreditLimitRequest(decimal NewLimit, Guid ApproverId);
|
||||
|
||||
public record UpdateOutstandingBalanceRequest(decimal NewBalance);
|
||||
|
||||
public record VerifyKycRequest(KycStatus Status, string? Notes);
|
||||
|
||||
public record ClassifySegmentRequest(string Segment);
|
||||
|
||||
public record OutstandingBalanceResponse(Guid StoreId, decimal CreditLimit, decimal OutstandingBalance, decimal AvailableCredit);
|
||||
@@ -54,8 +56,6 @@ public record StoreVisitHistoryItem(Guid VisitId, DateTime VisitDate, Guid RepUs
|
||||
|
||||
public record SchemeEligibilityResponse(bool Eligible, string? Reason);
|
||||
|
||||
public record PatchKycStatusRequest(KycStatus KycStatus);
|
||||
|
||||
public record PatchStoreStatusRequest(bool IsActive);
|
||||
|
||||
public record StoreDashboardResponse(Guid StoreId, string Period, int OrderCount, decimal TotalOrderValue, DateTime? LastOrderDate);
|
||||
|
||||
Reference in New Issue
Block a user