using System; using System.Xml.Serialization; namespace Aop.Api.Domain { /// /// PricingVO Data Structure. /// [Serializable] public class PricingVO : AopObject { /// /// 买入价 /// [XmlElement("bid")] public string Bid { get; set; } /// /// 基准币种 /// [XmlElement("currency")] public string Currency { get; set; } /// /// 基本币种单位 /// [XmlElement("currency_unit")] public long CurrencyUnit { get; set; } /// /// 汇率失效时间yyyy-MM-dd HH:mm:ss /// [XmlElement("expiry_timestamp")] public string ExpiryTimestamp { get; set; } /// /// 汇率生成时间 用来做幂等 yyyy-MM-dd HH:mm:ss /// [XmlElement("generate_timestamp")] public string GenerateTimestamp { get; set; } /// /// 远期或者掉期到期时间 yyyyMMdd /// [XmlElement("maturity_date")] public string MaturityDate { get; set; } /// /// 该价格的最大买入量 /// [XmlElement("maximum_bid_amount")] public long MaximumBidAmount { get; set; } /// /// 该价格的最大卖出量 /// [XmlElement("maximum_offer_amount")] public long MaximumOfferAmount { get; set; } /// /// 备注 /// [XmlElement("memo")] public string Memo { get; set; } /// /// 中间价 /// [XmlElement("mid")] public string Mid { get; set; } /// /// 该价格的最小买入量 /// [XmlElement("minimum_bid_amount")] public long MinimumBidAmount { get; set; } /// /// 该价格的最小卖出量 /// [XmlElement("minimum_offer_amount")] public long MinimumOfferAmount { get; set; } /// /// 卖出价 /// [XmlElement("offer")] public string Offer { get; set; } /// /// 标准期限TODAY TOM SPOT 1D 1W 1M 1Y /// [XmlElement("period")] public string Period { get; set; } /// /// 源汇率参考id 唯一id /// [XmlElement("rate_reference_id")] public string RateReferenceId { get; set; } /// /// 汇率类型 SPOT FORWARD /// [XmlElement("rate_type")] public string RateType { get; set; } /// /// 即期买入价 /// [XmlElement("spot_bid")] public string SpotBid { get; set; } /// /// 即期中间价 /// [XmlElement("spot_mid")] public string SpotMid { get; set; } /// /// 即期卖出价 /// [XmlElement("spot_offer")] public string SpotOffer { get; set; } /// /// 汇率生效时间 yyyy-MM-dd HH:mm:ss /// [XmlElement("start_timestamp")] public string StartTimestamp { get; set; } /// /// 货币对 /// [XmlElement("symbol")] public string Symbol { get; set; } /// /// 汇率缓冲时间 yyyy-MM-dd HH:mm:ss /// [XmlElement("threshold_timestamp")] public string ThresholdTimestamp { get; set; } /// /// 锁汇失效时间 yyyy-MM-dd HH:mm:ss /// [XmlElement("valid_timestamp")] public string ValidTimestamp { get; set; } } }