namespace Edge.Core.Domain.FccOrderInfo.Output { public class OrderInfoOutput { /// /// 订单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; } /// /// 支付状态 /// public int PaymentStatus { get; set; } /// /// 支付类型 /// public int? PayType { get; set; } /// /// 云端id /// public long? CloundOrderId { get; set; } /// /// 实际加油金额 /// public decimal Amount { get; set; } /// /// 实际加油升数 /// public decimal Volume { get; set; } /// /// 实际支付金额 /// public decimal AmountPayable { get; set; } /// /// 是否已上传云端—— 0:未上传;1:已上传;2:不需要上传 /// public int UploadState { get; set; } /// /// 是否删除——0:否;1:是 /// public int IsDelete { get; set; } public FccOrderInfo ToComponent() { return new FccOrderInfo { Ttc = this.Ttc, AuthorizationTime = this.AuthorizationTime, EndTime = this.EndTime, PaymentTime = this.PaymentTime, NozzleNum = this.NozzleNum, OilName = this.OilName, PaymentStatus = this.PaymentStatus, PayType = this.PayType, CloundOrderId = this.CloundOrderId, Amount = this.Amount, Volume = this.Volume, AmountPayable = this.AmountPayable, UploadState = this.UploadState, IsDelete = this.IsDelete }; } } }