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(); /// /// 唯一编码 /// public string ORDNO { get { return _ordno; } set { _ordno = value; } } private int _vouno = 0; /// /// 自动生成编号,月初清零 /// public int VOUNO { get { return _vouno; } set { _vouno = value; } } private string _vkno = ""; /// /// 凭证字 /// public string VKNO { get { return _vkno; } set { _vkno = value; } } private string _voudate; /// /// 凭证日期 /// public string VOUDATE { get { return _voudate; } set { _voudate = value; } } private string _accyear = DateTime.Now.Year.ToString(); /// /// 年 /// public string ACCYEAR { get { return _accyear; } set { _accyear = value; } } private string _accmonth = DateTime.Now.Month.ToString(); /// /// 月 /// public string ACCMONTH { get { return _accmonth; } set { _accmonth = value; } } private int _attachs = 0; /// /// 附件(单据)数 /// public int ATTACHS { get { return _attachs; } set { _attachs = value; } } //private decimal _amtdr = 0; ///// ///// 本位币借方 ///// //public decimal AMTDR //{ // get { return _amtdr; } // set { _amtdr = value; } //} //private decimal _amtcr = 0; ///// ///// 本位币贷方 ///// //public decimal AMTCR //{ // get { return _amtcr; } // set { _amtcr = value; } //} private string _fcy = ""; /// /// 是否含有外币科目 /// public string FCY { get { return _fcy; } set { _fcy = value; } } private string _qty = ""; /// /// 是否含有数量科目 /// public string QTY { get { return _qty; } set { _qty = value; } } private string _vouprop = ""; /// /// 凭证属性 /// public string VOUPROP { get { return _vouprop; } set { _vouprop = value; } } private string _prepared = ""; /// /// 制单人 /// public string PREPARED { get { return _prepared; } set { _prepared = value; } } private string _checked = ""; /// /// 审核人 /// public string CHECKED { get { return _checked; } set { _checked = value; } } private string _entered = ""; /// /// 记账人 /// public string ENTERED { get { return _entered; } set { _entered = value; } } private string _errmsg = ""; /// /// 错误信息 /// public string ERRMSG { get { return _errmsg; } set { _errmsg = value; } } private bool _isdelete = false; /// /// 是否废除 /// public bool ISDELETE { get { return _isdelete; } set { _isdelete = value; } } private string _deleteuser = ""; /// /// 废除操作人 /// public string DELETEUSER { get { return _deleteuser; } set { _deleteuser = value; } } private DateTime _deletetime = DateTime.Now; /// /// 废除时间 /// public DateTime DELETETIME { get { return _deletetime; } set { _deletetime = value; } } private string _vouallno = ""; /// /// 年+月+自动生成编号=凭证号 /// public string VOUALLNO { get { return _vouallno; } set { _vouallno = value; } } private bool _isexport = false; /// /// 是否导出凭证 /// public bool ISEXPORT { get { return _isexport; } set { _isexport = value; } } private bool _ISCHECKED = false; /// /// 是否审核 /// public bool ISCHECKED { get { return _ISCHECKED; } set { _ISCHECKED = value; } } private DateTime _CHECKEDTIME = DateTime.Now; /// /// 审核时间 /// public DateTime CHECKEDTIME { get { return _CHECKEDTIME; } set { _CHECKEDTIME = value; } } private string _ACCDATE = ""; /// /// ACCDATE /// public string ACCDATE { get { return _ACCDATE; } set { _ACCDATE = value; } } #endregion #region Vouitems_读写属性 private string _gid = Guid.NewGuid().ToString(); /// /// 唯一编码 /// public string GID { get { return _gid; } set { _gid = value; } } //private string _ordno = ""; ///// ///// 关联cw_vouchers_gl ///// //public string ORDNO //{ // get { return _ordno; } // set { _ordno = value; } //} private int _itemno = 0; /// /// 行号 /// public int ITEMNO { get { return _itemno; } set { _itemno = value; } } private string _accid = ""; /// /// 科目代码 /// public string ACCID { get { return _accid; } set { _accid = value; } } private string _paccid = ""; /// /// 父级科目代码 /// public string PACCID { get { return _paccid; } set { _paccid = value; } } private string _accname = ""; /// /// 科目名称 /// public string ACCNAME { get { return _accname; } set { _accname = value; } } private int _property = 0; /// /// 科目属性 /// public int PROPERTY { get { return _property; } set { _property = value; } } private int _grade = 0; /// /// 科目级别 /// public int GRADE { get { return _grade; } set { _grade = value; } } private string _dc = ""; /// /// 借贷方向 /// public string DC { get { return _dc; } set { _dc = value; } } private decimal _amtdr = 0; /// /// 本位币借方金额(互斥) /// public decimal AMTDR { get { return _amtdr; } set { _amtdr = value; } } private decimal _amtcr = 0; /// /// 本位币贷方金额(互斥) /// public decimal AMTCR { get { return _amtcr; } set { _amtcr = value; } } private bool _isfcy = false; /// /// 是否外币 /// public bool ISFCY { get { return _isfcy; } set { _isfcy = value; } } private string _fcyno = "RMB"; /// /// 外币编号usd /// public string FCYNO { get { return _fcyno; } set { _fcyno = value; } } private decimal _fcyexrate = 0; /// /// 汇率 /// public decimal FCYEXRATE { get { return _fcyexrate; } set { _fcyexrate = value; } } private decimal _fcydr = 0; /// /// 外币借方金额 /// public decimal FCYDR { get { return _fcydr; } set { _fcydr = value; } } private decimal _fcycr = 0; /// /// 外币贷方金额 /// public decimal FCYCR { get { return _fcycr; } set { _fcycr = value; } } private string _qtyunit = ""; /// /// 数量包装单位 /// public string QTYUNIT { get { return _qtyunit; } set { _qtyunit = value; } } private decimal _qtydr = 0; /// /// 借方数量 /// public decimal QTYDR { get { return _qtydr; } set { _qtydr = value; } } private decimal _qtycr = 0; /// /// 贷方数量 /// public decimal QTYCR { get { return _qtycr; } set { _qtycr = value; } } private string _explan = ""; /// /// 摘要,规则生成 /// public string EXPLAN { get { return _explan; } set { _explan = value; } } private bool _isdeptacc = false; /// /// 核算部门,按规则设置生成 /// public bool ISDEPTACC { get { return _isdeptacc; } set { _isdeptacc = value; } } private bool _isemplacc = false; /// /// 核算人员,按规则设置生成 /// public bool ISEMPLACC { get { return _isemplacc; } set { _isemplacc = value; } } private bool _iscorpacc = false; /// /// 核算客户,按规则设置生成 /// public bool ISCORPACC { get { return _iscorpacc; } set { _iscorpacc = value; } } private bool _isitemacc = false; /// /// 核算项目,按规则设置生成 /// public bool ISITEMACC { get { return _isitemacc; } set { _isitemacc = value; } } private string _deptid = ""; /// /// 部门(系统) /// public string DEPTID { get { return _deptid; } set { _deptid = value; } } private string _emplid = ""; /// /// 人员(系统) /// public string EMPLID { get { return _emplid; } set { _emplid = value; } } private string _corpid = ""; /// /// 客户(系统) /// public string CORPID { get { return _corpid; } set { _corpid = value; } } private int _pitemid = 0; /// /// 父级项目编号 /// public int PITEMID { get { return _pitemid; } set { _pitemid = value; } } private string _itemid = ""; /// /// 项目编号 /// public string ITEMID { get { return _itemid; } set { _itemid = value; } } private string _field10 = ""; /// /// 预留字段1 /// public string FIELD10 { get { return _field10; } set { _field10 = value; } } private string _field9 = ""; /// /// 预留字段1 /// public string FIELD9 { get { return _field9; } set { _field9 = value; } } private string _field8 = ""; /// /// 预留字段1 /// public string FIELD8 { get { return _field8; } set { _field8 = value; } } private string _field7 = ""; /// /// 预留字段1 /// public string FIELD7 { get { return _field7; } set { _field7 = value; } } private string _field6 = ""; /// /// 预留字段1 /// public string FIELD6 { get { return _field6; } set { _field6 = value; } } private string _field5 = ""; /// /// 预留字段1 /// public string FIELD5 { get { return _field5; } set { _field5 = value; } } private string _field4 = ""; /// /// 预留字段1 /// public string FIELD4 { get { return _field4; } set { _field4 = value; } } private string _field3 = ""; /// /// 预留字段1 /// public string FIELD3 { get { return _field3; } set { _field3 = value; } } private string _field2 = ""; /// /// 预留字段1 /// public string FIELD2 { get { return _field2; } set { _field2 = value; } } private string _field1 = ""; /// /// 预留字段1 /// public string FIELD1 { get { return _field1; } set { _field1 = value; } } private bool _issys = false; /// /// 是否手动录入 /// public bool ISSYS { get { return _issys; } set { _issys = value; } } private string _fsettlcode = ""; /// /// 结算方式 /// public string FSETTLCODE { get { return _fsettlcode; } set { _fsettlcode = value; } } private string _fsettleno = ""; /// /// 财务辅助编号 /// public string FSETTLENO { get { return _fsettleno; } set { _fsettleno = value; } } private DateTime _FSETTLDATE = DateTime.Now; /// /// 结算日期 /// public DateTime FSETTLDATE { get { return _FSETTLDATE; } set { _FSETTLDATE = value; } } private string _CREATEUSER = ""; /// /// 创建人GID /// public string CREATEUSER { get { return _CREATEUSER; } set { _CREATEUSER = value; } } private string _CREATEUSERNAME = ""; /// /// 创建人 /// public string CREATEUSERNAME { get { return _CREATEUSERNAME; } set { _CREATEUSERNAME = value; } } private DateTime _CREATETIME = DateTime.Now; /// /// 创建时间 /// public DateTime CREATETIME { get { return _CREATETIME; } set { _CREATETIME = value; } } private string _modifieduser = ""; /// /// 最后一次更新操作人GID /// public string MODIFIEDUSER { get { return _modifieduser; } set { _modifieduser = value; } } private string _MODIFIEDUSERNAME = ""; /// /// 最后一次更新操作人 /// public string MODIFIEDUSERNAME { get { return _MODIFIEDUSERNAME; } set { _MODIFIEDUSERNAME = value; } } private DateTime _modifiedtime = DateTime.Now; /// /// 最后一次更新操作时间 /// public DateTime MODIFIEDTIME { get { return _modifiedtime; } set { _modifiedtime = value; } } private string _customername = ""; /// /// CUSTOMERNAME /// public string CUSTOMERNAME { get { return _customername; } set { _customername = value; } } private string _sale = ""; /// /// SALE /// public string SALE { get { return _sale; } set { _sale = value; } } private string _blno = ""; /// /// BLNO /// public string BLNO { get { return _blno; } set { _blno = value; } } private string _ITEMGID = ""; /// /// ITEMGID /// public string ITEMGID { get { return _ITEMGID; } set { _ITEMGID = value; } } private string _DEPTGID = ""; /// /// DEPTGID /// public string DEPTGID { get { return _DEPTGID; } set { _DEPTGID = value; } } private string _ACCALL = ""; /// /// ACCALL /// public string ACCALL { get { return _ACCALL; } set { _ACCALL = value; } } private decimal _FCYAMT = 0; /// /// 原币金额 /// public decimal FCYAMT { get { return _FCYAMT; } set { _FCYAMT = value; } } private string _STARTGID = ""; /// /// 总账已启用已登录账套GID /// 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; /// /// 是否已经复制 /// public bool ISCOPY { get { return _ISCOPY; } set { _ISCOPY = value; } } private bool _ISAUTO = false; /// /// 是否系统 /// 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"; } } // }