NewGaoKaoApi/PaymentSDK/AliPay/Domain/LotteryPresent.cs

67 lines
1.9 KiB
C#
Raw Permalink Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

using System;
using System.Xml.Serialization;
namespace Aop.Api.Domain
{
/// <summary>
/// LotteryPresent Data Structure.
/// </summary>
[Serializable]
public class LotteryPresent : AopObject
{
/// <summary>
/// 用户的支付宝用户ID
/// </summary>
[XmlElement("alipay_user_id")]
public string AlipayUserId { get; set; }
/// <summary>
/// 彩种名称
/// </summary>
[XmlElement("lottery_type_name")]
public string LotteryTypeName { get; set; }
/// <summary>
/// 赠送时间格式yyyy-MM-dd hh:mm:ss
/// </summary>
[XmlElement("present_date")]
public string PresentDate { get; set; }
/// <summary>
/// 订单ID
/// </summary>
[XmlElement("present_id")]
public long PresentId { get; set; }
/// <summary>
/// 彩票注数
/// </summary>
[XmlElement("stake_count")]
public long StakeCount { get; set; }
/// <summary>
/// 订单状态含义如下0-卖家资金未冻结;1-买家未领取;2-买家己领取;3-己创建彩票订单;4-彩票订单出票成功;5-资金己转交代理商;6-订单己过期,待退款;7-冻结资金己退款;8-订单取消。
/// </summary>
[XmlElement("status")]
public long Status { get; set; }
/// <summary>
/// 订单状态描述参见status描述。
/// </summary>
[XmlElement("status_desc")]
public string StatusDesc { get; set; }
/// <summary>
/// 赠言不超过20个汉字
/// </summary>
[XmlElement("sweety_words")]
public string SweetyWords { get; set; }
/// <summary>
/// 中奖金额单位为0表示未中奖
/// </summary>
[XmlElement("win_fee")]
public long WinFee { get; set; }
}
}