|
|
|
|
using System;
|
|
|
|
|
using System.Data;
|
|
|
|
|
using System.Configuration;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Web;
|
|
|
|
|
using System.Web.Security;
|
|
|
|
|
using System.Web.UI;
|
|
|
|
|
using System.Web.UI.HtmlControls;
|
|
|
|
|
using System.Web.UI.WebControls;
|
|
|
|
|
using System.Web.UI.WebControls.WebParts;
|
|
|
|
|
using System.Xml.Linq;
|
|
|
|
|
|
|
|
|
|
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;//支票号码
|
|
|
|
|
|
|
|
|
|
#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>
|
|
|
|
|
/// 支票号码
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string ChequeNo
|
|
|
|
|
{
|
|
|
|
|
get { return _cheque_no; }
|
|
|
|
|
set { _cheque_no = value; }
|
|
|
|
|
}
|
|
|
|
|
#endregion
|
|
|
|
|
}
|
|
|
|
|
}
|