using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Edge.Core.Domain.FccOrderInfo.Output { /// /// FCC预支付订单页对象 /// public class PrepayOrderInfoOutput { /// /// 总数 /// public int Total { get; set; } /// /// 订单 /// public List List { get; set; } } /// /// fcc 预支付订单页数据对象 /// public class PrepayOrderInfo { public PrepayOrderInfo(OrderInfo order) { this.StationName = order.StationName; this.MachineName = order.MachineName; this.Id = order.Id; this.Ttc = order.Ttc; this.AuthorizationTime = order.AuthorizationTime; this.EndTime = order.EndTime; this.PaymentTime = order.PaymentTime; this.NozzleNum = order.NozzleNum; this.OilName = order.OilName; this.PaymentStatus = order.GetPaystatus(); this.CloundOrderId = order.CloundOrderId; this.Amount = order.Amount; this.Volume = order.Volume; this.AmountPayable = order.AmountPayable; this.Price = order.Price; this.RefundAmount = order.RefundAmount; this.UserName = order.UserName; this.PhoneNumber = order.PhoneNumber; this.PaymentName = order.PaymentName; this.AuthorizationStatus = order.GetAuthorizationStatus(); this.VolumePayable = order.VolumePayable; } /// /// 油站名 /// public string StationName { get; set; } /// /// 油机号 /// public string MachineName { get; set; } /// /// 订单id /// public long Id { get; set; } /// /// 流水号 /// public int Ttc { get; set; } /// /// 授权时间 /// public DateTime AuthorizationTime { get; set; } /// /// 挂枪时间 /// public DateTime? EndTime { get; set; } /// /// 交易时间 /// public DateTime? PaymentTime { get; set; } /// /// 枪号 /// public int NozzleNum { get; set; } /// /// 油品名 /// public String OilName { get; set; } /// /// 云端id /// public long? CloundOrderId { get; set; } /// /// 实际加油金额 /// public decimal Amount { get; set; } /// /// 实际加油升数 /// public decimal Volume { get; set; } /// /// 实际支付金额 /// public decimal? AmountPayable { get; set; } /// /// 单价 /// public decimal Price { get; set; } /// /// 退款金额 /// public decimal? RefundAmount { get; set; } /// /// 用户名 /// public string UserName { get; set; } /// /// 手机号 /// public string PhoneNumber { get; set; } /// /// 支付类型名称 /// public string PaymentName { get; set; } /// /// 预定升数 /// public decimal? VolumePayable { get; set; } /// /// 授权状态 /// public string AuthorizationStatus { get; set; } /// /// 支付状态 /// public string PaymentStatus { get; set; } } }