126 lines
3.6 KiB
C#
126 lines
3.6 KiB
C#
using Newtonsoft.Json;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
|
|
namespace YLErp.DBModels
|
|
{
|
|
/// <summary>
|
|
/// 服务商配置
|
|
/// </summary>
|
|
[Table("servicerepresentativeconfig")]
|
|
public class ServiceRepresentativeConfig : DBModelWithOperator, IDataTrace
|
|
{
|
|
public static string LogClass = "服务产商通道费设置";
|
|
|
|
/// <summary>
|
|
/// 服务商的Id
|
|
/// </summary>
|
|
[DisplayName("服务商的Id")]
|
|
[Required]
|
|
public int ServiceId { get; set; }
|
|
|
|
/// <summary>
|
|
/// 加成费率
|
|
/// </summary>
|
|
[DisplayName("加成费率")]
|
|
[Required]
|
|
public double PremiumRateVariation { get; set; }
|
|
|
|
/// <summary>
|
|
/// 服务商别名
|
|
/// </summary>
|
|
[DisplayName("服务商别名")]
|
|
public string Alias { get; set; }
|
|
|
|
/// <summary>
|
|
/// 默认交易/行权指令
|
|
/// </summary>
|
|
[DisplayName("默认交易/行权指令")]
|
|
public string DefaultTradeInstruction { get; set; }
|
|
|
|
/// <summary>
|
|
/// 协议版本号
|
|
/// </summary>
|
|
[DisplayName("协议版本号")]
|
|
public string ContractVersion { get; set; }
|
|
|
|
/// <summary>
|
|
/// 默认期权费率
|
|
/// </summary>
|
|
[DisplayName("默认期权费率")]
|
|
public double? DefaultPremiumRate { get; set; }
|
|
|
|
/// <summary>
|
|
/// 卖方权利金交割日类型
|
|
/// </summary>
|
|
[DisplayName("卖方权利金交割日类型")]
|
|
public int? SellerRightDeliveryDayType { get; set; }
|
|
|
|
/// <summary>
|
|
/// 交易确认书编码长度
|
|
/// </summary>
|
|
[DisplayName("交易确认书编码长度")]
|
|
public int? ContractNoLength { get; set; }
|
|
|
|
/// <summary>
|
|
/// 交易确认书子编码样式
|
|
/// </summary>
|
|
[DisplayName("交易确认书子编码样式")]
|
|
public string ContractSubNoStyle { get; set; }
|
|
|
|
/// <summary>
|
|
/// 行权规则
|
|
/// </summary>
|
|
[DisplayName("行权规则")]
|
|
public int? ExerciseRule { get; set; }
|
|
|
|
/// <summary>
|
|
/// 服务商名称
|
|
/// </summary>
|
|
[DisplayName("服务商名称")]
|
|
[NotMapped]
|
|
public string ServiceName { get; set; }
|
|
|
|
/// <summary>
|
|
/// 协议版本号
|
|
/// </summary>
|
|
[DisplayName("个股期权买方协议版本号")]
|
|
public string StockBuyContractVersion { get; set; }
|
|
|
|
/// <summary>
|
|
/// 协议版本号
|
|
/// </summary>
|
|
[DisplayName("个股期权卖方协议版本号")]
|
|
public string StockSellContractVersion { get; set; }
|
|
|
|
/// <summary>
|
|
/// 协议版本号
|
|
/// </summary>
|
|
[DisplayName("商品期货期权买方协议版本号")]
|
|
public string FutureBuyContractVersion { get; set; }
|
|
|
|
/// <summary>
|
|
/// 协议版本号
|
|
/// </summary>
|
|
[DisplayName("商品期货期权卖方协议版本号")]
|
|
public string FutureSellContractVersion { get; set; }
|
|
|
|
[DisplayName("远期商品期货卖方协议版本号")]
|
|
public string ForwardBuyContractVersion { get; set; }
|
|
|
|
[DisplayName("远期商品期货卖方协议版本号")]
|
|
public string ForwardSellContractVersion { get; set; }
|
|
/// <summary>
|
|
/// 是否有效
|
|
/// </summary>
|
|
[DisplayName("是否有效")]
|
|
|
|
public string ValidState { get; set; }
|
|
|
|
public string GetDataTraceKeyInfo()
|
|
{
|
|
return "服务商配置";
|
|
}
|
|
}
|
|
}
|