|
@@ -26,19 +26,23 @@ namespace Edge.Core.Domain.FccOrderInfo.Output
|
|
|
public OrderInfo(FccOrderInfo fccOrderInfo)
|
|
|
{
|
|
|
this.Id = fccOrderInfo.Id;
|
|
|
- this.CloundOrderId = fccOrderInfo.CloundOrderId;
|
|
|
this.Ttc = fccOrderInfo.Ttc;
|
|
|
+ this.AuthorizationTime = fccOrderInfo.AuthorizationTime;
|
|
|
+ this.EndTime = fccOrderInfo.EndTime;
|
|
|
+ this.PaymentTime = fccOrderInfo.PaymentTime;
|
|
|
this.NozzleNum = fccOrderInfo.NozzleNum;
|
|
|
this.OilName = fccOrderInfo.OilName;
|
|
|
+ this.PaymentStatus = fccOrderInfo.PaymentStatus;
|
|
|
+ this.PayType = fccOrderInfo.PayType;
|
|
|
+ this.CloundOrderId = fccOrderInfo.CloundOrderId;
|
|
|
this.Amount = fccOrderInfo.Amount;
|
|
|
this.Volume = fccOrderInfo.Volume;
|
|
|
this.AmountPayable = fccOrderInfo.AmountPayable;
|
|
|
this.Price = fccOrderInfo.Price;
|
|
|
- this.AuthorizationTime = fccOrderInfo.AuthorizationTime;
|
|
|
- this.EndTime = fccOrderInfo.EndTime;
|
|
|
- this.PaymentTime = fccOrderInfo.PaymentTime;
|
|
|
- this.PaymentStatus = fccOrderInfo.PaymentStatus;
|
|
|
- this.PayType = fccOrderInfo.PayType;
|
|
|
+ this.RefundAmount = fccOrderInfo.RefundAmount;
|
|
|
+ this.UserName = fccOrderInfo.UserName;
|
|
|
+ this.PhoneNumber = fccOrderInfo.PhoneNumber;
|
|
|
+ this.PaymentName = fccOrderInfo.PaymentName;
|
|
|
}
|
|
|
/// <summary>
|
|
|
/// 订单id
|
|
@@ -111,14 +115,25 @@ namespace Edge.Core.Domain.FccOrderInfo.Output
|
|
|
public decimal Price { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
- /// 是否已上传云端—— 0:未上传;1:已上传;2:不需要上传
|
|
|
+ /// 退款金额
|
|
|
+ /// </summary>
|
|
|
+ public decimal? RefundAmount { get; set; }
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ /// 用户名
|
|
|
+ /// </summary>
|
|
|
+ public string UserName { get; set; }
|
|
|
+
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ /// 手机号
|
|
|
/// </summary>
|
|
|
- public int UploadState { get; set; }
|
|
|
+ public string PhoneNumber { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
- /// 是否删除——0:否;1:是
|
|
|
+ /// 支付类型名称
|
|
|
/// </summary>
|
|
|
- public int IsDelete { get; set; }
|
|
|
+ public string PaymentName { get; set; }
|
|
|
|
|
|
public FccOrderInfo ToComponent()
|
|
|
{
|
|
@@ -136,8 +151,11 @@ namespace Edge.Core.Domain.FccOrderInfo.Output
|
|
|
Amount = this.Amount,
|
|
|
Volume = this.Volume,
|
|
|
AmountPayable = this.AmountPayable,
|
|
|
- UploadState = this.UploadState,
|
|
|
- IsDelete = this.IsDelete
|
|
|
+ Price = this.Price,
|
|
|
+ RefundAmount = this.RefundAmount,
|
|
|
+ UserName = this.UserName,
|
|
|
+ PhoneNumber = this.PhoneNumber,
|
|
|
+ PaymentName = this.PaymentName
|
|
|
};
|
|
|
}
|
|
|
}
|