using OfficeOpenXml.Drawing;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace YLErp.Model
{
public class SwapEventEmailResponse
{
public long? event_id { get; set; }
public int client_id { get; set; }
///
/// 客户名称
///
public string client_name { get; set; }
///
/// 客户类型
///
public string client_type { get; set; }
///
/// 交易编号
///
public string trade_number { get; set; }
///
/// 事件类型
///
public int event_type { get; set; }
[NotMapped]
public string event_typeStr
{
get
{
switch (event_type)
{
case 1: return "开仓";
case 2: return "平仓";
case 3: return "需追保";
default: return "";
}
}
}
///
/// 邮件是否已发送
///
public bool send_email { get; set; }
///
/// 邮件发送备注
///
public string send_remark { get; set; }
///
/// 0:未转发;1:已转发
///
public int transpond { get; set; }
public string transpondStr { get; set; }
public double? WorstCastClientPayable { get; set; }
///
/// 是否单开单平
///
public bool? single { get; set; }
public DateTime event_date { get; set; }
}
}