This commit is contained in:
GukSang.Jin
2026-03-20 16:23:56 +08:00
parent 252dc17747
commit ac05493177
11 changed files with 580 additions and 143 deletions

View File

@@ -8,6 +8,10 @@ public class Order
public DateTime CreatedAt { get; set; }
public OrderStatus Status { get; set; }
public bool IsPaid { get; set; }
public string OutTradeNo { get; set; } = string.Empty;
public string PaymentCodeUrl { get; set; } = string.Empty;
public DateTimeOffset? PaymentExpiresAt { get; set; }
public string PaymentInitError { get; set; } = string.Empty;
public DateTime? PaidAt { get; set; }
public DateTime? StartedAt { get; set; }
public DateTime? CompletedAt { get; set; }
@@ -22,5 +26,7 @@ public enum OrderStatus
DoorClosed,
Washing,
Completed,
Cancelled
Cancelled,
Expired,
PaymentInitFailed
}