ComplianceServer/oldcode/Core.BLL/EventBus/Events/OrderAndPayInfo.cs

127 lines
4.1 KiB
C#

using CRM.Core.Common.EventBus;
using System;
using System.Collections.Generic;
namespace CRM.Core.BLL.EventBus.Events
{
public class OrderAndPayInfoEvent : IEvent
{
public int channel { get; set; }
/// <summary>
/// 订单列表信息
/// </summary>
public List<OrderAndPayInfo_Order> orderList { get; set; }
/// <summary>
/// 订金列表信息
/// </summary>
public List<OrderAndPayInfo_Deposit> depositList { get; set; }
/// <summary>
/// 支付使用信息
/// </summary>
public List<OrderAndPayInfo_Pay> payList { get; set; }
///// <summary>
///// 退款信息
///// </summary>
//public List<OrderAndPayInfo_Refund> refundList { get; set; }
}
/// <summary>
/// 订单信息(推送下去后只修改,不新增)
/// </summary>
public class OrderAndPayInfo_Order
{
public decimal OrderId { get; set; }
public string OrderStatus { get; set; }
public string OrderStatusName { get; set; }
/// <summary>
/// 到账金额
/// </summary>
public decimal? Arrivalpay { get; set; }
/// <summary>
/// 最后到款时间
/// </summary>
public DateTime? Arrivaltime { get; set; }
public string CName { get; set; }
public string ResId { get; set; }
public decimal? FinalPay { get; set; }
}
/// <summary>
/// 订金流水信息(推送下去后只修改,不新增)
/// </summary>
public class OrderAndPayInfo_Deposit
{
public int Id { get; set; }
public int PayType { get; set; }
public string PayTypeName { get; set; }
public int AuditStatus { get; set; }
public int? IsDelete { get; set; }
public int? Auditor { get; set; }
public string AuditorName { get; set; }
public DateTime? AuditTime { get; set; }
/// <summary>
/// 剩余金额
/// </summary>
public decimal? LastPrice { get; set; }
/// <summary>
/// 使用金额
/// </summary>
public decimal? UsePrice { get; set; }
/// <summary>
/// 冻结金额
/// </summary>
public decimal? FrozenPrice { get; set; }
}
/// <summary>
/// 金额使用表(推送下去后有则修改,无则新增)
/// </summary>
public class OrderAndPayInfo_Pay
{
public int id { get; set; }
public int orderid { get; set; }
public decimal needpay { get; set; }
public int paytype { get; set; }
public string paytypename { get; set; }
public DateTime? paydate { get; set; }
public decimal payprice { get; set; }
public string payname { get; set; }
public string remark { get; set; }
public int auditstatus { get; set; }
public int? auditor { get; set; }
public string auditorname { get; set; }
public DateTime? audittime { get; set; }
public string payno { get; set; }
public string companycode { get; set; }
public int? channel { get; set; }
public int isdelete { get; set; }
public string tradeno { get; set; }
public int? creator { get; set; }
public string creatorname { get; set; }
public string rejectremark { get; set; }
public int? depositid { get; set; }
public string checkreslut { get; set; }
public DateTime? checkpaytime { get; set; }
}
///// <summary>
///// 退款信息
///// </summary>
//public class OrderAndPayInfo_Refund
//{
// public int orderid { get; set; }
// public decimal refundprice { get; set; }
// public string refundtypename { get; set; }
// public DateTime? refunddate { get; set; }
// public string remark { get; set; }
// public string att { get; set; }
// public int auditstatus { get; set; }
// public int? auditor { get; set; }
// public string auditorname { get; set; }
// public DateTime? audittime { get; set; }
// public int isdelete { get; set; }
//}
}