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.
1712 lines
39 KiB
C#
1712 lines
39 KiB
C#
using System;
|
|
using HcUtility.Core;
|
|
using Newtonsoft.Json;
|
|
|
|
namespace DSWeb.MvcShipping.Models.MsCwVouchers
|
|
{
|
|
[JsonObject]
|
|
public class MsCwVouchers : ModelObjectBillHead
|
|
{
|
|
#region 读写属性
|
|
private string _ordno = "";
|
|
/// <summary>
|
|
/// 唯一编码
|
|
/// </summary>
|
|
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
|
|
public string ORDNO
|
|
{
|
|
get { return _ordno; }
|
|
set { _ordno = value; }
|
|
}
|
|
|
|
private string _vouno = "";
|
|
/// <summary>
|
|
/// 自动生成编号,月初清零
|
|
/// </summary>
|
|
[ModelDB]
|
|
public string VOUNO
|
|
{
|
|
get { return _vouno; }
|
|
set { _vouno = value; }
|
|
}
|
|
|
|
private string _expvouno = "";
|
|
/// <summary>
|
|
///导出凭证号
|
|
/// </summary>
|
|
public string EXPVOUNO
|
|
{
|
|
get { return _expvouno; }
|
|
set { _expvouno = value; }
|
|
}
|
|
|
|
private string _vkno = "";
|
|
/// <summary>
|
|
/// 凭证字
|
|
/// </summary>
|
|
[ModelDB]
|
|
public string VKNO
|
|
{
|
|
get { return _vkno; }
|
|
set { _vkno = value; }
|
|
}
|
|
|
|
//private DateTime _voudate = DateTime.Now;
|
|
///// <summary>
|
|
///// 凭证日期
|
|
///// </summary>
|
|
//[ModelDB]
|
|
//public DateTime VOUDATE
|
|
//{
|
|
// get { return _voudate; }
|
|
// set { _voudate = value; }
|
|
//}
|
|
|
|
private string _voudate = DateTime.Now.ToString();
|
|
/// <summary>
|
|
/// 凭证日期
|
|
/// </summary>
|
|
[ModelDB]
|
|
public string VOUDATE
|
|
{
|
|
get { return _voudate; }
|
|
set { _voudate = value; }
|
|
}
|
|
|
|
private string _accyear = "";
|
|
/// <summary>
|
|
/// 年
|
|
/// </summary>
|
|
[ModelDB]
|
|
public string ACCYEAR
|
|
{
|
|
get { return _accyear; }
|
|
set { _accyear = value; }
|
|
}
|
|
|
|
private string _accmonth = "";
|
|
/// <summary>
|
|
/// 月
|
|
/// </summary>
|
|
[ModelDB]
|
|
public string ACCMONTH
|
|
{
|
|
get { return _accmonth; }
|
|
set { _accmonth = value; }
|
|
}
|
|
|
|
private int _attachs = 1;
|
|
/// <summary>
|
|
/// 附件(单据)数
|
|
/// </summary>
|
|
[ModelDB]
|
|
public int ATTACHS
|
|
{
|
|
get { return _attachs; }
|
|
set { _attachs = value; }
|
|
}
|
|
|
|
private decimal _amtdr = 0;
|
|
/// <summary>
|
|
/// 本位币借方
|
|
/// </summary>
|
|
[ModelDB]
|
|
public decimal AMTDR
|
|
{
|
|
get { return _amtdr; }
|
|
set { _amtdr = value; }
|
|
}
|
|
|
|
private decimal _amtcr = 0;
|
|
/// <summary>
|
|
/// 本位币贷方
|
|
/// </summary>
|
|
[ModelDB]
|
|
public decimal AMTCR
|
|
{
|
|
get { return _amtcr; }
|
|
set { _amtcr = value; }
|
|
}
|
|
|
|
private string _fcy = "";
|
|
/// <summary>
|
|
/// 是否含有外币科目
|
|
/// </summary>
|
|
[ModelDB]
|
|
public string FCY
|
|
{
|
|
get { return _fcy; }
|
|
set { _fcy = value; }
|
|
}
|
|
|
|
private string _qty = "";
|
|
/// <summary>
|
|
/// 是否含有数量科目
|
|
/// </summary>
|
|
[ModelDB]
|
|
public string QTY
|
|
{
|
|
get { return _qty; }
|
|
set { _qty = value; }
|
|
}
|
|
|
|
private string _vouprop = "";
|
|
/// <summary>
|
|
/// 凭证属性
|
|
/// </summary>
|
|
[ModelDB]
|
|
public string VOUPROP
|
|
{
|
|
get { return _vouprop; }
|
|
set { _vouprop = value; }
|
|
}
|
|
|
|
private string _prepared = "";
|
|
/// <summary>
|
|
/// 制单人
|
|
/// </summary>
|
|
[ModelDB]
|
|
public string PREPARED
|
|
{
|
|
get { return _prepared; }
|
|
set { _prepared = value; }
|
|
}
|
|
|
|
private string _checked = "";
|
|
/// <summary>
|
|
/// 审核人
|
|
/// </summary>
|
|
[ModelDB(MDBType = ModelDBOprationType.Insert)]
|
|
public string CHECKED
|
|
{
|
|
get { return _checked; }
|
|
set { _checked = value; }
|
|
}
|
|
|
|
private string _entered = "";
|
|
/// <summary>
|
|
/// 记账人
|
|
/// </summary>
|
|
[ModelDB]
|
|
public string ENTERED
|
|
{
|
|
get { return _entered; }
|
|
set { _entered = value; }
|
|
}
|
|
|
|
private string _errmsg = "";
|
|
/// <summary>
|
|
/// 错误信息
|
|
/// </summary>
|
|
[ModelDB]
|
|
public string ERRMSG
|
|
{
|
|
get { return _errmsg; }
|
|
set { _errmsg = value; }
|
|
}
|
|
|
|
private bool _isdelete = false;
|
|
/// <summary>
|
|
/// 是否废除
|
|
/// </summary>
|
|
[ModelDB(MDBType = ModelDBOprationType.Insert)]
|
|
public bool ISDELETE
|
|
{
|
|
get { return _isdelete; }
|
|
set { _isdelete = value; }
|
|
}
|
|
|
|
private string _deleteuser = "";
|
|
/// <summary>
|
|
/// 废除操作人
|
|
/// </summary>
|
|
[ModelDB(MDBType = ModelDBOprationType.Insert)]
|
|
public string DELETEUSER
|
|
{
|
|
get { return _deleteuser; }
|
|
set { _deleteuser = value; }
|
|
}
|
|
|
|
private DateTime _deletetime = DateTime.Now;
|
|
/// <summary>
|
|
/// 废除时间
|
|
/// </summary>
|
|
[ModelDB(MDBType = ModelDBOprationType.Insert)]
|
|
public DateTime DELETETIME
|
|
{
|
|
get { return _deletetime; }
|
|
set { _deletetime = value; }
|
|
}
|
|
|
|
private string _vouallno = "";
|
|
/// <summary>
|
|
/// VOUALLNO
|
|
/// </summary>
|
|
[ModelDB]
|
|
public string VOUALLNO
|
|
{
|
|
get { return _vouallno; }
|
|
set { _vouallno = value; }
|
|
}
|
|
|
|
private bool _isexport = false;
|
|
/// <summary>
|
|
/// ISEXPORT
|
|
/// </summary>
|
|
[ModelDB]
|
|
public bool ISEXPORT
|
|
{
|
|
get { return _isexport; }
|
|
set { _isexport = value; }
|
|
}
|
|
|
|
private bool _ischecked = false;
|
|
/// <summary>
|
|
/// ISCHECKED
|
|
/// </summary>
|
|
[ModelDB(MDBType = ModelDBOprationType.Insert)]
|
|
public bool ISCHECKED
|
|
{
|
|
get { return _ischecked; }
|
|
set { _ischecked = value; }
|
|
}
|
|
|
|
private DateTime _checkedtime = DateTime.Now;
|
|
/// <summary>
|
|
/// CHECKEDTIME
|
|
/// </summary>
|
|
[ModelDB(MDBType = ModelDBOprationType.Insert)]
|
|
public DateTime CHECKEDTIME
|
|
{
|
|
get { return _checkedtime; }
|
|
set { _checkedtime = value; }
|
|
}
|
|
|
|
private string _carryovertype = "";
|
|
/// <summary>
|
|
/// CarryOverType
|
|
/// </summary>
|
|
[ModelDB]
|
|
public string CarryOverType
|
|
{
|
|
get { return _carryovertype; }
|
|
set { _carryovertype = value; }
|
|
}
|
|
|
|
private string _MODIFIEDUSER = "";
|
|
/// <summary>
|
|
/// 制单人
|
|
/// </summary>
|
|
public string MODIFIEDUSER
|
|
{
|
|
get { return _MODIFIEDUSER; }
|
|
set { _MODIFIEDUSER = value; }
|
|
}
|
|
#endregion
|
|
|
|
public MsCwVouchers()
|
|
{
|
|
TableName = "cw_vouchers";
|
|
}
|
|
|
|
override public string GetBillNoFieldName()
|
|
{
|
|
return "ORDNO";
|
|
}
|
|
}
|
|
//
|
|
[JsonObject]
|
|
public class MsCwVouitems : ModelObjectBillHead
|
|
{
|
|
#region 读写属性
|
|
private string _gid = "";
|
|
/// <summary>
|
|
/// 唯一编码
|
|
/// </summary>
|
|
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
|
|
public string GID
|
|
{
|
|
get { return _gid; }
|
|
set { _gid = value; }
|
|
}
|
|
|
|
private string _ordno = "";
|
|
/// <summary>
|
|
/// 关联cw_vouchers
|
|
/// </summary>
|
|
[ModelDB]
|
|
public string ORDNO
|
|
{
|
|
get { return _ordno; }
|
|
set { _ordno = value; }
|
|
}
|
|
|
|
private int _itemno = 0;
|
|
/// <summary>
|
|
/// 行号
|
|
/// </summary>
|
|
[ModelDB]
|
|
public int ITEMNO
|
|
{
|
|
get { return _itemno; }
|
|
set { _itemno = value; }
|
|
}
|
|
|
|
private string _accid = "";
|
|
/// <summary>
|
|
/// 科目代码
|
|
/// </summary>
|
|
[ModelDB]
|
|
public string ACCID
|
|
{
|
|
get { return _accid; }
|
|
set { _accid = value; }
|
|
}
|
|
|
|
private string _paccid = "";
|
|
/// <summary>
|
|
/// 父级科目代码
|
|
/// </summary>
|
|
[ModelDB]
|
|
public string PACCID
|
|
{
|
|
get { return _paccid; }
|
|
set { _paccid = value; }
|
|
}
|
|
|
|
private string _accname = "";
|
|
/// <summary>
|
|
/// 科目名称
|
|
/// </summary>
|
|
[ModelDB]
|
|
public string ACCNAME
|
|
{
|
|
get { return _accname; }
|
|
set { _accname = value; }
|
|
}
|
|
|
|
private int _property = 0;
|
|
/// <summary>
|
|
/// 科目属性
|
|
/// </summary>
|
|
[ModelDB]
|
|
public int PROPERTY
|
|
{
|
|
get { return _property; }
|
|
set { _property = value; }
|
|
}
|
|
|
|
private int _grade = 0;
|
|
/// <summary>
|
|
/// 科目级别
|
|
/// </summary>
|
|
[ModelDB]
|
|
public int GRADE
|
|
{
|
|
get { return _grade; }
|
|
set { _grade = value; }
|
|
}
|
|
|
|
private string _dc = "";
|
|
/// <summary>
|
|
/// 借贷方向
|
|
/// </summary>
|
|
[ModelDB]
|
|
public string DC
|
|
{
|
|
get { return _dc; }
|
|
set { _dc = value; }
|
|
}
|
|
|
|
private decimal _amtdr = 0;
|
|
/// <summary>
|
|
/// 本位币借方金额(互斥)
|
|
/// </summary>
|
|
[ModelDB]
|
|
public decimal AMTDR
|
|
{
|
|
get { return _amtdr; }
|
|
set { _amtdr = value; }
|
|
}
|
|
|
|
private decimal _amtcr = 0;
|
|
/// <summary>
|
|
/// 本位币贷方金额(互斥)
|
|
/// </summary>
|
|
[ModelDB]
|
|
public decimal AMTCR
|
|
{
|
|
get { return _amtcr; }
|
|
set { _amtcr = value; }
|
|
}
|
|
|
|
private bool _isfcy = false;
|
|
/// <summary>
|
|
/// 是否外币
|
|
/// </summary>
|
|
[ModelDB]
|
|
public bool ISFCY
|
|
{
|
|
get { return _isfcy; }
|
|
set { _isfcy = value; }
|
|
}
|
|
|
|
private string _fcyno = "";
|
|
/// <summary>
|
|
/// 外币编号usd
|
|
/// </summary>
|
|
[ModelDB]
|
|
public string FCYNO
|
|
{
|
|
get { return _fcyno; }
|
|
set { _fcyno = value; }
|
|
}
|
|
|
|
private decimal _fcyexrate = 0;
|
|
/// <summary>
|
|
/// 汇率
|
|
/// </summary>
|
|
[ModelDB]
|
|
public decimal FCYEXRATE
|
|
{
|
|
get { return _fcyexrate; }
|
|
set { _fcyexrate = value; }
|
|
}
|
|
|
|
private decimal _fcydr = 0;
|
|
/// <summary>
|
|
/// 外币借方金额
|
|
/// </summary>
|
|
[ModelDB]
|
|
public decimal FCYDR
|
|
{
|
|
get { return _fcydr; }
|
|
set { _fcydr = value; }
|
|
}
|
|
|
|
private decimal _fcycr = 0;
|
|
/// <summary>
|
|
/// 外币贷方金额
|
|
/// </summary>
|
|
[ModelDB]
|
|
public decimal FCYCR
|
|
{
|
|
get { return _fcycr; }
|
|
set { _fcycr = value; }
|
|
}
|
|
|
|
private string _qtyunit = "";
|
|
/// <summary>
|
|
/// 数量包装单位
|
|
/// </summary>
|
|
[ModelDB]
|
|
public string QTYUNIT
|
|
{
|
|
get { return _qtyunit; }
|
|
set { _qtyunit = value; }
|
|
}
|
|
|
|
private decimal _qtydr = 0;
|
|
/// <summary>
|
|
/// 借方数量
|
|
/// </summary>
|
|
[ModelDB]
|
|
public decimal QTYDR
|
|
{
|
|
get { return _qtydr; }
|
|
set { _qtydr = value; }
|
|
}
|
|
|
|
private decimal _qtycr = 0;
|
|
/// <summary>
|
|
/// 贷方数量
|
|
/// </summary>
|
|
[ModelDB]
|
|
public decimal QTYCR
|
|
{
|
|
get { return _qtycr; }
|
|
set { _qtycr = value; }
|
|
}
|
|
|
|
private string _explan = "";
|
|
/// <summary>
|
|
/// 摘要,规则生成
|
|
/// </summary>
|
|
[ModelDB]
|
|
public string EXPLAN
|
|
{
|
|
get { return _explan; }
|
|
set { _explan = value; }
|
|
}
|
|
|
|
private bool _isdeptacc = false;
|
|
/// <summary>
|
|
/// 核算部门,按规则设置生成
|
|
/// </summary>
|
|
[ModelDB]
|
|
public bool ISDEPTACC
|
|
{
|
|
get { return _isdeptacc; }
|
|
set { _isdeptacc = value; }
|
|
}
|
|
|
|
private bool _isemplacc = false;
|
|
/// <summary>
|
|
/// 核算人员,按规则设置生成
|
|
/// </summary>
|
|
[ModelDB]
|
|
public bool ISEMPLACC
|
|
{
|
|
get { return _isemplacc; }
|
|
set { _isemplacc = value; }
|
|
}
|
|
|
|
private bool _iscorpacc = false;
|
|
/// <summary>
|
|
/// 核算客户,按规则设置生成
|
|
/// </summary>
|
|
[ModelDB]
|
|
public bool ISCORPACC
|
|
{
|
|
get { return _iscorpacc; }
|
|
set { _iscorpacc = value; }
|
|
}
|
|
|
|
private bool _isitemacc = false;
|
|
/// <summary>
|
|
/// 核算项目,按规则设置生成
|
|
/// </summary>
|
|
[ModelDB]
|
|
public bool ISITEMACC
|
|
{
|
|
get { return _isitemacc; }
|
|
set { _isitemacc = value; }
|
|
}
|
|
|
|
private string _deptid = "";
|
|
/// <summary>
|
|
/// 部门(系统)
|
|
/// </summary>
|
|
[ModelDB]
|
|
public string DEPTID
|
|
{
|
|
get { return _deptid; }
|
|
set { _deptid = value; }
|
|
}
|
|
|
|
private string _emplid = "";
|
|
/// <summary>
|
|
/// 人员(系统)
|
|
/// </summary>
|
|
[ModelDB]
|
|
public string EMPLID
|
|
{
|
|
get { return _emplid; }
|
|
set { _emplid = value; }
|
|
}
|
|
|
|
private string _corpid = "";
|
|
/// <summary>
|
|
/// 客户(系统)
|
|
/// </summary>
|
|
[ModelDB]
|
|
public string CORPID
|
|
{
|
|
get { return _corpid; }
|
|
set { _corpid = value; }
|
|
}
|
|
|
|
private int _pitemid = 0;
|
|
/// <summary>
|
|
/// 父级项目编号
|
|
/// </summary>
|
|
[ModelDB]
|
|
public int PITEMID
|
|
{
|
|
get { return _pitemid; }
|
|
set { _pitemid = value; }
|
|
}
|
|
|
|
private string _itemid = "";
|
|
/// <summary>
|
|
/// 项目编号
|
|
/// </summary>
|
|
[ModelDB]
|
|
public string ITEMID
|
|
{
|
|
get { return _itemid; }
|
|
set { _itemid = value; }
|
|
}
|
|
|
|
private string _field10 = "";
|
|
/// <summary>
|
|
/// 预留字段1
|
|
/// </summary>
|
|
[ModelDB]
|
|
public string FIELD10
|
|
{
|
|
get { return _field10; }
|
|
set { _field10 = value; }
|
|
}
|
|
|
|
private string _field9 = "";
|
|
/// <summary>
|
|
/// 预留字段1
|
|
/// </summary>
|
|
[ModelDB]
|
|
public string FIELD9
|
|
{
|
|
get { return _field9; }
|
|
set { _field9 = value; }
|
|
}
|
|
|
|
private string _field8 = "";
|
|
/// <summary>
|
|
/// 预留字段1
|
|
/// </summary>
|
|
[ModelDB]
|
|
public string FIELD8
|
|
{
|
|
get { return _field8; }
|
|
set { _field8 = value; }
|
|
}
|
|
|
|
private string _field7 = "";
|
|
/// <summary>
|
|
/// 预留字段1
|
|
/// </summary>
|
|
[ModelDB]
|
|
public string FIELD7
|
|
{
|
|
get { return _field7; }
|
|
set { _field7 = value; }
|
|
}
|
|
|
|
private string _field6 = "";
|
|
/// <summary>
|
|
/// 预留字段1
|
|
/// </summary>
|
|
[ModelDB]
|
|
public string FIELD6
|
|
{
|
|
get { return _field6; }
|
|
set { _field6 = value; }
|
|
}
|
|
|
|
private string _field5 = "";
|
|
/// <summary>
|
|
/// 预留字段1
|
|
/// </summary>
|
|
[ModelDB]
|
|
public string FIELD5
|
|
{
|
|
get { return _field5; }
|
|
set { _field5 = value; }
|
|
}
|
|
|
|
private string _field4 = "";
|
|
/// <summary>
|
|
/// 预留字段1
|
|
/// </summary>
|
|
[ModelDB]
|
|
public string FIELD4
|
|
{
|
|
get { return _field4; }
|
|
set { _field4 = value; }
|
|
}
|
|
|
|
private string _field3 = "";
|
|
/// <summary>
|
|
/// 预留字段1
|
|
/// </summary>
|
|
[ModelDB]
|
|
public string FIELD3
|
|
{
|
|
get { return _field3; }
|
|
set { _field3 = value; }
|
|
}
|
|
|
|
private string _field2 = "";
|
|
/// <summary>
|
|
/// 预留字段1
|
|
/// </summary>
|
|
[ModelDB]
|
|
public string FIELD2
|
|
{
|
|
get { return _field2; }
|
|
set { _field2 = value; }
|
|
}
|
|
|
|
private string _field1 = "";
|
|
/// <summary>
|
|
/// 预留字段1
|
|
/// </summary>
|
|
[ModelDB]
|
|
public string FIELD1
|
|
{
|
|
get { return _field1; }
|
|
set { _field1 = value; }
|
|
}
|
|
|
|
private bool _issys = false;
|
|
/// <summary>
|
|
/// 是否手动录入
|
|
/// </summary>
|
|
[ModelDB]
|
|
public bool ISSYS
|
|
{
|
|
get { return _issys; }
|
|
set { _issys = value; }
|
|
}
|
|
|
|
private string _fsettlcode = "";
|
|
/// <summary>
|
|
/// 结算方式
|
|
/// </summary>
|
|
[ModelDB]
|
|
public string FSETTLCODE
|
|
{
|
|
get { return _fsettlcode; }
|
|
set { _fsettlcode = value; }
|
|
}
|
|
|
|
private string _fsettleno = "";
|
|
/// <summary>
|
|
/// 财务辅助编号
|
|
/// </summary>
|
|
[ModelDB]
|
|
public string FSETTLENO
|
|
{
|
|
get { return _fsettleno; }
|
|
set { _fsettleno = value; }
|
|
}
|
|
|
|
private string _modifieduser = "";
|
|
/// <summary>
|
|
/// 最后一次更新操作人
|
|
/// </summary>
|
|
[ModelDB]
|
|
public string MODIFIEDUSER
|
|
{
|
|
get { return _modifieduser; }
|
|
set { _modifieduser = value; }
|
|
}
|
|
|
|
private DateTime _modifiedtime = DateTime.Now;
|
|
/// <summary>
|
|
/// 最后一次更新操作时间
|
|
/// </summary>
|
|
[ModelDB]
|
|
public DateTime MODIFIEDTIME
|
|
{
|
|
get { return _modifiedtime; }
|
|
set { _modifiedtime = value; }
|
|
}
|
|
|
|
private string _customername = "";
|
|
/// <summary>
|
|
/// CUSTOMERNAME
|
|
/// </summary>
|
|
[ModelDB]
|
|
public string CUSTOMERNAME
|
|
{
|
|
get { return _customername; }
|
|
set { _customername = value; }
|
|
}
|
|
|
|
private string _sale = "";
|
|
/// <summary>
|
|
/// SALE
|
|
/// </summary>
|
|
[ModelDB]
|
|
public string SALE
|
|
{
|
|
get { return _sale; }
|
|
set { _sale = value; }
|
|
}
|
|
|
|
private string _blno = "";
|
|
/// <summary>
|
|
/// BLNO
|
|
/// </summary>
|
|
[ModelDB]
|
|
public string BLNO
|
|
{
|
|
get { return _blno; }
|
|
set { _blno = value; }
|
|
}
|
|
|
|
private string _itemgid = "";
|
|
/// <summary>
|
|
/// ITEMGID
|
|
/// </summary>
|
|
[ModelDB]
|
|
public string ITEMGID
|
|
{
|
|
get { return _itemgid; }
|
|
set { _itemgid = value; }
|
|
}
|
|
|
|
private string _deptgid = "";
|
|
/// <summary>
|
|
/// DEPTGID
|
|
/// </summary>
|
|
[ModelDB]
|
|
public string DEPTGID
|
|
{
|
|
get { return _deptgid; }
|
|
set { _deptgid = value; }
|
|
}
|
|
|
|
private string _accall = "";
|
|
/// <summary>
|
|
/// ACCALL
|
|
/// </summary>
|
|
[ModelDB]
|
|
public string ACCALL
|
|
{
|
|
get { return _accall; }
|
|
set { _accall = value; }
|
|
}
|
|
|
|
private string _ITEMNAME = "";
|
|
/// <summary>
|
|
/// ITEMNAME
|
|
/// </summary>
|
|
public string ITEMNAME
|
|
{
|
|
get { return _ITEMNAME; }
|
|
set { _ITEMNAME = value; }
|
|
}
|
|
|
|
private string _DEPTNAME = "";
|
|
/// <summary>
|
|
/// DEPTNAME
|
|
/// </summary>
|
|
public string DEPTNAME
|
|
{
|
|
get { return _DEPTNAME; }
|
|
set { _DEPTNAME = value; }
|
|
}
|
|
|
|
private decimal _FCYAMT = 0;
|
|
/// <summary>
|
|
/// 外币金额
|
|
/// </summary>
|
|
public decimal FCYAMT
|
|
{
|
|
get { return _FCYAMT; }
|
|
set { _FCYAMT = value; }
|
|
}
|
|
#endregion
|
|
|
|
public MsCwVouitems()
|
|
{
|
|
TableName = "cw_vouitems";
|
|
}
|
|
|
|
override public string GetBillNoFieldName()
|
|
{
|
|
return "GID";
|
|
}
|
|
}
|
|
//
|
|
[JsonObject]
|
|
public class MsCwVouchersVouitems : ModelObjectBillHead
|
|
{
|
|
#region 读写属性
|
|
private string _ordno = "";
|
|
/// <summary>
|
|
/// ORDNO
|
|
/// </summary>
|
|
public string ORDNO
|
|
{
|
|
get { return _ordno; }
|
|
set { _ordno = value; }
|
|
}
|
|
|
|
private string _vouno = "";
|
|
/// <summary>
|
|
/// VOUNO
|
|
/// </summary>
|
|
public string VOUNO
|
|
{
|
|
get { return _vouno; }
|
|
set { _vouno = value; }
|
|
}
|
|
|
|
private string _vkno = "";
|
|
/// <summary>
|
|
/// VKNO
|
|
/// </summary>
|
|
public string VKNO
|
|
{
|
|
get { return _vkno; }
|
|
set { _vkno = value; }
|
|
}
|
|
|
|
private string _voudate = "";
|
|
/// <summary>
|
|
/// VOUDATE
|
|
/// </summary>
|
|
public string VOUDATE
|
|
{
|
|
get { return _voudate; }
|
|
set { _voudate = value; }
|
|
}
|
|
|
|
private string _accyear = "";
|
|
/// <summary>
|
|
/// ACCYEAR
|
|
/// </summary>
|
|
public string ACCYEAR
|
|
{
|
|
get { return _accyear; }
|
|
set { _accyear = value; }
|
|
}
|
|
|
|
private string _accmonth = "";
|
|
/// <summary>
|
|
/// ACCMONTH
|
|
/// </summary>
|
|
public string ACCMONTH
|
|
{
|
|
get { return _accmonth; }
|
|
set { _accmonth = value; }
|
|
}
|
|
|
|
private int _attachs = 1;
|
|
/// <summary>
|
|
/// ATTACHS
|
|
/// </summary>
|
|
public int ATTACHS
|
|
{
|
|
get { return _attachs; }
|
|
set { _attachs = value; }
|
|
}
|
|
|
|
private string _ACCDATE = "";
|
|
/// <summary>
|
|
/// ACCDATE
|
|
/// </summary>
|
|
public string ACCDATE
|
|
{
|
|
get { return _ACCDATE; }
|
|
set { _ACCDATE = value; }
|
|
}
|
|
|
|
private string _fcy = "";
|
|
/// <summary>
|
|
/// FCY
|
|
/// </summary>
|
|
public string FCY
|
|
{
|
|
get { return _fcy; }
|
|
set { _fcy = value; }
|
|
}
|
|
|
|
private string _qty = "";
|
|
/// <summary>
|
|
/// QTY
|
|
/// </summary>
|
|
public string QTY
|
|
{
|
|
get { return _qty; }
|
|
set { _qty = value; }
|
|
}
|
|
|
|
private string _vouprop = "";
|
|
/// <summary>
|
|
/// VOUPROP
|
|
/// </summary>
|
|
public string VOUPROP
|
|
{
|
|
get { return _vouprop; }
|
|
set { _vouprop = value; }
|
|
}
|
|
|
|
private string _prepared = "";
|
|
/// <summary>
|
|
/// PREPARED
|
|
/// </summary>
|
|
public string PREPARED
|
|
{
|
|
get { return _prepared; }
|
|
set { _prepared = value; }
|
|
}
|
|
|
|
private string _checked = "";
|
|
/// <summary>
|
|
/// CHECKED
|
|
/// </summary>
|
|
public string CHECKED
|
|
{
|
|
get { return _checked; }
|
|
set { _checked = value; }
|
|
}
|
|
|
|
private string _entered = "";
|
|
/// <summary>
|
|
/// ENTERED
|
|
/// </summary>
|
|
public string ENTERED
|
|
{
|
|
get { return _entered; }
|
|
set { _entered = value; }
|
|
}
|
|
|
|
private string _errmsg = "";
|
|
/// <summary>
|
|
/// ERRMSG
|
|
/// </summary>
|
|
public string ERRMSG
|
|
{
|
|
get { return _errmsg; }
|
|
set { _errmsg = value; }
|
|
}
|
|
|
|
private bool _isdelete = false;
|
|
/// <summary>
|
|
/// ISDELETE
|
|
/// </summary>
|
|
public bool ISDELETE
|
|
{
|
|
get { return _isdelete; }
|
|
set { _isdelete = value; }
|
|
}
|
|
|
|
private string _deleteuser = "";
|
|
/// <summary>
|
|
/// DELETEUSER
|
|
/// </summary>
|
|
public string DELETEUSER
|
|
{
|
|
get { return _deleteuser; }
|
|
set { _deleteuser = value; }
|
|
}
|
|
|
|
private DateTime _deletetime = DateTime.Now;
|
|
/// <summary>
|
|
/// DELETETIME
|
|
/// </summary>
|
|
public DateTime DELETETIME
|
|
{
|
|
get { return _deletetime; }
|
|
set { _deletetime = value; }
|
|
}
|
|
|
|
private string _vouallno = "";
|
|
/// <summary>
|
|
/// VOUALLNO
|
|
/// </summary>
|
|
public string VOUALLNO
|
|
{
|
|
get { return _vouallno; }
|
|
set { _vouallno = value; }
|
|
}
|
|
|
|
private string _mblno = "";
|
|
/// <summary>
|
|
/// MBLNO
|
|
/// </summary>
|
|
public string MBLNO
|
|
{
|
|
get { return _mblno; }
|
|
set { _mblno = value; }
|
|
}
|
|
|
|
private string _gid = "";
|
|
/// <summary>
|
|
/// GID
|
|
/// </summary>
|
|
public string GID
|
|
{
|
|
get { return _gid; }
|
|
set { _gid = value; }
|
|
}
|
|
|
|
private int _itemno = 0;
|
|
/// <summary>
|
|
/// ITEMNO
|
|
/// </summary>
|
|
public int ITEMNO
|
|
{
|
|
get { return _itemno; }
|
|
set { _itemno = value; }
|
|
}
|
|
|
|
private string _accid = "";
|
|
/// <summary>
|
|
/// ACCID
|
|
/// </summary>
|
|
public string ACCID
|
|
{
|
|
get { return _accid; }
|
|
set { _accid = value; }
|
|
}
|
|
|
|
private string _paccid = "";
|
|
/// <summary>
|
|
/// PACCID
|
|
/// </summary>
|
|
public string PACCID
|
|
{
|
|
get { return _paccid; }
|
|
set { _paccid = value; }
|
|
}
|
|
|
|
private string _accname = "";
|
|
/// <summary>
|
|
/// ACCNAME
|
|
/// </summary>
|
|
public string ACCNAME
|
|
{
|
|
get { return _accname; }
|
|
set { _accname = value; }
|
|
}
|
|
|
|
private int _property = 0;
|
|
/// <summary>
|
|
/// PROPERTY
|
|
/// </summary>
|
|
public int PROPERTY
|
|
{
|
|
get { return _property; }
|
|
set { _property = value; }
|
|
}
|
|
|
|
private int _grade = 0;
|
|
/// <summary>
|
|
/// GRADE
|
|
/// </summary>
|
|
public int GRADE
|
|
{
|
|
get { return _grade; }
|
|
set { _grade = value; }
|
|
}
|
|
|
|
private string _dc = "";
|
|
/// <summary>
|
|
/// DC
|
|
/// </summary>
|
|
public string DC
|
|
{
|
|
get { return _dc; }
|
|
set { _dc = value; }
|
|
}
|
|
|
|
private decimal _amtdr = 0;
|
|
/// <summary>
|
|
/// AMTDR
|
|
/// </summary>
|
|
public decimal AMTDR
|
|
{
|
|
get { return _amtdr; }
|
|
set { _amtdr = value; }
|
|
}
|
|
|
|
private decimal _amtcr = 0;
|
|
/// <summary>
|
|
/// AMTCR
|
|
/// </summary>
|
|
public decimal AMTCR
|
|
{
|
|
get { return _amtcr; }
|
|
set { _amtcr = value; }
|
|
}
|
|
|
|
private bool _isfcy = false;
|
|
/// <summary>
|
|
/// ISFCY
|
|
/// </summary>
|
|
public bool ISFCY
|
|
{
|
|
get { return _isfcy; }
|
|
set { _isfcy = value; }
|
|
}
|
|
|
|
private string _fcyno = "";
|
|
/// <summary>
|
|
/// FCYNO
|
|
/// </summary>
|
|
public string FCYNO
|
|
{
|
|
get { return _fcyno; }
|
|
set { _fcyno = value; }
|
|
}
|
|
|
|
private decimal _fcyexrate = 0;
|
|
/// <summary>
|
|
/// FCYEXRATE
|
|
/// </summary>
|
|
public decimal FCYEXRATE
|
|
{
|
|
get { return _fcyexrate; }
|
|
set { _fcyexrate = value; }
|
|
}
|
|
|
|
private decimal _fcydr = 0;
|
|
/// <summary>
|
|
/// FCYDR
|
|
/// </summary>
|
|
public decimal FCYDR
|
|
{
|
|
get { return _fcydr; }
|
|
set { _fcydr = value; }
|
|
}
|
|
|
|
private decimal _fcycr = 0;
|
|
/// <summary>
|
|
/// FCYCR
|
|
/// </summary>
|
|
public decimal FCYCR
|
|
{
|
|
get { return _fcycr; }
|
|
set { _fcycr = value; }
|
|
}
|
|
|
|
private string _qtyunit = "";
|
|
/// <summary>
|
|
/// QTYUNIT
|
|
/// </summary>
|
|
public string QTYUNIT
|
|
{
|
|
get { return _qtyunit; }
|
|
set { _qtyunit = value; }
|
|
}
|
|
|
|
private decimal _qtydr = 0;
|
|
/// <summary>
|
|
/// QTYDR
|
|
/// </summary>
|
|
public decimal QTYDR
|
|
{
|
|
get { return _qtydr; }
|
|
set { _qtydr = value; }
|
|
}
|
|
|
|
private decimal _qtycr = 0;
|
|
/// <summary>
|
|
/// QTYCR
|
|
/// </summary>
|
|
public decimal QTYCR
|
|
{
|
|
get { return _qtycr; }
|
|
set { _qtycr = value; }
|
|
}
|
|
|
|
private string _explan = "";
|
|
/// <summary>
|
|
/// EXPLAN
|
|
/// </summary>
|
|
public string EXPLAN
|
|
{
|
|
get { return _explan; }
|
|
set { _explan = value; }
|
|
}
|
|
|
|
private bool _isdeptacc = false;
|
|
/// <summary>
|
|
/// ISDEPTACC
|
|
/// </summary>
|
|
public bool ISDEPTACC
|
|
{
|
|
get { return _isdeptacc; }
|
|
set { _isdeptacc = value; }
|
|
}
|
|
|
|
private bool _isemplacc = false;
|
|
/// <summary>
|
|
/// ISEMPLACC
|
|
/// </summary>
|
|
public bool ISEMPLACC
|
|
{
|
|
get { return _isemplacc; }
|
|
set { _isemplacc = value; }
|
|
}
|
|
|
|
private bool _iscorpacc = false;
|
|
/// <summary>
|
|
/// ISCORPACC
|
|
/// </summary>
|
|
public bool ISCORPACC
|
|
{
|
|
get { return _iscorpacc; }
|
|
set { _iscorpacc = value; }
|
|
}
|
|
|
|
private bool _isitemacc = false;
|
|
/// <summary>
|
|
/// ISITEMACC
|
|
/// </summary>
|
|
public bool ISITEMACC
|
|
{
|
|
get { return _isitemacc; }
|
|
set { _isitemacc = value; }
|
|
}
|
|
|
|
private string _deptid = "";
|
|
/// <summary>
|
|
/// DEPTID
|
|
/// </summary>
|
|
public string DEPTID
|
|
{
|
|
get { return _deptid; }
|
|
set { _deptid = value; }
|
|
}
|
|
|
|
private string _emplid = "";
|
|
/// <summary>
|
|
/// EMPLID
|
|
/// </summary>
|
|
public string EMPLID
|
|
{
|
|
get { return _emplid; }
|
|
set { _emplid = value; }
|
|
}
|
|
|
|
private string _corpid = "";
|
|
/// <summary>
|
|
/// CORPID
|
|
/// </summary>
|
|
public string CORPID
|
|
{
|
|
get { return _corpid; }
|
|
set { _corpid = value; }
|
|
}
|
|
|
|
private int _pitemid = 0;
|
|
/// <summary>
|
|
/// PITEMID
|
|
/// </summary>
|
|
public int PITEMID
|
|
{
|
|
get { return _pitemid; }
|
|
set { _pitemid = value; }
|
|
}
|
|
|
|
private string _itemid = "";
|
|
/// <summary>
|
|
/// ITEMID
|
|
/// </summary>
|
|
public string ITEMID
|
|
{
|
|
get { return _itemid; }
|
|
set { _itemid = value; }
|
|
}
|
|
|
|
private string _field10 = "";
|
|
/// <summary>
|
|
/// FIELD10
|
|
/// </summary>
|
|
public string FIELD10
|
|
{
|
|
get { return _field10; }
|
|
set { _field10 = value; }
|
|
}
|
|
|
|
private string _field9 = "";
|
|
/// <summary>
|
|
/// FIELD9
|
|
/// </summary>
|
|
public string FIELD9
|
|
{
|
|
get { return _field9; }
|
|
set { _field9 = value; }
|
|
}
|
|
|
|
private string _field8 = "";
|
|
/// <summary>
|
|
/// FIELD8
|
|
/// </summary>
|
|
public string FIELD8
|
|
{
|
|
get { return _field8; }
|
|
set { _field8 = value; }
|
|
}
|
|
|
|
private string _field7 = "";
|
|
/// <summary>
|
|
/// FIELD7
|
|
/// </summary>
|
|
public string FIELD7
|
|
{
|
|
get { return _field7; }
|
|
set { _field7 = value; }
|
|
}
|
|
|
|
private string _field6 = "";
|
|
/// <summary>
|
|
/// FIELD6
|
|
/// </summary>
|
|
public string FIELD6
|
|
{
|
|
get { return _field6; }
|
|
set { _field6 = value; }
|
|
}
|
|
|
|
private string _field5 = "";
|
|
/// <summary>
|
|
/// FIELD5
|
|
/// </summary>
|
|
public string FIELD5
|
|
{
|
|
get { return _field5; }
|
|
set { _field5 = value; }
|
|
}
|
|
|
|
private string _field4 = "";
|
|
/// <summary>
|
|
/// FIELD4
|
|
/// </summary>
|
|
public string FIELD4
|
|
{
|
|
get { return _field4; }
|
|
set { _field4 = value; }
|
|
}
|
|
|
|
private string _field3 = "";
|
|
/// <summary>
|
|
/// FIELD3
|
|
/// </summary>
|
|
public string FIELD3
|
|
{
|
|
get { return _field3; }
|
|
set { _field3 = value; }
|
|
}
|
|
|
|
private string _field2 = "";
|
|
/// <summary>
|
|
/// FIELD2
|
|
/// </summary>
|
|
public string FIELD2
|
|
{
|
|
get { return _field2; }
|
|
set { _field2 = value; }
|
|
}
|
|
|
|
private string _field1 = "";
|
|
/// <summary>
|
|
/// FIELD1
|
|
/// </summary>
|
|
public string FIELD1
|
|
{
|
|
get { return _field1; }
|
|
set { _field1 = value; }
|
|
}
|
|
|
|
private bool _issys = false;
|
|
/// <summary>
|
|
/// ISSYS
|
|
/// </summary>
|
|
public bool ISSYS
|
|
{
|
|
get { return _issys; }
|
|
set { _issys = value; }
|
|
}
|
|
|
|
private string _fsettlcode = "";
|
|
/// <summary>
|
|
/// FSETTLCODE
|
|
/// </summary>
|
|
public string FSETTLCODE
|
|
{
|
|
get { return _fsettlcode; }
|
|
set { _fsettlcode = value; }
|
|
}
|
|
|
|
private string _fsettleno = "";
|
|
/// <summary>
|
|
/// FSETTLENO
|
|
/// </summary>
|
|
public string FSETTLENO
|
|
{
|
|
get { return _fsettleno; }
|
|
set { _fsettleno = value; }
|
|
}
|
|
|
|
private string _modifieduser = "";
|
|
/// <summary>
|
|
/// MODIFIEDUSER
|
|
/// </summary>
|
|
public string MODIFIEDUSER
|
|
{
|
|
get { return _modifieduser; }
|
|
set { _modifieduser = value; }
|
|
}
|
|
|
|
private DateTime _modifiedtime = DateTime.Now;
|
|
/// <summary>
|
|
/// MODIFIEDTIME
|
|
/// </summary>
|
|
public DateTime MODIFIEDTIME
|
|
{
|
|
get { return _modifiedtime; }
|
|
set { _modifiedtime = value; }
|
|
}
|
|
|
|
private string _customername = "";
|
|
/// <summary>
|
|
/// CUSTOMERNAME
|
|
/// </summary>
|
|
public string CUSTOMERNAME
|
|
{
|
|
get { return _customername; }
|
|
set { _customername = value; }
|
|
}
|
|
|
|
private string _sale = "";
|
|
/// <summary>
|
|
/// SALE
|
|
/// </summary>
|
|
public string SALE
|
|
{
|
|
get { return _sale; }
|
|
set { _sale = value; }
|
|
}
|
|
|
|
private string _blno = "";
|
|
/// <summary>
|
|
/// BLNO
|
|
/// </summary>
|
|
public string BLNO
|
|
{
|
|
get { return _blno; }
|
|
set { _blno = value; }
|
|
}
|
|
|
|
private string _deptacc = "";
|
|
/// <summary>
|
|
/// DEPTACC
|
|
/// </summary>
|
|
public string DEPTACC
|
|
{
|
|
get { return _deptacc; }
|
|
set { _deptacc = value; }
|
|
}
|
|
|
|
private string _emplacc = "";
|
|
/// <summary>
|
|
/// EMPLACC
|
|
/// </summary>
|
|
public string EMPLACC
|
|
{
|
|
get { return _emplacc; }
|
|
set { _emplacc = value; }
|
|
}
|
|
|
|
private string _corpacc = "";
|
|
/// <summary>
|
|
/// CORPACC
|
|
/// </summary>
|
|
public string CORPACC
|
|
{
|
|
get { return _corpacc; }
|
|
set { _corpacc = value; }
|
|
}
|
|
|
|
|
|
private string _expvouno = "";
|
|
/// <summary>
|
|
/// CORPACC
|
|
/// </summary>
|
|
public string EXPVOUNO
|
|
{
|
|
get { return _expvouno; }
|
|
set { _expvouno = value; }
|
|
}
|
|
|
|
|
|
private string _itemacc = "";
|
|
/// <summary>
|
|
/// ITEMACC
|
|
/// </summary>
|
|
public string ITEMACC
|
|
{
|
|
get { return _itemacc; }
|
|
set { _itemacc = value; }
|
|
}
|
|
|
|
private bool _isexport = false;
|
|
/// <summary>
|
|
/// ISEXPORT
|
|
/// </summary>
|
|
public bool ISEXPORT
|
|
{
|
|
get { return _isexport; }
|
|
set { _isexport = 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 bool _ischecked = false;
|
|
/// <summary>
|
|
/// ISCHECKED
|
|
/// </summary>
|
|
public bool ISCHECKED
|
|
{
|
|
get { return _ischecked; }
|
|
set { _ischecked = value; }
|
|
}
|
|
|
|
private DateTime _checkedtime = DateTime.Now;
|
|
/// <summary>
|
|
/// CHECKEDTIME
|
|
/// </summary>
|
|
public DateTime CHECKEDTIME
|
|
{
|
|
get { return _checkedtime; }
|
|
set { _checkedtime = value; }
|
|
}
|
|
|
|
private string _carryovertype = "";
|
|
/// <summary>
|
|
/// CarryOverType
|
|
/// </summary>
|
|
public string CarryOverType
|
|
{
|
|
get { return _carryovertype; }
|
|
set { _carryovertype = value; }
|
|
}
|
|
#endregion
|
|
|
|
public MsCwVouchersVouitems()
|
|
{
|
|
TableName = "VW_cw_vouchers_vouitems";
|
|
}
|
|
|
|
override public string GetBillNoFieldName()
|
|
{
|
|
return "GID";
|
|
}
|
|
}
|
|
}
|