|
|
|
|
using System;
|
|
|
|
|
using System.Data;
|
|
|
|
|
|
|
|
|
|
namespace DSWeb.Models
|
|
|
|
|
{
|
|
|
|
|
public class FeeSettlementEntity
|
|
|
|
|
{
|
|
|
|
|
#region 私有成员
|
|
|
|
|
private string _gid;//惟一主键
|
|
|
|
|
private string _bill_no;//结算编号
|
|
|
|
|
private DateTime _bill_date;//单据日期
|
|
|
|
|
private int _settle_mode;//结算类别 值1-申请;2-自由;3-发票;4-流程
|
|
|
|
|
private string _customer_name;//结算客户
|
|
|
|
|
private int _settle_type;//结算方式 值1-现金;2-支票
|
|
|
|
|
private decimal _amount_rmb;//人民币金额
|
|
|
|
|
private string _account_rmb;//人民币账户
|
|
|
|
|
private decimal _rate;//汇率
|
|
|
|
|
private decimal _amount_usd;//美元金额
|
|
|
|
|
private string _account_usd;//美元账户
|
|
|
|
|
private int _bill_type;//单据用途 值1-收款;2-付款
|
|
|
|
|
private string _voucher_no;//凭证号
|
|
|
|
|
private string _settle_user;//结算人
|
|
|
|
|
private DateTime _settle_time;//结算时间
|
|
|
|
|
private string _audit_user;//审核人
|
|
|
|
|
private DateTime _audit_time;//审核时间
|
|
|
|
|
private bool _is_export;//是否已经导出财务凭证
|
|
|
|
|
private string _financial_voucher;//财务凭证
|
|
|
|
|
private int _bill_status;//单据状态 值1-锁定; 2-未锁定
|
|
|
|
|
private string _remark;//备注
|
|
|
|
|
private bool _is_delete;//是否删除
|
|
|
|
|
private string _delete_user;//删除操作人
|
|
|
|
|
private DateTime _delete_time;//删除操作时间
|
|
|
|
|
private string _cheque_no;//支票号码RMB
|
|
|
|
|
private string _cheque_no_usd;//支票号码USD
|
|
|
|
|
private string _company_id;//分公司GID
|
|
|
|
|
#endregion
|
|
|
|
|
public FeeSettlementEntity()
|
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#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 DateTime BillDate
|
|
|
|
|
{
|
|
|
|
|
get { return _bill_date; }
|
|
|
|
|
set { _bill_date = value; }
|
|
|
|
|
}
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 结算类别 值1-申请;2-自由;3-发票;4-流程
|
|
|
|
|
/// </summary>
|
|
|
|
|
public int SettleMode
|
|
|
|
|
{
|
|
|
|
|
get { return _settle_mode; }
|
|
|
|
|
set { _settle_mode = value; }
|
|
|
|
|
}
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 结算客户
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string CustomerName
|
|
|
|
|
{
|
|
|
|
|
get { return _customer_name; }
|
|
|
|
|
set { _customer_name = value; }
|
|
|
|
|
}
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 结算方式 值1-现金;2-支票
|
|
|
|
|
/// </summary>
|
|
|
|
|
public int SettleType
|
|
|
|
|
{
|
|
|
|
|
get { return _settle_type; }
|
|
|
|
|
set { _settle_type = value; }
|
|
|
|
|
}
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 人民币金额
|
|
|
|
|
/// </summary>
|
|
|
|
|
public decimal AmountRMB
|
|
|
|
|
{
|
|
|
|
|
get { return _amount_rmb; }
|
|
|
|
|
set { _amount_rmb = value; }
|
|
|
|
|
}
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 人民币账户
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string AccountRMB
|
|
|
|
|
{
|
|
|
|
|
get { return _account_rmb; }
|
|
|
|
|
set { _account_rmb = value; }
|
|
|
|
|
}
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 汇率
|
|
|
|
|
/// </summary>
|
|
|
|
|
public decimal Rate
|
|
|
|
|
{
|
|
|
|
|
get { return _rate; }
|
|
|
|
|
set { _rate = value; }
|
|
|
|
|
}
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 美元金额
|
|
|
|
|
/// </summary>
|
|
|
|
|
public decimal AmountUSD
|
|
|
|
|
{
|
|
|
|
|
get { return _amount_usd; }
|
|
|
|
|
set { _amount_usd = value; }
|
|
|
|
|
}
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 美元账户
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string AccountUSD
|
|
|
|
|
{
|
|
|
|
|
get { return _account_usd; }
|
|
|
|
|
set { _account_usd = value; }
|
|
|
|
|
}
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 单据用途 值1-收款;2-付款
|
|
|
|
|
/// </summary>
|
|
|
|
|
public int BillType
|
|
|
|
|
{
|
|
|
|
|
get { return _bill_type; }
|
|
|
|
|
set { _bill_type = value; }
|
|
|
|
|
}
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 凭证号
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string VoucherNO
|
|
|
|
|
{
|
|
|
|
|
get { return _voucher_no; }
|
|
|
|
|
set { _voucher_no = value; }
|
|
|
|
|
}
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 结算人
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string SettleUser
|
|
|
|
|
{
|
|
|
|
|
get { return _settle_user; }
|
|
|
|
|
set { _settle_user = value; }
|
|
|
|
|
}
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 结算时间
|
|
|
|
|
/// </summary>
|
|
|
|
|
public DateTime SettleTime
|
|
|
|
|
{
|
|
|
|
|
get { return _settle_time; }
|
|
|
|
|
set { _settle_time = value; }
|
|
|
|
|
}
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 审核人
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string AuditUser
|
|
|
|
|
{
|
|
|
|
|
get { return _audit_user; }
|
|
|
|
|
set { _audit_user = value; }
|
|
|
|
|
}
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 审核时间
|
|
|
|
|
/// </summary>
|
|
|
|
|
public DateTime AuditTime
|
|
|
|
|
{
|
|
|
|
|
get { return _audit_time; }
|
|
|
|
|
set { _audit_time = value; }
|
|
|
|
|
}
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 是否已经导出财务凭证
|
|
|
|
|
/// </summary>
|
|
|
|
|
public bool IsExport
|
|
|
|
|
{
|
|
|
|
|
get { return _is_export; }
|
|
|
|
|
set { _is_export = value; }
|
|
|
|
|
}
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 财务凭证
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string FinancialVoucher
|
|
|
|
|
{
|
|
|
|
|
get { return _financial_voucher; }
|
|
|
|
|
set { _financial_voucher = 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 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; }
|
|
|
|
|
}
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 支票/发票号码RMB
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string ChequeNo
|
|
|
|
|
{
|
|
|
|
|
get { return _cheque_no; }
|
|
|
|
|
set { _cheque_no = value; }
|
|
|
|
|
}
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 支票/发票号码USD
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string ChequeNoUsd
|
|
|
|
|
{
|
|
|
|
|
get { return _cheque_no_usd; }
|
|
|
|
|
set { _cheque_no_usd = value; }
|
|
|
|
|
}
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 分公司GID
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string CompanyID
|
|
|
|
|
{
|
|
|
|
|
get { return _company_id; }
|
|
|
|
|
set { _company_id = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _accounts_currency = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 记账资料_币别
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string ACCOUNTS_CURRENCY
|
|
|
|
|
{
|
|
|
|
|
get { return _accounts_currency; }
|
|
|
|
|
set { _accounts_currency = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private decimal _accounts_rate = 0;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 记账资料_汇率
|
|
|
|
|
/// </summary>
|
|
|
|
|
public decimal ACCOUNTS_RATE
|
|
|
|
|
{
|
|
|
|
|
get { return _accounts_rate; }
|
|
|
|
|
set { _accounts_rate = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private decimal _accounts_money = 0;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 记账资料_金额
|
|
|
|
|
/// </summary>
|
|
|
|
|
public decimal ACCOUNTS_MONEY
|
|
|
|
|
{
|
|
|
|
|
get { return _accounts_money; }
|
|
|
|
|
set { _accounts_money = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _prepay_currency = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 预付支资料_币别
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string PREPAY_CURRENCY
|
|
|
|
|
{
|
|
|
|
|
get { return _prepay_currency; }
|
|
|
|
|
set { _prepay_currency = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private decimal _prepay_rate = 0;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 预付支资料_汇率
|
|
|
|
|
/// </summary>
|
|
|
|
|
public decimal PREPAY_RATE
|
|
|
|
|
{
|
|
|
|
|
get { return _prepay_rate; }
|
|
|
|
|
set { _prepay_rate = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private decimal _prepay_money = 0;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 预付支资料_金额
|
|
|
|
|
/// </summary>
|
|
|
|
|
public decimal PREPAY_MONEY
|
|
|
|
|
{
|
|
|
|
|
get { return _prepay_money; }
|
|
|
|
|
set { _prepay_money = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _ahsr_currency = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 实付支资料_币别
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string AHSR_CURRENCY
|
|
|
|
|
{
|
|
|
|
|
get { return _ahsr_currency; }
|
|
|
|
|
set { _ahsr_currency = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private decimal _ahsr_rate = 0;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 实付支资料_汇率
|
|
|
|
|
/// </summary>
|
|
|
|
|
public decimal AHSR_RATE
|
|
|
|
|
{
|
|
|
|
|
get { return _ahsr_rate; }
|
|
|
|
|
set { _ahsr_rate = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private decimal _ahsr_money = 0;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 实付支资料_金额
|
|
|
|
|
/// </summary>
|
|
|
|
|
public decimal AHSR_MONEY
|
|
|
|
|
{
|
|
|
|
|
get { return _ahsr_money; }
|
|
|
|
|
set { _ahsr_money = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _financial_currency = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 财务费用_币别
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string FINANCIAL_CURRENCY
|
|
|
|
|
{
|
|
|
|
|
get { return _financial_currency; }
|
|
|
|
|
set { _financial_currency = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private decimal _financial_rate = 0;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 财务费用_汇率
|
|
|
|
|
/// </summary>
|
|
|
|
|
public decimal FINANCIAL_RATE
|
|
|
|
|
{
|
|
|
|
|
get { return _financial_rate; }
|
|
|
|
|
set { _financial_rate = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private decimal _financial_money = 0;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 财务费用_金额
|
|
|
|
|
/// </summary>
|
|
|
|
|
public decimal FINANCIAL_MONEY
|
|
|
|
|
{
|
|
|
|
|
get { return _financial_money; }
|
|
|
|
|
set { _financial_money = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _advance_currency = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 预付支取用资料_币别
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string ADVANCE_CURRENCY
|
|
|
|
|
{
|
|
|
|
|
get { return _advance_currency; }
|
|
|
|
|
set { _advance_currency = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private decimal _advance_rate = 0;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 预付支取用资料_汇率
|
|
|
|
|
/// </summary>
|
|
|
|
|
public decimal ADVANCE_RATE
|
|
|
|
|
{
|
|
|
|
|
get { return _advance_rate; }
|
|
|
|
|
set { _advance_rate = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private decimal _advance_money = 0;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 预付支取用资料_金额
|
|
|
|
|
/// </summary>
|
|
|
|
|
public decimal ADVANCE_MONEY
|
|
|
|
|
{
|
|
|
|
|
get { return _advance_money; }
|
|
|
|
|
set { _advance_money = value; }
|
|
|
|
|
}
|
|
|
|
|
#endregion
|
|
|
|
|
}
|
|
|
|
|
}
|