using System;
using System.Xml.Serialization;
namespace Aop.Api.Domain
{
///
/// ExClientRateVO Data Structure.
///
[Serializable]
public class ExClientRateVO : AopObject
{
///
/// 协议编号
///
[XmlElement("agreement_id")]
public string AgreementId { get; set; }
///
/// 基准货币。汇率货币单位默认为1,即1货币单位的基础货币,对应非基准货币的价格
///
[XmlElement("base_ccy")]
public string BaseCcy { get; set; }
///
/// 买入价格 为交易对手添加了点差后,基准货币的买入价格,直接面向终端客户
///
[XmlElement("bid_rate")]
public string BidRate { get; set; }
///
/// 终端客户买入价格 面向交易对手的基准货币买入价格,不包含终端客户点差
///
[XmlElement("client_bid_rate")]
public string ClientBidRate { get; set; }
///
/// 客户id
///
[XmlElement("client_id")]
public string ClientId { get; set; }
///
/// 终端客户卖出价格 面向交易对手的基准货币卖出价格,不包含终端客户点差
///
[XmlElement("client_offer_rate")]
public string ClientOfferRate { get; set; }
///
/// 基准货币/非基准货币
///
[XmlElement("currency_pair")]
public string CurrencyPair { get; set; }
///
/// 汇率的失效时间
///
[XmlElement("expiry_time")]
public string ExpiryTime { get; set; }
///
/// 汇率生成日期,yyyymmdd
///
[XmlElement("generate_date")]
public string GenerateDate { get; set; }
///
/// 汇率生成时间 与rateTime一致
///
[XmlElement("generate_time")]
public string GenerateTime { get; set; }
///
/// 字典:T - 可交易,F - 仅作为参考,不可交易
///
[XmlElement("guaranteed")]
public string Guaranteed { 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("mid_rate")]
public string MidRate { get; set; }
///
/// 基准货币买入的最小金额,对于单笔交易
///
[XmlElement("minimum_bid_amount")]
public string MinimumBidAmount { get; set; }
///
/// 基准货币卖出的最小金额,对于单笔交易
///
[XmlElement("minimum_offer_amount")]
public string MinimumOfferAmount { get; set; }
///
/// 卖出价格 添加了交易对手点差后,基准货币的卖出价格,直接面向终端客户
///
[XmlElement("offer_rate")]
public string OfferRate { get; set; }
///
/// 在岸离岸标识 ON - 在岸,OFF - 离岸
///
[XmlElement("on_off_shore")]
public string OnOffShore { get; set; }
///
/// 该汇率的来源机构
///
[XmlElement("origin_rate_inst")]
public string OriginRateInst { get; set; }
///
/// 原始汇率来源机构,对该汇率的唯一标识
///
[XmlElement("origin_rate_ref")]
public string OriginRateRef { get; set; }
///
/// 汇率期限 字典:TODAY, TOMORROW, SPOT, O/N, T/N等标准期限
///
[XmlElement("period")]
public string Period { get; set; }
///
/// 子协议扩展号 对不同商户/渠道的报价协议
///
[XmlElement("profile_id")]
public string ProfileId { get; set; }
///
/// 非基准货币
///
[XmlElement("quote_ccy")]
public string QuoteCcy { get; set; }
///
/// 标识单一货币对,每次汇率生成时变化,不重复
///
[XmlElement("rate_ref")]
public string RateRef { get; set; }
///
/// 汇率发布时间
///
[XmlElement("rate_time")]
public string RateTime { get; set; }
///
/// 字典: SPOT - 即期,FORWORD - 远期,SWAP - 掉期点
///
[XmlElement("rate_type")]
public string RateType { get; set; }
///
/// 汇率类型为远期下,即期的买入价
///
[XmlElement("sp_bid")]
public string SpBid { get; set; }
///
/// 汇率类型为远期下,即期的中间价
///
[XmlElement("sp_mid")]
public string SpMid { get; set; }
///
/// 汇率类型为远期下,即期的卖出价
///
[XmlElement("sp_offer")]
public string SpOffer { get; set; }
///
/// 报价中心内部标准产品编码
///
[XmlElement("standard_product_rate_id")]
public string StandardProductRateId { get; set; }
///
/// 汇率的有效时间
///
[XmlElement("start_time")]
public string StartTime { get; set; }
///
/// 子协议id
///
[XmlElement("sub_agreement_id")]
public string SubAgreementId { get; set; }
///
/// 锁定汇率模式下,在新旧汇率交替时,仍可以使用旧汇率下单的最外时间
///
[XmlElement("threshold_time")]
public string ThresholdTime { get; set; }
///
/// 时间所在的时区
///
[XmlElement("time_zone")]
public string TimeZone { get; set; }
///
/// 交易货币类型 字典: DELIV - 原币交割,NDF - 非原币交割
///
[XmlElement("transaction_ccy_type")]
public string TransactionCcyType { get; set; }
///
/// 保价过期时间
///
[XmlElement("valid_time")]
public string ValidTime { get; set; }
}
}