| | |
| | | using LifePayment.Domain.Shared; |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.Linq; |
| | | using System.Text; |
| | | using System.Threading.Tasks; |
| | | using ZeroD.Util; |
| | | using ZeroD.Base.Web.Models; |
| | | |
| | | namespace LifePayment.Application.Contracts; |
| | | |
| | |
| | | public LifePayRateTypeEnum RateType { get; set; } |
| | | |
| | | public decimal Rate { get; set; } |
| | | |
| | | public Guid Id { get; set; } |
| | | } |
| | | |
| | | public class LifePayRateInput |
| | | { |
| | | public LifePayRateTypeEnum RateType { get; set; } |
| | | |
| | | public decimal Rate { get; set; } |
| | | |
| | | public Guid? Id { get; set; } |
| | | } |
| | | |
| | | public class UserListOutput |
| | |
| | | /// 生活缴费支付类型 |
| | | /// </summary> |
| | | public LifePayTypeEnum? LifePayType { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 渠道名称 |
| | | /// </summary> |
| | | public string ChannelName { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 订单类型 |
| | |
| | | /// 下单时间 |
| | | /// </summary> |
| | | public DateTime CreationTime { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 退款时间 |
| | | /// </summary> |
| | | public DateTime? RefundTime { get; set; } |
| | | |
| | | |
| | | public string RefundApplyRemark { get; set; } |
| | | |
| | | public string RefundCheckRemark { get; set; } |
| | | |
| | | public string ACOOLYOrderNo { get; set; } |
| | | |
| | | } |
| | | |
| | | public class LifePayOrderListTemplate |
| | | { |
| | | |
| | | [Name("序号")] |
| | | public int SerialNumber { get; set; } |
| | | |
| | | [Name("手机号")] |
| | | public string PhoneNumber { get; set; } |
| | | |
| | | public LifePayTypeEnum? LifePayType { get; set; } |
| | | |
| | | public LifePayOrderTypeEnum LifePayOrderType { get; set; } |
| | | |
| | | [Name("充值类型")] |
| | | public string LifePayOrderTypeStr { get; set; } |
| | | |
| | | [Name("充值渠道")] |
| | | public string ChannelName { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 下单时间 |
| | | /// </summary> |
| | | public DateTime CreationTime { get; set; } |
| | | |
| | | [Name("下单时间")] |
| | | public string CreationTimeStr { get; set; } |
| | | |
| | | [Name("平台订单号")] |
| | | public string OrderNo { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 充值金额 |
| | | /// </summary> |
| | | public decimal RechargeAmount { get; set; } |
| | | |
| | | [Name("充值金额")] |
| | | public string RechargeAmountStr { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 优惠金额 |
| | | /// </summary> |
| | | public decimal DiscountAmount { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 实付金额 |
| | | /// </summary> |
| | | public decimal PayAmount { get; set; } |
| | | |
| | | [Name("实付金额")] |
| | | public string PayAmountStr { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 支付时间 |
| | | /// </summary> |
| | | public DateTime? PayTime { get; set; } |
| | | |
| | | [Name("支付时间")] |
| | | public string PayTimeStr { get; set; } |
| | | |
| | | [Name("支付渠道")] |
| | | public string LifePayTypeStr { get; set; } |
| | | |
| | | [Name("外部订单号")] |
| | | public string ACOOLYOrderNo { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 支付状态 |
| | | /// </summary> |
| | | public LifePayStatusEnum PayStatus { get; set; } |
| | | |
| | | [Name("支付状态")] |
| | | public string PayStatusStr { get; set; } |
| | | |
| | | [Name("支付渠道流水号")] |
| | | public string OutOrderNo { get; set; } |
| | | |
| | | [Name("退款申请")] |
| | | public string RefundApplyRemark { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 订单状态 |
| | | /// </summary> |
| | | public LifePayOrderStatusEnum LifePayOrderStatus { get; set; } |
| | | |
| | | [Name("订单状态")] |
| | | public string LifePayOrderStatusStr { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 完成时间 |
| | | /// </summary> |
| | | public DateTime? FinishTime { get; set; } |
| | | |
| | | [Name("完成时间")] |
| | | public string FinishTimeStr { get; set; } |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | } |
| | | |
| | | public class UserLifePayOrderOutput |
| | |
| | | /// 退款时间 |
| | | /// </summary> |
| | | public DateTime? RefundTime { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 退款凭证 |
| | | /// </summary> |
| | | public string RefundCredentialsImgUrl { get; set; } |
| | | |
| | | |
| | | public string RefundApplyRemark { get; set; } |
| | | |
| | | public string RefundCheckRemark { get; set; } |
| | | /// <summary> |
| | | /// 渠道流水号 |
| | | /// </summary> |
| | | public string ACOOLYOrderNo { get; set; } |
| | | } |
| | | |
| | | public class CreateLifePayOrderOutput |
| | | { |
| | | public string OrderNo { get; set; } |
| | | } |
| | | |
| | | public class UserLifePayOrderRefundOutput |
| | | { |
| | | /// <summary> |
| | | /// 订单编号 |
| | | /// </summary> |
| | | public Guid Id { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 订单号 |
| | | /// </summary> |
| | | public string OrderNo { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 退款原因 |
| | | /// </summary> |
| | | public string RefundApplyRemark { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 后台填写的驳回原因 |
| | | /// </summary> |
| | | public string RefundCheckRemark { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 订单状态 |
| | | /// </summary> |
| | | public LifePayOrderStatusEnum LifePayOrderStatus { get; set; } |
| | | } |
| | | |
| | | public class UserAccountOutput |
| | | { |
| | | |
| | | public Guid Id { get; set; } |
| | | |
| | | |
| | | /// <summary> |
| | | /// 生活缴费类型 |
| | | /// </summary> |
| | | public LifePayOrderTypeEnum LifePayType { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 运营商 |
| | | /// </summary> |
| | | public string Operators { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 手机号/户号 |
| | | /// </summary> |
| | | public string Content { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 省 |
| | | /// </summary> |
| | | public string Province { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 市 |
| | | /// </summary> |
| | | public string City { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 拓展字段(电费类型) |
| | | /// </summary> |
| | | public string ExtraProperties { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 备注 |
| | | /// </summary> |
| | | public string Remark { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 创建时间 |
| | | /// </summary> |
| | | public DateTime CreationTime { get; set; } |
| | | |
| | | public bool IsDeleted { get; set; } |
| | | } |