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