|
|
|
|
using System;
|
|
|
|
|
using System.Data;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
namespace DSWeb.Models
|
|
|
|
|
{
|
|
|
|
|
public class FeeTemplateDetailEntity
|
|
|
|
|
{
|
|
|
|
|
#region 私有成员
|
|
|
|
|
private string _gid;//主键唯一值
|
|
|
|
|
private string _template_id;//费用模板GID(主表)
|
|
|
|
|
private string _fee_code;//费用代码
|
|
|
|
|
private string _fee_name;//费用名称
|
|
|
|
|
private string _customer_name;//结算单位
|
|
|
|
|
private int _client;//客户名称
|
|
|
|
|
private string _unit;//标准
|
|
|
|
|
private string _currency;//币别
|
|
|
|
|
private decimal _unit_price;//单价
|
|
|
|
|
private string _remark;//备注
|
|
|
|
|
private int _sort;//排序值
|
|
|
|
|
private string _create_user;//创建人
|
|
|
|
|
private DateTime _create_time;//创建时间
|
|
|
|
|
private string _modified_user;//最后一次更新操作人GID
|
|
|
|
|
private DateTime _modified_time;//最后一次更新操作时间
|
|
|
|
|
private int _fee_type;//费用类型 1-应收 2-应付
|
|
|
|
|
private decimal _exchange_rate;//汇率
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
public FeeTemplateDetailEntity()
|
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#region 读写属性
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 主键唯一值
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string GID
|
|
|
|
|
{
|
|
|
|
|
get { return _gid; }
|
|
|
|
|
set { _gid = value; }
|
|
|
|
|
}
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 费用模板GID(主表)
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string TemplateID
|
|
|
|
|
{
|
|
|
|
|
get { return _template_id; }
|
|
|
|
|
set { _template_id = value; }
|
|
|
|
|
}
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 费用代码
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string FeeCode
|
|
|
|
|
{
|
|
|
|
|
get { return _fee_code; }
|
|
|
|
|
set { _fee_code = value; }
|
|
|
|
|
}
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 费用名称
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string FeeName
|
|
|
|
|
{
|
|
|
|
|
get { return _fee_name; }
|
|
|
|
|
set { _fee_name = value; }
|
|
|
|
|
}
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 结算单位
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string CustomerName
|
|
|
|
|
{
|
|
|
|
|
get { return _customer_name; }
|
|
|
|
|
set { _customer_name = value; }
|
|
|
|
|
}
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 客户名称
|
|
|
|
|
/// </summary>
|
|
|
|
|
public int Client
|
|
|
|
|
{
|
|
|
|
|
get { return _client; }
|
|
|
|
|
set { _client = value; }
|
|
|
|
|
}
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 标准
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string Unit
|
|
|
|
|
{
|
|
|
|
|
get { return _unit; }
|
|
|
|
|
set { _unit = value; }
|
|
|
|
|
}
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 币别
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string Currency
|
|
|
|
|
{
|
|
|
|
|
get { return _currency; }
|
|
|
|
|
set { _currency = value; }
|
|
|
|
|
}
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 单价
|
|
|
|
|
/// </summary>
|
|
|
|
|
public Decimal UnitPrice
|
|
|
|
|
{
|
|
|
|
|
get { return _unit_price; }
|
|
|
|
|
set { _unit_price = value; }
|
|
|
|
|
}
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 备注
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string Remark
|
|
|
|
|
{
|
|
|
|
|
get { return _remark; }
|
|
|
|
|
set { _remark = value; }
|
|
|
|
|
}
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 排序值
|
|
|
|
|
/// </summary>
|
|
|
|
|
public int Sort
|
|
|
|
|
{
|
|
|
|
|
get { return _sort; }
|
|
|
|
|
set { _sort = value; }
|
|
|
|
|
}
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 创建人
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string CreateUser
|
|
|
|
|
{
|
|
|
|
|
get { return _create_user; }
|
|
|
|
|
set { _create_user = value; }
|
|
|
|
|
}
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 创建时间
|
|
|
|
|
/// </summary>
|
|
|
|
|
public DateTime CreateTime
|
|
|
|
|
{
|
|
|
|
|
get { return _create_time; }
|
|
|
|
|
set { _create_time = value; }
|
|
|
|
|
}
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 最后一次更新操作人GID
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string ModifiedUser
|
|
|
|
|
{
|
|
|
|
|
get { return _modified_user; }
|
|
|
|
|
set { _modified_user = value; }
|
|
|
|
|
}
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 最后一次更新操作时间
|
|
|
|
|
/// </summary>
|
|
|
|
|
public DateTime ModifiedTime
|
|
|
|
|
{
|
|
|
|
|
get { return _modified_time; }
|
|
|
|
|
set { _modified_time = value; }
|
|
|
|
|
}
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 费用类型 1-应收 2-应付
|
|
|
|
|
/// </summary>
|
|
|
|
|
public int FeeType
|
|
|
|
|
{
|
|
|
|
|
get { return _fee_type; }
|
|
|
|
|
set { _fee_type = value; }
|
|
|
|
|
}
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 汇率
|
|
|
|
|
/// </summary>
|
|
|
|
|
public decimal ExchangeRate
|
|
|
|
|
{
|
|
|
|
|
get { return _exchange_rate; }
|
|
|
|
|
set { _exchange_rate = value; }
|
|
|
|
|
}
|
|
|
|
|
#endregion
|
|
|
|
|
}
|
|
|
|
|
}
|