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.
DS7/DSWeb/Areas/MvcShipping/Models/MsCwVouchersVouitemsGl/MsCwVouchersVouitemsGl.cs

864 lines
20 KiB
C#

3 years ago
using System;
using HcUtility.Core;
using Newtonsoft.Json;
namespace DSWeb.MvcShipping.Models.MsCwVouchersGl
{
[JsonObject]
public class MsCwVouchersVouitemsGl : ModelObjectBillHead
{
#region Vouchers_读写属性
private string _ordno = Guid.NewGuid().ToString();
/// <summary>
/// 唯一编码
/// </summary>
public string ORDNO
{
get { return _ordno; }
set { _ordno = value; }
}
private int _vouno = 0;
/// <summary>
/// 自动生成编号,月初清零
/// </summary>
public int VOUNO
{
get { return _vouno; }
set { _vouno = value; }
}
private string _vkno = "";
/// <summary>
/// 凭证字
/// </summary>
public string VKNO
{
get { return _vkno; }
set { _vkno = value; }
}
private string _voudate;
/// <summary>
/// 凭证日期
/// </summary>
public string VOUDATE
{
get { return _voudate; }
set { _voudate = value; }
}
private string _accyear = DateTime.Now.Year.ToString();
/// <summary>
/// 年
/// </summary>
public string ACCYEAR
{
get { return _accyear; }
set { _accyear = value; }
}
private string _accmonth = DateTime.Now.Month.ToString();
/// <summary>
/// 月
/// </summary>
public string ACCMONTH
{
get { return _accmonth; }
set { _accmonth = value; }
}
private int _attachs = 0;
/// <summary>
/// 附件(单据)数
/// </summary>
public int ATTACHS
{
get { return _attachs; }
set { _attachs = value; }
}
//private decimal _amtdr = 0;
///// <summary>
///// 本位币借方
///// </summary>
//public decimal AMTDR
//{
// get { return _amtdr; }
// set { _amtdr = value; }
//}
//private decimal _amtcr = 0;
///// <summary>
///// 本位币贷方
///// </summary>
//public decimal AMTCR
//{
// get { return _amtcr; }
// set { _amtcr = value; }
//}
private string _fcy = "";
/// <summary>
/// 是否含有外币科目
/// </summary>
public string FCY
{
get { return _fcy; }
set { _fcy = value; }
}
private string _qty = "";
/// <summary>
/// 是否含有数量科目
/// </summary>
public string QTY
{
get { return _qty; }
set { _qty = value; }
}
private string _vouprop = "";
/// <summary>
/// 凭证属性
/// </summary>
public string VOUPROP
{
get { return _vouprop; }
set { _vouprop = value; }
}
private string _prepared = "";
/// <summary>
/// 制单人
/// </summary>
public string PREPARED
{
get { return _prepared; }
set { _prepared = value; }
}
private string _checked = "";
/// <summary>
/// 审核人
/// </summary>
public string CHECKED
{
get { return _checked; }
set { _checked = value; }
}
private string _entered = "";
/// <summary>
/// 记账人
/// </summary>
public string ENTERED
{
get { return _entered; }
set { _entered = value; }
}
private string _errmsg = "";
/// <summary>
/// 错误信息
/// </summary>
public string ERRMSG
{
get { return _errmsg; }
set { _errmsg = value; }
}
private bool _isdelete = false;
/// <summary>
/// 是否废除
/// </summary>
public bool ISDELETE
{
get { return _isdelete; }
set { _isdelete = value; }
}
private string _deleteuser = "";
/// <summary>
/// 废除操作人
/// </summary>
public string DELETEUSER
{
get { return _deleteuser; }
set { _deleteuser = value; }
}
private DateTime _deletetime = DateTime.Now;
/// <summary>
/// 废除时间
/// </summary>
public DateTime DELETETIME
{
get { return _deletetime; }
set { _deletetime = value; }
}
private string _vouallno = "";
/// <summary>
/// 年+月+自动生成编号=凭证号
/// </summary>
public string VOUALLNO
{
get { return _vouallno; }
set { _vouallno = value; }
}
private bool _isexport = false;
/// <summary>
/// 是否导出凭证
/// </summary>
public bool ISEXPORT
{
get { return _isexport; }
set { _isexport = value; }
}
private bool _ISCHECKED = false;
/// <summary>
/// 是否审核
/// </summary>
public bool ISCHECKED
{
get { return _ISCHECKED; }
set { _ISCHECKED = value; }
}
private DateTime _CHECKEDTIME = DateTime.Now;
/// <summary>
/// 审核时间
/// </summary>
public DateTime CHECKEDTIME
{
get { return _CHECKEDTIME; }
set { _CHECKEDTIME = value; }
}
private string _ACCDATE = "";
/// <summary>
/// ACCDATE
/// </summary>
public string ACCDATE
{
get { return _ACCDATE; }
set { _ACCDATE = value; }
}
#endregion
#region Vouitems_读写属性
private string _gid = Guid.NewGuid().ToString();
/// <summary>
/// 唯一编码
/// </summary>
public string GID
{
get { return _gid; }
set { _gid = value; }
}
//private string _ordno = "";
///// <summary>
///// 关联cw_vouchers_gl
///// </summary>
//public string ORDNO
//{
// get { return _ordno; }
// set { _ordno = value; }
//}
private int _itemno = 0;
/// <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 = 0;
/// <summary>
/// 科目属性
/// </summary>
public int PROPERTY
{
get { return _property; }
set { _property = value; }
}
private int _grade = 0;
/// <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 = 0;
/// <summary>
/// 本位币借方金额(互斥)
/// </summary>
public decimal AMTDR
{
get { return _amtdr; }
set { _amtdr = value; }
}
private decimal _amtcr = 0;
/// <summary>
/// 本位币贷方金额(互斥)
/// </summary>
public decimal AMTCR
{
get { return _amtcr; }
set { _amtcr = value; }
}
private bool _isfcy = false;
/// <summary>
/// 是否外币
/// </summary>
public bool ISFCY
{
get { return _isfcy; }
set { _isfcy = value; }
}
private string _fcyno = "RMB";
/// <summary>
/// 外币编号usd
/// </summary>
public string FCYNO
{
get { return _fcyno; }
set { _fcyno = value; }
}
private decimal _fcyexrate = 0;
/// <summary>
/// 汇率
/// </summary>
public decimal FCYEXRATE
{
get { return _fcyexrate; }
set { _fcyexrate = value; }
}
private decimal _fcydr = 0;
/// <summary>
/// 外币借方金额
/// </summary>
public decimal FCYDR
{
get { return _fcydr; }
set { _fcydr = value; }
}
private decimal _fcycr = 0;
/// <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 = 0;
/// <summary>
/// 借方数量
/// </summary>
public decimal QTYDR
{
get { return _qtydr; }
set { _qtydr = value; }
}
private decimal _qtycr = 0;
/// <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 = false;
/// <summary>
/// 核算部门,按规则设置生成
/// </summary>
public bool ISDEPTACC
{
get { return _isdeptacc; }
set { _isdeptacc = value; }
}
private bool _isemplacc = false;
/// <summary>
/// 核算人员,按规则设置生成
/// </summary>
public bool ISEMPLACC
{
get { return _isemplacc; }
set { _isemplacc = value; }
}
private bool _iscorpacc = false;
/// <summary>
/// 核算客户,按规则设置生成
/// </summary>
public bool ISCORPACC
{
get { return _iscorpacc; }
set { _iscorpacc = value; }
}
private bool _isitemacc = false;
/// <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 = 0;
/// <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 = false;
/// <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 DateTime _FSETTLDATE = DateTime.Now;
/// <summary>
/// 结算日期
/// </summary>
public DateTime FSETTLDATE
{
get { return _FSETTLDATE; }
set { _FSETTLDATE = value; }
}
private string _CREATEUSER = "";
/// <summary>
/// 创建人GID
/// </summary>
public string CREATEUSER
{
get { return _CREATEUSER; }
set { _CREATEUSER = value; }
}
private string _CREATEUSERNAME = "";
/// <summary>
/// 创建人
/// </summary>
public string CREATEUSERNAME
{
get { return _CREATEUSERNAME; }
set { _CREATEUSERNAME = value; }
}
private DateTime _CREATETIME = DateTime.Now;
/// <summary>
/// 创建时间
/// </summary>
public DateTime CREATETIME
{
get { return _CREATETIME; }
set { _CREATETIME = value; }
}
private string _modifieduser = "";
/// <summary>
/// 最后一次更新操作人GID
/// </summary>
public string MODIFIEDUSER
{
get { return _modifieduser; }
set { _modifieduser = value; }
}
private string _MODIFIEDUSERNAME = "";
/// <summary>
/// 最后一次更新操作人
/// </summary>
public string MODIFIEDUSERNAME
{
get { return _MODIFIEDUSERNAME; }
set { _MODIFIEDUSERNAME = value; }
}
private DateTime _modifiedtime = DateTime.Now;
/// <summary>
/// 最后一次更新操作时间
/// </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 _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 decimal _FCYAMT = 0;
/// <summary>
/// 原币金额
/// </summary>
public decimal FCYAMT
{
get { return _FCYAMT; }
set { _FCYAMT = value; }
}
private string _STARTGID = "";
/// <summary>
/// 总账已启用已登录账套GID
/// </summary>
public string STARTGID
{
get { return _STARTGID; }
set { _STARTGID = value; }
}
private string _COPYORDNO = "";
public string COPYORDNO
{
get { return _COPYORDNO; }
set { _COPYORDNO = value; }
}
private bool _ISCOPY = false;
/// <summary>
/// 是否已经复制
/// </summary>
public bool ISCOPY
{
get { return _ISCOPY; }
set { _ISCOPY = value; }
}
private bool _ISAUTO = false;
/// <summary>
/// 是否系统
/// </summary>
public bool ISAUTO
{
get { return _ISAUTO; }
set { _ISAUTO = value; }
}
public string ISAUTOSTR { get; set; }
#endregion
public MsCwVouchersVouitemsGl()
{
TableName = "VW_cw_vouchers_vouitems_gl";
}
override public string GetBillNoFieldName()
{
return "GID";
}
}
//
}