40 lines
1.4 KiB
C#
40 lines
1.4 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using ARW.Model.Models.Business.Payments;
|
|
|
|
namespace ARW.Model.Dto.Business.Payments
|
|
{
|
|
/// <summary>
|
|
/// 支付订单输入对象
|
|
/// </summary>
|
|
public class PaymentDto
|
|
{
|
|
public int PaymentId { get; set; }
|
|
public long PaymentGuid { get; set; }
|
|
public string PaymentOvertimeNumber { get; set; }
|
|
[Required(ErrorMessage = "操作状态(1待支付 |2已支付 | 3已取消 | 4已退款)不能为空")]
|
|
public int PaymentStatus { get; set; }
|
|
public decimal PaymentMoney { get; set; }
|
|
public decimal PaymentBeforeMoney { get; set; }
|
|
public string PaymentRefundNumber { get; set; }
|
|
public string PaymentWeixinNumber { get; set; }
|
|
[Required(ErrorMessage = "系统订单号不能为空")]
|
|
public string PaymentNumber { get; set; }
|
|
[Required(ErrorMessage = "操作客户guid(外键)不能为空")]
|
|
public string CustomerGuid { get; set; }
|
|
public long? PaymentBusinessGuid { get; set; }
|
|
[Required(ErrorMessage = "购买类型(1| )不能为空")]
|
|
public int PaymentBuytype { get; set; }
|
|
}
|
|
|
|
|
|
/// <summary>
|
|
/// 支付订单查询对象
|
|
/// </summary>
|
|
public class PaymentQueryDto : PagerInfo
|
|
{
|
|
public int? PaymentStatus { get; set; }
|
|
}
|
|
}
|