using Ant.Core.SqlServer.BaseEntities;
using Central.Control.WebApi.Enum;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;
namespace Central.Control.WebApi.DbEntity
{
///
/// YW_PayCall支付回写表
///
public class YW_PayCall : SoftBaseEntity
{
///
/// 主键id
///
[Key]
[MaxLength(50)]
public string Id { set; get; } = string.Empty;
///
/// 订单id
///
[MaxLength(50)]
[Required(AllowEmptyStrings = true)]
public string OrderId { set; get; } = string.Empty;
///
/// 支付状态
///
public PayStatusEnum PayStatus { set; get; } = PayStatusEnum.UnPay;
///
/// 支付流水号
///
[MaxLength(100)]
[Required(AllowEmptyStrings = true)]
public string PaySerialId { set; get; } = string.Empty;
///
/// 支付账号
///
[MaxLength(100)]
[Required(AllowEmptyStrings = true)]
public string PayAccount { set; get; } = string.Empty;
}
}