using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations.Schema; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Hg.Core.Domain.Dto.OrderRefund { public class OrderRefundDto { public int Id { get; set; } /// /// 投诉单号 /// public string? ComplaintId { get; set; } /// /// 客户ID /// public string? Resid { get; set; } /// /// UMID /// public string? UMID { get; set; } /// /// 退款订单号 /// public int? Orderid { get; set; } /// /// 客户姓名 /// public string? Cname { get; set; } /// /// 事业部 /// public int? Deptid { get; set; } /// /// 事业部 /// public string? Deptname { get; set; } /// /// 成交客服 /// public int? Eid { get; set; } /// /// 成交客服 /// public string? Euser { get; set; } /// /// 投诉类型 /// public OrderRefundType? RefundType { get; set; } public string? RefundTypeStr { get { return RefundType?.GetDescription(); } } /// /// 业务确认状态 /// public OrderRefundBusinessStatus? BusinessStatus { get; set; } public string? BusinessStatusStr { get { return BusinessStatus?.GetDescription(); } } /// /// 申请状态 /// public OrderRefundApplyStatus? ApplyStatus { get; set; } public string? ApplyStatusStr { get { return ApplyStatus?.GetDescription(); } } /// /// 退款状态 /// public OrderRefundStatus? RefundStatus { get; set; } public string? RefundStatusStr { get { return RefundStatus?.GetDescription(); } } /// /// 支付类型 /// public PayStatus? PayStatus { get; set; } public string? PayStatusStr { get { return PayStatus?.GetDescription(); } } /// /// 退款人账号 /// public string? RefundNo { get; set; } /// /// 退款人姓名 /// public string? RefundName { get; set; } /// /// 退款金额 /// public decimal? RefundPrice { get; set; } /// /// 退款日期 /// public DateTime? RefundDate { get; set; } public string? RefundDateStr { get { return RefundDate?.ToString("yyyy-MM-dd"); } } /// /// 退款说明 /// public string? RefundRemark { get; set; } /// /// 创建人 /// public string? Creator { get; set; } /// /// 创建时间 /// public DateTime CreateTime { get; set; } /// /// 更新人 /// public string? Updater { get; set; } /// /// 更新时间 /// public DateTime? UpdateTime { get; set; } public int? CreateEid { get; set; } public int? UpdateEid { get; set; } /// /// 是否有处理意见 /// public bool HasComplianceRemark { get; set; } /// /// 是否有审核意见 /// public bool HasAuditRemark { get; set; } /// /// 是否有附件 /// public bool HasAttachment { get; set; } public string? Attachment { get; set; } public string? ComplianceAttachment { get; set; } /// /// 处理结果 /// public OrderRefundComplianceResult? ComplianceResult { get; set; } public string? ComplianceResultStr { get { return ComplianceResult?.GetDescription(); } } /// /// 处理说明 /// public string? ComplianceRemark { get; set; } public string? ComplianceOperator { get; set; } public int? ComplianceOperatorEid { get; set; } public DateTime? ComplianceTime { get; set; } } public class OrderRefundAutoDto { public int orderid { get; set; } public decimal refundprice { get; set; } public string account { get; set; } public string username { get; set; } public int refundtype { get; set; } public DateTime refunddate { get; set; } public string remark { get; set; } public string att { get; set; } public string companycode { get; set; } public int? creator { get; set; } public string creatorname { get; set; } public int? isacturalrefund { get; set; } /// /// 申请类型 /// public int? applytype { get; set; } } public class retMsg { public bool result { get; set; } public int retcode { get; set; } public string retmsg { get; set; } } public class SYNC_PUSH_DTO { public string jsontext { get; set; } public string bidatatype { get; set; } public string deptcode { get; set; } public int? isbatch { get; set; } } }