using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Models
{
public class ViewOtherPriceOP
{
string priceName;
///
/// 费用名称
///
public string PriceName
{
get { return priceName; }
set { priceName = value; }
}
float price;
///
/// 费用金额
///
public float Price
{
get { return price; }
set { price = value; }
}
string name;
///
/// 币种
///
public string Name
{
get { return name; }
set { name = value; }
}
float spread;
///
/// 费用金额 - RMB
///
public float Spread
{
get { return spread; }
set { spread = value; }
}
string dayRate;
///
/// 当时汇率
///
public string DayRate
{
get { return dayRate; }
set { dayRate = value; }
}
string remark;
///
/// 备注
///
public string Remark
{
get { return remark; }
set { remark = value; }
}
float rMBPrice;
///
/// 人民币金额
///
public float RMBPrice
{
get { return rMBPrice; }
set
{
if (value == 0.0)
{
try
{
rMBPrice = Spread * float.Parse(dayRate);
}
catch
{
rMBPrice = 0f;
}
}
else
rMBPrice = value;
}
}
string operatorDate;
///
/// 时间
///
public string OperatorDate
{
get { return operatorDate; }
set { operatorDate = value; }
}
string isPay;
///
/// 付款状态
///
public string IsPay
{
get { return isPay; }
set
{
if (value != null && value != "" && value == "0")
isPay = "未付款";
else if (value != null && value != "" && value == "1")
isPay = "已付款";
else
isPay = "未付款";
}
}
string payee;
///
/// 收款方
///
public string Payee
{
get { return payee; }
set { payee = value; }
}
string orbitalPrivateTransfer;
///
/// 费用标识
///
public string OrbitalPrivateTransfer
{
get { return orbitalPrivateTransfer; }
set
{
if (value != null && value != "" && value == "0")
orbitalPrivateTransfer = "公转";
else if (value != null && value != "" && value == "1")
orbitalPrivateTransfer = "私转";
else
orbitalPrivateTransfer = "未知";
}
}
string payDid;
///
/// 支付方式
///
public string PayDid
{
get { return payDid; }
set { payDid = value; }
}
string paydName;
///
/// 支付方式(名称)
///
public string PaydName
{
get { return paydName; }
set { paydName = value; }
}
string auditGMDate;
public string AuditGMDate
{
get { return auditGMDate; }
set { auditGMDate = value; }
}
string operators;
public string Operator
{
get { return operators; }
set { operators = value;}
}
public int IsMatchCreditCard { get; set; }
}
}