public void Use(MallEnums.OrderType type, Guid paymentId, Guid orderId) { UsedTime = DateTimeOffset.Now; PaymentId = paymentId; UsedOrderId = orderId; UsedOrderType = type; }
/// <summary> /// RefundLog /// </summary> /// <param name="billNo"></param> /// <param name="payOrderType"></param> /// <param name="userId"></param> /// <param name="reason"></param> /// <param name="price"></param> /// <param name="shopId"></param> /// <param name="tenantId"></param> public RefundLog([NotNull] string billNo, MallEnums.OrderType payOrderType, Guid userId, string reason, int price, Guid?shopId = null, Guid?tenantId = null) { BillNo = billNo; PayOrderType = payOrderType; UserId = userId; Reason = reason; Price = price; TenantId = tenantId; ShopId = shopId; }