You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

245 lines
7.0 KiB
C#

9 months ago
using System;
using System.Data;
namespace DSWeb.Models
{
public class FeeDoEntity
{
#region 私有成员
private string _gid;//主键唯一值
private string _bill_no;//结算编号
private string _bsno;//业务编号
private string _mbl_no;//提单号
private string _hbl_no;//分单号
private string _customer_name;//结算客户
private int _bs_type;//业务类型
private string _fee_id;//费用GID
private string _fee_name;//费用名称
private string _currency;//币别
private decimal _amount;//应结金额
private decimal _do_amount;//实结金额
private int _fee_type;//收、付类型 值1-收;值2-付
private int _category;//处理类别 值1-对帐; 值2-结算; 值3-开票
private int _bill_status;//单据状态 值1-锁定; 值2-未锁定
private string _remark;//备注
private bool _is_deleted;//是否被删除
private int _orig;//原值标识 值1-原费用值 值2-手动添加费用,系统内没有相关信息 值3-自定义费用,即将合计后的费用重新命名的费用
private string _original_fee_name;//更改后的费用名称
private decimal _original_fee_cstl;//更改应收费用
private string _orig_currency;//原始币别
private decimal _exchange_rate;//汇率
private decimal _unsettle_amount;//未结算金额
private string _invoice_settle_no;//发票BILLNO(发票收费结算过之后记录发票业务编号)
private string _company_id;//分公司GID
#endregion
public FeeDoEntity()
{
}
#region 读写属性
/// <summary>
/// 主键唯一值
/// </summary>
public string GID
{
get { return _gid; }
set { _gid = value; }
}
/// <summary>
/// 结算编号
/// </summary>
public string BillNO
{
get { return _bill_no; }
set { _bill_no = value; }
}
/// <summary>
/// 业务编号
/// </summary>
public string BSNO
{
get { return _bsno; }
set { _bsno = value; }
}
/// <summary>
/// 提单号
/// </summary>
public string MBLNO
{
get { return _mbl_no; }
set { _mbl_no = value; }
}
/// <summary>
/// 分单号
/// </summary>
public string HBLNO
{
get { return _hbl_no; }
set { _hbl_no = value; }
}
/// <summary>
/// 结算客户
/// </summary>
public string CustomerName
{
get { return _customer_name; }
set { _customer_name = value; }
}
/// <summary>
/// 业务类型
/// </summary>
public int BSType
{
get { return _bs_type; }
set { _bs_type = value; }
}
/// <summary>
/// 费用GID
/// </summary>
public string FeeID
{
get { return _fee_id; }
set { _fee_id = value; }
}
/// <summary>
/// 费用名称
/// </summary>
public string FeeName
{
get { return _fee_name; }
set { _fee_name = value; }
}
/// <summary>
/// 币别
/// </summary>
public string Currency
{
get { return _currency; }
set { _currency = value; }
}
/// <summary>
/// 应结金额
/// </summary>
public decimal Amount
{
get { return _amount; }
set { _amount = value; }
}
/// <summary>
/// 实结金额
/// </summary>
public decimal DoAmount
{
get { return _do_amount; }
set { _do_amount = value; }
}
/// <summary>
/// 收、付类型 值1-收;值2-付
/// </summary>
public int FeeType
{
get { return _fee_type; }
set { _fee_type = value; }
}
/// <summary>
/// 处理类别 值1-付费申请结算2-收费自由结算3-发票结算4-付费申请5-收费申请6-发票申请7-发票开出8-付费自由结算9-收费申请结算
/// </summary>
public int Category
{
get { return _category; }
set { _category = value; }
}
/// <summary>
/// 单据状态 值1-锁定; 值2-未锁定
/// </summary>
public int BillStatus
{
get { return _bill_status; }
set { _bill_status = value; }
}
/// <summary>
/// 备注
/// </summary>
public string Remark
{
get { return _remark; }
set { _remark = value; }
}
/// <summary>
/// 是否被删除
/// </summary>
public bool IsDeleted
{
get { return _is_deleted; }
set { _is_deleted = value; }
}
/// <summary>
/// 原值标识 值1-原费用值 值2-手动添加费用,系统内没有相关信息 值3-自定义费用,即将合计后的费用重新命名的费用
/// </summary>
public int Orig
{
get { return _orig; }
set { _orig = value; }
}
/// <summary>
/// 更改后的费用名称
/// </summary>
public string OriginalFeeName
{
get { return _original_fee_name; }
set { _original_fee_name = value; }
}
/// <summary>
/// 更改应收费用
/// </summary>
public decimal OriginalFeeCSTL
{
get { return _original_fee_cstl; }
set { _original_fee_cstl = value; }
}
/// <summary>
/// 原始币别
/// </summary>
public string OrigCurrency
{
get { return _orig_currency; }
set { _orig_currency = value; }
}
/// <summary>
/// 汇率
/// </summary>
public decimal ExchangeRate
{
get { return _exchange_rate; }
set { _exchange_rate = value; }
}
/// <summary>
/// 未结算金额
/// </summary>
public decimal UnsettleAmount
{
get { return _unsettle_amount; }
set { _unsettle_amount = value; }
}
/// <summary>
/// 是否来自发票收费结算
/// </summary>
public string InvoiceSettleNO
{
get { return _invoice_settle_no; }
set { _invoice_settle_no = value; }
}
/// <summary>
/// 分公司GID
/// </summary>
public string CompanyID
{
get { return _company_id; }
set { _company_id = value; }
}
#endregion
}
}