DS7/DSWeb/Models/ExchangeRateEntity.cs

149 lines
4.1 KiB
C#

using System;
using System.Data;
namespace DSWeb.Models
{
/// <summary>
/// 汇率表
/// </summary>
public class ExchangeRateEntity
{
#region 私有成员
private string _gid;//主键唯一值
private string _currency_id;//币别GID
private decimal _value;//汇率值
private string _type;//汇率类型--"common"普通类型;"shipping"业务日期判断开船日期是否在时间区间内;"account"会计期间-判断会计期间是否在区间内
private DateTime _start_time;//起始时间
private DateTime _end_time;//结束时间
private string _createuser;//创建人GID
private DateTime _create_time;//创建时间
private string _modifieduser;//最后一次更新操作人GID
private DateTime _modified_time;//最后一次更新操作时间
private string _company_id;//分公司GID
private bool _is_delete;//是否删除
private string _delete_user;//删除操作人
private DateTime _delete_time;//删除时间
#endregion
public ExchangeRateEntity()
{
}
#region 读写属性
/// <summary>
/// 主键唯一值
/// </summary>
public string GID
{
get { return _gid; }
set { _gid = value; }
}
/// <summary>
/// 币别GID
/// </summary>
public string CurrencyID
{
get { return _currency_id; }
set { _currency_id = value; }
}
/// <summary>
/// 汇率值
/// </summary>
public decimal Value
{
get { return _value; }
set { _value = value; }
}
/// <summary>
/// 汇率类型--"common"普通类型;"shipping"业务日期判断开船日期是否在时间区间内;"account"会计期间-判断会计期间是否在区间内
/// </summary>
public string Type
{
get { return _type; }
set { _type = value; }
}
/// <summary>
/// 起始时间
/// </summary>
public DateTime StartTime
{
get { return _start_time; }
set { _start_time = value; }
}
/// <summary>
/// 结束时间
/// </summary>
public DateTime EndTime
{
get { return _end_time; }
set { _end_time = value; }
}
/// <summary>
/// 创建人GID
/// </summary>
public string CreateUserID
{
get { return _createuser; }
set { _createuser = value; }
}
/// <summary>
/// 创建时间
/// </summary>
public DateTime CreateTime
{
get { return _create_time; }
set { _create_time = value; }
}
/// <summary>
/// 最后一次更新操作人GID
/// </summary>
public string ModifiedUserID
{
get { return _modifieduser; }
set { _modifieduser = value; }
}
/// <summary>
/// 最后一次更新操作时间
/// </summary>
public DateTime ModifiedTime
{
get { return _modified_time; }
set { _modified_time = value; }
}
/// <summary>
/// 分公司GID
/// </summary>
public string CompanyID
{
get { return _company_id; }
set { _company_id = value; }
}
/// <summary>
/// 是否删除
/// </summary>
public bool IsDelete
{
get { return _is_delete; }
set { _is_delete = value; }
}
/// <summary>
/// 删除操作人
/// </summary>
public string DeleteUser
{
get { return _delete_user; }
set { _delete_user = value; }
}
/// <summary>
/// 删除时间
/// </summary>
public DateTime DeleteTime
{
get { return _delete_time; }
set { _delete_time = value; }
}
#endregion
}
}