Add transfer tracking and secure admin access
This commit is contained in:
@@ -44,8 +44,10 @@ public class Transaction
|
||||
public TransactionType Type { get; set; }
|
||||
public decimal Amount { get; set; }
|
||||
public string? Note { get; set; }
|
||||
public string? PaymentMethod { get; set; }
|
||||
public DateTime OccurredAt { get; set; }
|
||||
public string? PaymentMethod { get; set; }
|
||||
public TransferDirection? TransferDirection { get; set; }
|
||||
public string? Counterparty { get; set; }
|
||||
public DateTime OccurredAt { get; set; }
|
||||
|
||||
// ---- AI 来源追溯(决策:可核对、可撤销) ----
|
||||
public TransactionSource Source { get; set; } = TransactionSource.Manual;
|
||||
@@ -53,7 +55,12 @@ public class Transaction
|
||||
public string? SourceText { get; set; }
|
||||
/// <summary>关联的聊天消息 Id(追溯用)</summary>
|
||||
public long? SourceChatMessageId { get; set; }
|
||||
public string? ClientRequestId { get; set; }
|
||||
public string? ClientRequestId { get; set; }
|
||||
public string? Provider { get; set; }
|
||||
public string? ProviderTransactionId { get; set; }
|
||||
public string? RecognitionOccurrenceId { get; set; }
|
||||
public string? EvidenceFingerprint { get; set; }
|
||||
public string? RecognitionConfidence { get; set; }
|
||||
|
||||
// ---- 软删除(决策:直接入账 + 可撤销) ----
|
||||
public bool IsDeleted { get; set; }
|
||||
|
||||
Reference in New Issue
Block a user