|
|
|
|
using System;
|
|
|
|
|
using System.Data;
|
|
|
|
|
|
|
|
|
|
namespace DSWeb.Models
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 表
|
|
|
|
|
/// </summary>
|
|
|
|
|
public class JsonCwVouchersAddDoEntity
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
//行号,摘要,科目代码,科目名称,本位币借方,本位币贷方,外币借方,外币贷方,汇率,客户名称,客户财务编码,揽货人,业务编号");
|
|
|
|
|
public JsonCwVouchersAddDoEntity()
|
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#region 读写属性
|
|
|
|
|
private string _gid;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 唯一编码
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string CwVouchersAddDo1
|
|
|
|
|
{
|
|
|
|
|
get { return _gid; }
|
|
|
|
|
set { _gid = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private int _itemno;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 行号
|
|
|
|
|
/// </summary>
|
|
|
|
|
public int CwVouchersAddDo2
|
|
|
|
|
{
|
|
|
|
|
get { return _itemno; }
|
|
|
|
|
set { _itemno = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _explan;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 摘要,规则生成
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string CwVouchersAddDo3
|
|
|
|
|
{
|
|
|
|
|
get { return _explan; }
|
|
|
|
|
set { _explan = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _accid;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 科目代码
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string CwVouchersAddDo4
|
|
|
|
|
{
|
|
|
|
|
get { return _accid; }
|
|
|
|
|
set { _accid = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _accname;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 科目名称
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string CwVouchersAddDo5
|
|
|
|
|
{
|
|
|
|
|
get { return _accname; }
|
|
|
|
|
set { _accname = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private decimal _amtdr;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 本位币借方金额(互斥)
|
|
|
|
|
/// </summary>
|
|
|
|
|
public decimal CwVouchersAddDo6
|
|
|
|
|
{
|
|
|
|
|
get { return _amtdr; }
|
|
|
|
|
set { _amtdr = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private decimal _amtcr;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 本位币贷方金额(互斥)
|
|
|
|
|
/// </summary>
|
|
|
|
|
public decimal CwVouchersAddDo7
|
|
|
|
|
{
|
|
|
|
|
get { return _amtcr; }
|
|
|
|
|
set { _amtcr = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private decimal _fcydr;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 外币借方金额
|
|
|
|
|
/// </summary>
|
|
|
|
|
public decimal CwVouchersAddDo8
|
|
|
|
|
{
|
|
|
|
|
get { return _fcydr; }
|
|
|
|
|
set { _fcydr = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private decimal _fcycr;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 外币贷方金额
|
|
|
|
|
/// </summary>
|
|
|
|
|
public decimal CwVouchersAddDo9
|
|
|
|
|
{
|
|
|
|
|
get { return _fcycr; }
|
|
|
|
|
set { _fcycr = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private decimal _fcyexrate;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 汇率
|
|
|
|
|
/// </summary>
|
|
|
|
|
public decimal CwVouchersAddDo10
|
|
|
|
|
{
|
|
|
|
|
get { return _fcyexrate; }
|
|
|
|
|
set { _fcyexrate = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _corpid;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 客户(系统)
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string CwVouchersAddDo11
|
|
|
|
|
{
|
|
|
|
|
get { return _corpid; }
|
|
|
|
|
set { _corpid = value; }
|
|
|
|
|
}
|
|
|
|
|
private string _customername;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 客户名称
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string CwVouchersAddDo12
|
|
|
|
|
{
|
|
|
|
|
get { return _customername; }
|
|
|
|
|
set { _customername = value; }
|
|
|
|
|
}
|
|
|
|
|
private string _sale;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 揽货人名称
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string CwVouchersAddDo13
|
|
|
|
|
{
|
|
|
|
|
get { return _sale; }
|
|
|
|
|
set { _sale = value; }
|
|
|
|
|
}
|
|
|
|
|
private string _blno;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 业务编号
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string CwVouchersAddDo14
|
|
|
|
|
{
|
|
|
|
|
get { return _blno; }
|
|
|
|
|
set { _blno = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
//private string _ordno;
|
|
|
|
|
///// <summary>
|
|
|
|
|
///// 关联cw_vouchers
|
|
|
|
|
///// </summary>
|
|
|
|
|
//public string CwVouchersAddDo
|
|
|
|
|
//{
|
|
|
|
|
// get { return _ordno; }
|
|
|
|
|
// set { _ordno = value; }
|
|
|
|
|
//}
|
|
|
|
|
|
|
|
|
|
//private string _emplid;
|
|
|
|
|
///// <summary>
|
|
|
|
|
///// 人员(系统)
|
|
|
|
|
///// </summary>
|
|
|
|
|
//public string CwVouchersAddDo
|
|
|
|
|
//{
|
|
|
|
|
// get { return _emplid; }
|
|
|
|
|
// set { _emplid = value; }
|
|
|
|
|
//}
|
|
|
|
|
|
|
|
|
|
//private bool _issys;
|
|
|
|
|
///// <summary>
|
|
|
|
|
///// 是否手动录入
|
|
|
|
|
///// </summary>
|
|
|
|
|
//public bool CwVouchersAddDo
|
|
|
|
|
//{
|
|
|
|
|
// get { return _issys; }
|
|
|
|
|
// set { _issys = value; }
|
|
|
|
|
//}
|
|
|
|
|
|
|
|
|
|
//private string _modifieduser;
|
|
|
|
|
///// <summary>
|
|
|
|
|
///// 最后一次更新操作人
|
|
|
|
|
///// </summary>
|
|
|
|
|
//public string CwVouchersAddDo
|
|
|
|
|
//{
|
|
|
|
|
// get { return _modifieduser; }
|
|
|
|
|
// set { _modifieduser = value; }
|
|
|
|
|
//}
|
|
|
|
|
|
|
|
|
|
//private DateTime _modifiedtime;
|
|
|
|
|
///// <summary>
|
|
|
|
|
///// 最后一次更新操作时间
|
|
|
|
|
///// </summary>
|
|
|
|
|
//public DateTime CwVouchersAddDo
|
|
|
|
|
//{
|
|
|
|
|
// get { return _modifiedtime; }
|
|
|
|
|
// set { _modifiedtime = value; }
|
|
|
|
|
//}
|
|
|
|
|
|
|
|
|
|
//private string _dc;
|
|
|
|
|
///// <summary>
|
|
|
|
|
///// 借贷方向
|
|
|
|
|
///// </summary>
|
|
|
|
|
//public string CwVouchersAddDo
|
|
|
|
|
//{
|
|
|
|
|
// get { return _dc; }
|
|
|
|
|
// set { _dc = value; }
|
|
|
|
|
//}
|
|
|
|
|
|
|
|
|
|
//private bool _isfcy;
|
|
|
|
|
///// <summary>
|
|
|
|
|
///// 是否外币
|
|
|
|
|
///// </summary>
|
|
|
|
|
//public bool CwVouchersAddDo
|
|
|
|
|
//{
|
|
|
|
|
// get { return _isfcy; }
|
|
|
|
|
// set { _isfcy = value; }
|
|
|
|
|
//}
|
|
|
|
|
|
|
|
|
|
//private string _paccid;
|
|
|
|
|
///// <summary>
|
|
|
|
|
///// 父级科目代码
|
|
|
|
|
///// </summary>
|
|
|
|
|
//public string PACCID
|
|
|
|
|
//{
|
|
|
|
|
// get { return _paccid; }
|
|
|
|
|
// set { _paccid = value; }
|
|
|
|
|
//}
|
|
|
|
|
|
|
|
|
|
//private int _property;
|
|
|
|
|
///// <summary>
|
|
|
|
|
///// 科目属性
|
|
|
|
|
///// </summary>
|
|
|
|
|
//public int PROPERTY
|
|
|
|
|
//{
|
|
|
|
|
// get { return _property; }
|
|
|
|
|
// set { _property = value; }
|
|
|
|
|
//}
|
|
|
|
|
|
|
|
|
|
//private int _grade;
|
|
|
|
|
///// <summary>
|
|
|
|
|
///// 科目级别
|
|
|
|
|
///// </summary>
|
|
|
|
|
//public int GRADE
|
|
|
|
|
//{
|
|
|
|
|
// get { return _grade; }
|
|
|
|
|
// set { _grade = value; }
|
|
|
|
|
//}
|
|
|
|
|
|
|
|
|
|
//private string _fcyno;
|
|
|
|
|
///// <summary>
|
|
|
|
|
///// 外币编号usd
|
|
|
|
|
///// </summary>
|
|
|
|
|
//public string FCYNO
|
|
|
|
|
//{
|
|
|
|
|
// get { return _fcyno; }
|
|
|
|
|
// set { _fcyno = value; }
|
|
|
|
|
//}
|
|
|
|
|
|
|
|
|
|
//private string _qtyunit;
|
|
|
|
|
///// <summary>
|
|
|
|
|
///// 数量包装单位
|
|
|
|
|
///// </summary>
|
|
|
|
|
//public string QTYUNIT
|
|
|
|
|
//{
|
|
|
|
|
// get { return _qtyunit; }
|
|
|
|
|
// set { _qtyunit = value; }
|
|
|
|
|
//}
|
|
|
|
|
|
|
|
|
|
//private decimal _qtydr;
|
|
|
|
|
///// <summary>
|
|
|
|
|
///// 借方数量
|
|
|
|
|
///// </summary>
|
|
|
|
|
//public decimal QTYDR
|
|
|
|
|
//{
|
|
|
|
|
// get { return _qtydr; }
|
|
|
|
|
// set { _qtydr = value; }
|
|
|
|
|
//}
|
|
|
|
|
|
|
|
|
|
//private decimal _qtycr;
|
|
|
|
|
///// <summary>
|
|
|
|
|
///// 贷方数量
|
|
|
|
|
///// </summary>
|
|
|
|
|
//public decimal QTYCR
|
|
|
|
|
//{
|
|
|
|
|
// get { return _qtycr; }
|
|
|
|
|
// set { _qtycr = value; }
|
|
|
|
|
//}
|
|
|
|
|
|
|
|
|
|
//private bool _isdeptacc;
|
|
|
|
|
///// <summary>
|
|
|
|
|
///// 核算部门,按规则设置生成
|
|
|
|
|
///// </summary>
|
|
|
|
|
//public bool ISDEPTACC
|
|
|
|
|
//{
|
|
|
|
|
// get { return _isdeptacc; }
|
|
|
|
|
// set { _isdeptacc = value; }
|
|
|
|
|
//}
|
|
|
|
|
|
|
|
|
|
//private bool _isemplacc;
|
|
|
|
|
///// <summary>
|
|
|
|
|
///// 核算人员,按规则设置生成
|
|
|
|
|
///// </summary>
|
|
|
|
|
//public bool ISEMPLACC
|
|
|
|
|
//{
|
|
|
|
|
// get { return _isemplacc; }
|
|
|
|
|
// set { _isemplacc = value; }
|
|
|
|
|
//}
|
|
|
|
|
|
|
|
|
|
//private bool _iscorpacc;
|
|
|
|
|
///// <summary>
|
|
|
|
|
///// 核算客户,按规则设置生成
|
|
|
|
|
///// </summary>
|
|
|
|
|
//public bool ISCORPACC
|
|
|
|
|
//{
|
|
|
|
|
// get { return _iscorpacc; }
|
|
|
|
|
// set { _iscorpacc = value; }
|
|
|
|
|
//}
|
|
|
|
|
|
|
|
|
|
//private bool _isitemacc;
|
|
|
|
|
///// <summary>
|
|
|
|
|
///// 核算项目,按规则设置生成
|
|
|
|
|
///// </summary>
|
|
|
|
|
//public bool ISITEMACC
|
|
|
|
|
//{
|
|
|
|
|
// get { return _isitemacc; }
|
|
|
|
|
// set { _isitemacc = value; }
|
|
|
|
|
//}
|
|
|
|
|
|
|
|
|
|
//private string _deptid;
|
|
|
|
|
///// <summary>
|
|
|
|
|
///// 部门(系统)
|
|
|
|
|
///// </summary>
|
|
|
|
|
//public string DEPTID
|
|
|
|
|
//{
|
|
|
|
|
// get { return _deptid; }
|
|
|
|
|
// set { _deptid = value; }
|
|
|
|
|
//}
|
|
|
|
|
|
|
|
|
|
//private int _pitemid;
|
|
|
|
|
///// <summary>
|
|
|
|
|
///// 父级项目编号
|
|
|
|
|
///// </summary>
|
|
|
|
|
//public int PITEMID
|
|
|
|
|
//{
|
|
|
|
|
// get { return _pitemid; }
|
|
|
|
|
// set { _pitemid = value; }
|
|
|
|
|
//}
|
|
|
|
|
|
|
|
|
|
//private string _itemid="";
|
|
|
|
|
///// <summary>
|
|
|
|
|
///// 项目编号
|
|
|
|
|
///// </summary>
|
|
|
|
|
//public string ITEMID
|
|
|
|
|
//{
|
|
|
|
|
// get { return _itemid; }
|
|
|
|
|
// set { _itemid = value; }
|
|
|
|
|
//}
|
|
|
|
|
|
|
|
|
|
//private string _field10;
|
|
|
|
|
///// <summary>
|
|
|
|
|
///// 预留字段1
|
|
|
|
|
///// </summary>
|
|
|
|
|
//public string FIELD10
|
|
|
|
|
//{
|
|
|
|
|
// get { return _field10; }
|
|
|
|
|
// set { _field10 = value; }
|
|
|
|
|
//}
|
|
|
|
|
|
|
|
|
|
//private string _field9;
|
|
|
|
|
///// <summary>
|
|
|
|
|
///// 预留字段1
|
|
|
|
|
///// </summary>
|
|
|
|
|
//public string FIELD9
|
|
|
|
|
//{
|
|
|
|
|
// get { return _field9; }
|
|
|
|
|
// set { _field9 = value; }
|
|
|
|
|
//}
|
|
|
|
|
|
|
|
|
|
//private string _field8;
|
|
|
|
|
///// <summary>
|
|
|
|
|
///// 预留字段1
|
|
|
|
|
///// </summary>
|
|
|
|
|
//public string FIELD8
|
|
|
|
|
//{
|
|
|
|
|
// get { return _field8; }
|
|
|
|
|
// set { _field8 = value; }
|
|
|
|
|
//}
|
|
|
|
|
|
|
|
|
|
//private string _field7;
|
|
|
|
|
///// <summary>
|
|
|
|
|
///// 预留字段1
|
|
|
|
|
///// </summary>
|
|
|
|
|
//public string FIELD7
|
|
|
|
|
//{
|
|
|
|
|
// get { return _field7; }
|
|
|
|
|
// set { _field7 = value; }
|
|
|
|
|
//}
|
|
|
|
|
|
|
|
|
|
//private string _field6;
|
|
|
|
|
///// <summary>
|
|
|
|
|
///// 预留字段1
|
|
|
|
|
///// </summary>
|
|
|
|
|
//public string FIELD6
|
|
|
|
|
//{
|
|
|
|
|
// get { return _field6; }
|
|
|
|
|
// set { _field6 = value; }
|
|
|
|
|
//}
|
|
|
|
|
|
|
|
|
|
//private string _field5;
|
|
|
|
|
///// <summary>
|
|
|
|
|
///// 预留字段1
|
|
|
|
|
///// </summary>
|
|
|
|
|
//public string FIELD5
|
|
|
|
|
//{
|
|
|
|
|
// get { return _field5; }
|
|
|
|
|
// set { _field5 = value; }
|
|
|
|
|
//}
|
|
|
|
|
|
|
|
|
|
//private string _field4;
|
|
|
|
|
///// <summary>
|
|
|
|
|
///// 预留字段1
|
|
|
|
|
///// </summary>
|
|
|
|
|
//public string FIELD4
|
|
|
|
|
//{
|
|
|
|
|
// get { return _field4; }
|
|
|
|
|
// set { _field4 = value; }
|
|
|
|
|
//}
|
|
|
|
|
|
|
|
|
|
//private string _field3;
|
|
|
|
|
///// <summary>
|
|
|
|
|
///// 预留字段1
|
|
|
|
|
///// </summary>
|
|
|
|
|
//public string FIELD3
|
|
|
|
|
//{
|
|
|
|
|
// get { return _field3; }
|
|
|
|
|
// set { _field3 = value; }
|
|
|
|
|
//}
|
|
|
|
|
|
|
|
|
|
//private string _field2;
|
|
|
|
|
///// <summary>
|
|
|
|
|
///// 预留字段1
|
|
|
|
|
///// </summary>
|
|
|
|
|
//public string FIELD2
|
|
|
|
|
//{
|
|
|
|
|
// get { return _field2; }
|
|
|
|
|
// set { _field2 = value; }
|
|
|
|
|
//}
|
|
|
|
|
|
|
|
|
|
//private string _field1;
|
|
|
|
|
///// <summary>
|
|
|
|
|
///// 预留字段1
|
|
|
|
|
///// </summary>
|
|
|
|
|
//public string FIELD1
|
|
|
|
|
//{
|
|
|
|
|
// get { return _field1; }
|
|
|
|
|
// set { _field1 = value; }
|
|
|
|
|
//}
|
|
|
|
|
|
|
|
|
|
//private string _fsettlcode;
|
|
|
|
|
///// <summary>
|
|
|
|
|
///// 结算方式
|
|
|
|
|
///// </summary>
|
|
|
|
|
//public string FSETTLCODE
|
|
|
|
|
//{
|
|
|
|
|
// get { return _fsettlcode; }
|
|
|
|
|
// set { _fsettlcode = value; }
|
|
|
|
|
//}
|
|
|
|
|
|
|
|
|
|
//private string _fsettleno;
|
|
|
|
|
///// <summary>
|
|
|
|
|
///// 财务辅助编号
|
|
|
|
|
///// </summary>
|
|
|
|
|
//public string FSETTLENO
|
|
|
|
|
//{
|
|
|
|
|
// get { return _fsettleno; }
|
|
|
|
|
// set { _fsettleno = value; }
|
|
|
|
|
//}
|
|
|
|
|
#endregion
|
|
|
|
|
}
|
|
|
|
|
}
|