|
|
|
|
using System;
|
|
|
|
|
using System.Data;
|
|
|
|
|
using HcUtility.Core;
|
|
|
|
|
using Newtonsoft.Json;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
namespace DSWeb.MvcShipping.Models.MsFeeTemplate
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
[JsonObject]
|
|
|
|
|
public class FeeTemplateDetail : ModelObjectBase
|
|
|
|
|
{
|
|
|
|
|
#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 _customer_type;
|
|
|
|
|
private string _unit;//标准
|
|
|
|
|
private string _currency;//币别
|
|
|
|
|
private decimal _unit_price;//单价
|
|
|
|
|
private string _remark;//备注
|
|
|
|
|
private int _sort=0;//排序值
|
|
|
|
|
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;//汇率
|
|
|
|
|
private decimal _taxrate;//税率
|
|
|
|
|
private decimal _tax;//税额
|
|
|
|
|
private bool _ISCTN;
|
|
|
|
|
private string _ISCTNREF;//备注
|
|
|
|
|
private string _FEEFRT;//备注
|
|
|
|
|
private bool _ISINVOICE = false;
|
|
|
|
|
private bool _ISADVANCEDPAY = false;
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
public FeeTemplateDetail()
|
|
|
|
|
{
|
|
|
|
|
TableName = "code_fee_templatedetail";
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#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; }
|
|
|
|
|
}
|
|
|
|
|
public string CustomerType
|
|
|
|
|
{
|
|
|
|
|
get { return _customer_type; }
|
|
|
|
|
set { _customer_type = 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; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public Decimal TaxUnitPrice
|
|
|
|
|
{
|
|
|
|
|
get;
|
|
|
|
|
set;
|
|
|
|
|
}
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 备注
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string Remark
|
|
|
|
|
{
|
|
|
|
|
get { return _remark; }
|
|
|
|
|
set { _remark = value; }
|
|
|
|
|
}
|
|
|
|
|
public string FEEFRT
|
|
|
|
|
{
|
|
|
|
|
get { return _FEEFRT; }
|
|
|
|
|
set { _FEEFRT = 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; }
|
|
|
|
|
}
|
|
|
|
|
public decimal TaxRate
|
|
|
|
|
{
|
|
|
|
|
get { return _taxrate; }
|
|
|
|
|
set { _taxrate = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public decimal AccTaxRate { get; set; }
|
|
|
|
|
public decimal Tax
|
|
|
|
|
{
|
|
|
|
|
get { return _tax; }
|
|
|
|
|
set { _tax= value; }
|
|
|
|
|
}
|
|
|
|
|
public bool ISCTN
|
|
|
|
|
{
|
|
|
|
|
get { return _ISCTN; }
|
|
|
|
|
set { _ISCTN = value; }
|
|
|
|
|
}
|
|
|
|
|
public string ISCTNREF
|
|
|
|
|
{
|
|
|
|
|
get { return _ISCTNREF; }
|
|
|
|
|
set { _ISCTNREF = value; }
|
|
|
|
|
}
|
|
|
|
|
public bool ISINVOICE
|
|
|
|
|
{
|
|
|
|
|
get { return _ISINVOICE; }
|
|
|
|
|
set { _ISINVOICE = value; }
|
|
|
|
|
}
|
|
|
|
|
public bool ISADVANCEDPAY
|
|
|
|
|
{
|
|
|
|
|
get { return _ISADVANCEDPAY; }
|
|
|
|
|
set { _ISADVANCEDPAY = value; }
|
|
|
|
|
}
|
|
|
|
|
public string SALECORP { set; get; }
|
|
|
|
|
|
|
|
|
|
public string FEEDESCRIPTION { set; get; }
|
|
|
|
|
public string FEEGROUP { set; get; }
|
|
|
|
|
#endregion
|
|
|
|
|
}
|
|
|
|
|
}
|