|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Web;
|
|
|
|
|
|
|
|
|
|
namespace DSWeb.Models
|
|
|
|
|
{
|
|
|
|
|
public class CwVouitemsEntity
|
|
|
|
|
{
|
|
|
|
|
private string _gid;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 唯一编码
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string GID
|
|
|
|
|
{
|
|
|
|
|
get { return _gid; }
|
|
|
|
|
set { _gid = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _ordno;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 关联cw_vouchers
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string ORDNO
|
|
|
|
|
{
|
|
|
|
|
get { return _ordno; }
|
|
|
|
|
set { _ordno = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private int _itemno;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 行号
|
|
|
|
|
/// </summary>
|
|
|
|
|
public int ITEMNO
|
|
|
|
|
{
|
|
|
|
|
get { return _itemno; }
|
|
|
|
|
set { _itemno = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _accid;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 科目代码
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string ACCID
|
|
|
|
|
{
|
|
|
|
|
get { return _accid; }
|
|
|
|
|
set { _accid = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _paccid;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 父级科目代码
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string PACCID
|
|
|
|
|
{
|
|
|
|
|
get { return _paccid; }
|
|
|
|
|
set { _paccid = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _accname;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 科目名称
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string ACCNAME
|
|
|
|
|
{
|
|
|
|
|
get { return _accname; }
|
|
|
|
|
set { _accname = 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 _dc;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 借贷方向
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string DC
|
|
|
|
|
{
|
|
|
|
|
get { return _dc; }
|
|
|
|
|
set { _dc = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private decimal _amtdr;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 本位币借方金额(互斥)
|
|
|
|
|
/// </summary>
|
|
|
|
|
public decimal AMTDR
|
|
|
|
|
{
|
|
|
|
|
get { return _amtdr; }
|
|
|
|
|
set { _amtdr = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private decimal _amtcr;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 本位币贷方金额(互斥)
|
|
|
|
|
/// </summary>
|
|
|
|
|
public decimal AMTCR
|
|
|
|
|
{
|
|
|
|
|
get { return _amtcr; }
|
|
|
|
|
set { _amtcr = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private bool _isfcy;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 是否外币
|
|
|
|
|
/// </summary>
|
|
|
|
|
public bool ISFCY
|
|
|
|
|
{
|
|
|
|
|
get { return _isfcy; }
|
|
|
|
|
set { _isfcy = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _fcyno="";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 外币编号usd
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string FCYNO
|
|
|
|
|
{
|
|
|
|
|
get { return _fcyno; }
|
|
|
|
|
set { _fcyno = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private decimal _fcyexrate;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 汇率
|
|
|
|
|
/// </summary>
|
|
|
|
|
public decimal FCYEXRATE
|
|
|
|
|
{
|
|
|
|
|
get { return _fcyexrate; }
|
|
|
|
|
set { _fcyexrate = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private decimal _fcydr;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 外币借方金额
|
|
|
|
|
/// </summary>
|
|
|
|
|
public decimal FCYDR
|
|
|
|
|
{
|
|
|
|
|
get { return _fcydr; }
|
|
|
|
|
set { _fcydr = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private decimal _fcycr;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 外币贷方金额
|
|
|
|
|
/// </summary>
|
|
|
|
|
public decimal FCYCR
|
|
|
|
|
{
|
|
|
|
|
get { return _fcycr; }
|
|
|
|
|
set { _fcycr = 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 string _explan;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 摘要,规则生成
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string EXPLAN
|
|
|
|
|
{
|
|
|
|
|
get { return _explan; }
|
|
|
|
|
set { _explan = 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 string _emplid;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 人员(系统)
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string EMPLID
|
|
|
|
|
{
|
|
|
|
|
get { return _emplid; }
|
|
|
|
|
set { _emplid = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _corpid="";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 客户(系统)
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string CORPID
|
|
|
|
|
{
|
|
|
|
|
get { return _corpid; }
|
|
|
|
|
set { _corpid = 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 bool _issys;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 是否手动录入
|
|
|
|
|
/// </summary>
|
|
|
|
|
public bool ISSYS
|
|
|
|
|
{
|
|
|
|
|
get { return _issys; }
|
|
|
|
|
set { _issys = 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; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _modifieduser;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 最后一次更新操作人
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string MODIFIEDUSER
|
|
|
|
|
{
|
|
|
|
|
get { return _modifieduser; }
|
|
|
|
|
set { _modifieduser = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private DateTime _modifiedtime;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 最后一次更新操作时间
|
|
|
|
|
/// </summary>
|
|
|
|
|
public DateTime MODIFIEDTIME
|
|
|
|
|
{
|
|
|
|
|
get { return _modifiedtime; }
|
|
|
|
|
set { _modifiedtime = value; }
|
|
|
|
|
}
|
|
|
|
|
private string _customername;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 客户名称
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string CUSTOMERNAME
|
|
|
|
|
{
|
|
|
|
|
get { return _customername; }
|
|
|
|
|
set { _customername = value; }
|
|
|
|
|
}
|
|
|
|
|
private string _sale;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 揽货人名称
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string SALE
|
|
|
|
|
{
|
|
|
|
|
get { return _sale; }
|
|
|
|
|
set { _sale = value; }
|
|
|
|
|
}
|
|
|
|
|
private string _blno;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 业务编号
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string BLNO
|
|
|
|
|
{
|
|
|
|
|
get { return _blno; }
|
|
|
|
|
set { _blno = value; }
|
|
|
|
|
}
|
|
|
|
|
private string _ITEMGID;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// ITEMGID
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string ITEMGID
|
|
|
|
|
{
|
|
|
|
|
get { return _ITEMGID; }
|
|
|
|
|
set { _ITEMGID = value; }
|
|
|
|
|
}
|
|
|
|
|
private string _DEPTGID;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// DEPTGID
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string DEPTGID
|
|
|
|
|
{
|
|
|
|
|
get { return _DEPTGID; }
|
|
|
|
|
set { _DEPTGID = value; }
|
|
|
|
|
}
|
|
|
|
|
private string _ACCALL;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// ACCALL
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string ACCALL
|
|
|
|
|
{
|
|
|
|
|
get { return _ACCALL; }
|
|
|
|
|
set { _ACCALL = value; }
|
|
|
|
|
}
|
|
|
|
|
private string _cType;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 凭证类型(收益、损失)
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string cType
|
|
|
|
|
{
|
|
|
|
|
get { return _cType; }
|
|
|
|
|
set { _cType = value; }
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|