using System; using HcUtility.Core; using Newtonsoft.Json; namespace DSWeb.MvcShipping.Models.MsCwVouitemsGl { [JsonObject] public class MsCwVouitemsGl : ModelObjectBillHead { #region 读写属性 private string _gid = Guid.NewGuid().ToString(); /// /// 唯一编码 /// [ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)] public string GID { get { return _gid; } set { _gid = value; } } private string _ordno = ""; /// /// 关联cw_vouchers_gl /// [ModelDB] public string ORDNO { get { return _ordno; } set { _ordno = value; } } private int _itemno = 0; /// /// 行号 /// [ModelDB] public int ITEMNO { get { return _itemno; } set { _itemno = value; } } private string _accid = ""; /// /// 科目代码 /// [ModelDB] public string ACCID { get { return _accid; } set { _accid = value; } } private string _paccid = ""; /// /// 父级科目代码 /// [ModelDB] public string PACCID { get { return _paccid; } set { _paccid = value; } } private string _accname = ""; /// /// 科目名称 /// [ModelDB] public string ACCNAME { get { return _accname; } set { _accname = value; } } private int _property = 0; /// /// 科目属性 /// [ModelDB(MDBType = ModelDBOprationType.Insert)] public int PROPERTY { get { return _property; } set { _property = value; } } private int _grade = 0; /// /// 科目级别 /// [ModelDB(MDBType = ModelDBOprationType.Insert)] public int GRADE { get { return _grade; } set { _grade = value; } } private string _dc = ""; /// /// 借贷方向 /// [ModelDB] public string DC { get { return _dc; } set { _dc = value; } } private decimal _amtdr = 0; /// /// 本位币借方金额(互斥) /// [ModelDB] public decimal AMTDR { get { return _amtdr; } set { _amtdr = value; } } private decimal _amtcr = 0; /// /// 本位币贷方金额(互斥) /// [ModelDB] public decimal AMTCR { get { return _amtcr; } set { _amtcr = value; } } private bool _isfcy = false; /// /// 是否外币 /// [ModelDB] public bool ISFCY { get { return _isfcy; } set { _isfcy = value; } } private string _fcyno = "RMB"; /// /// 外币编号usd /// [ModelDB] public string FCYNO { get { return _fcyno; } set { _fcyno = value; } } private decimal _fcyexrate = 0; /// /// 汇率 /// [ModelDB] public decimal FCYEXRATE { get { return _fcyexrate; } set { _fcyexrate = value; } } private decimal _fcydr = 0; /// /// 外币借方金额 /// [ModelDB] public decimal FCYDR { get { return _fcydr; } set { _fcydr = value; } } private decimal _fcycr = 0; /// /// 外币贷方金额 /// [ModelDB] public decimal FCYCR { get { return _fcycr; } set { _fcycr = value; } } private string _qtyunit = ""; /// /// 数量包装单位 /// [ModelDB(MDBType = ModelDBOprationType.Insert)] public string QTYUNIT { get { return _qtyunit; } set { _qtyunit = value; } } private decimal _qtydr = 0; /// /// 借方数量 /// [ModelDB(MDBType = ModelDBOprationType.Insert)] public decimal QTYDR { get { return _qtydr; } set { _qtydr = value; } } private decimal _qtycr = 0; /// /// 贷方数量 /// [ModelDB(MDBType = ModelDBOprationType.Insert)] public decimal QTYCR { get { return _qtycr; } set { _qtycr = value; } } private string _explan = ""; /// /// 摘要,规则生成 /// [ModelDB] public string EXPLAN { get { return _explan; } set { _explan = value; } } private bool _isdeptacc = false; /// /// 核算部门,按规则设置生成 /// [ModelDB] public bool ISDEPTACC { get { return _isdeptacc; } set { _isdeptacc = value; } } private bool _isemplacc = false; /// /// 核算人员,按规则设置生成 /// [ModelDB] public bool ISEMPLACC { get { return _isemplacc; } set { _isemplacc = value; } } private bool _iscorpacc = false; /// /// 核算客户,按规则设置生成 /// [ModelDB] public bool ISCORPACC { get { return _iscorpacc; } set { _iscorpacc = value; } } private bool _isitemacc = false; /// /// 核算项目,按规则设置生成 /// [ModelDB] public bool ISITEMACC { get { return _isitemacc; } set { _isitemacc = value; } } private string _deptid = ""; /// /// 部门(系统) /// [ModelDB] public string DEPTID { get { return _deptid; } set { _deptid = value; } } private string _emplid = ""; /// /// 人员(系统) /// [ModelDB] public string EMPLID { get { return _emplid; } set { _emplid = value; } } private string _corpid = ""; /// /// 客户(系统) /// [ModelDB] public string CORPID { get { return _corpid; } set { _corpid = value; } } private int _pitemid = 0; /// /// 父级项目编号 /// [ModelDB(MDBType = ModelDBOprationType.Insert)] public int PITEMID { get { return _pitemid; } set { _pitemid = value; } } private string _itemid = ""; /// /// 项目编号 /// [ModelDB] public string ITEMID { get { return _itemid; } set { _itemid = value; } } private string _field10 = ""; /// /// 预留字段1 /// [ModelDB(MDBType = ModelDBOprationType.Insert)] public string FIELD10 { get { return _field10; } set { _field10 = value; } } private string _field9 = ""; /// /// 预留字段1 /// [ModelDB(MDBType = ModelDBOprationType.Insert)] public string FIELD9 { get { return _field9; } set { _field9 = value; } } private string _field8 = ""; /// /// 预留字段1 /// [ModelDB(MDBType = ModelDBOprationType.Insert)] public string FIELD8 { get { return _field8; } set { _field8 = value; } } private string _field7 = ""; /// /// 预留字段1 /// [ModelDB(MDBType = ModelDBOprationType.Insert)] public string FIELD7 { get { return _field7; } set { _field7 = value; } } private string _field6 = ""; /// /// 预留字段1 /// [ModelDB(MDBType = ModelDBOprationType.Insert)] public string FIELD6 { get { return _field6; } set { _field6 = value; } } private string _field5 = ""; /// /// 预留字段1 /// [ModelDB(MDBType = ModelDBOprationType.Insert)] public string FIELD5 { get { return _field5; } set { _field5 = value; } } private string _field4 = ""; /// /// 预留字段1 /// [ModelDB(MDBType = ModelDBOprationType.Insert)] public string FIELD4 { get { return _field4; } set { _field4 = value; } } private string _field3 = ""; /// /// 预留字段1 /// [ModelDB(MDBType = ModelDBOprationType.Insert)] public string FIELD3 { get { return _field3; } set { _field3 = value; } } private string _field2 = ""; /// /// 预留字段1 /// [ModelDB(MDBType = ModelDBOprationType.Insert)] public string FIELD2 { get { return _field2; } set { _field2 = value; } } private string _field1 = ""; /// /// 预留字段1 /// [ModelDB(MDBType = ModelDBOprationType.Insert)] public string FIELD1 { get { return _field1; } set { _field1 = value; } } private bool _issys = false; /// /// 是否手动录入 /// [ModelDB(MDBType = ModelDBOprationType.Insert)] public bool ISSYS { get { return _issys; } set { _issys = value; } } private string _fsettlcode = ""; /// /// 结算方式 /// [ModelDB] public string FSETTLCODE { get { return _fsettlcode; } set { _fsettlcode = value; } } private DateTime _FSETTLDATE = DateTime.Now; /// /// 结算日期 /// [ModelDB] public DateTime FSETTLDATE { get { return _FSETTLDATE; } set { _FSETTLDATE = value; } } private string _fsettleno = ""; /// /// 财务辅助编号 /// [ModelDB] public string FSETTLENO { get { return _fsettleno; } set { _fsettleno = value; } } private string _CREATEUSER = ""; /// /// 创建人 /// [ModelDB(MDBType = ModelDBOprationType.Insert)] public string CREATEUSER { get { return _CREATEUSER; } set { _CREATEUSER = value; } } private DateTime _CREATEtime = DateTime.Now; /// /// 创建时间 /// [ModelDB(MDBType = ModelDBOprationType.Insert)] public DateTime CREATETIME { get { return _CREATEtime; } set { _CREATEtime = value; } } private string _modifieduser = ""; /// /// 最后一次更新操作人 /// [ModelDB] public string MODIFIEDUSER { get { return _modifieduser; } set { _modifieduser = value; } } private DateTime _modifiedtime = DateTime.Now; /// /// 最后一次更新操作时间 /// [ModelDB] public DateTime MODIFIEDTIME { get { return _modifiedtime; } set { _modifiedtime = value; } } private string _customername = ""; /// /// CUSTOMERNAME /// [ModelDB] public string CUSTOMERNAME { get { return _customername; } set { _customername = value; } } private string _sale = ""; /// /// SALE /// [ModelDB] public string SALE { get { return _sale; } set { _sale = value; } } private string _blno = ""; /// /// BLNO /// [ModelDB] public string BLNO { get { return _blno; } set { _blno = value; } } private string _ITEMGID = ""; /// /// ITEMGID /// [ModelDB] public string ITEMGID { get { return _ITEMGID; } set { _ITEMGID = value; } } private string _DEPTGID = ""; /// /// DEPTGID /// [ModelDB] public string DEPTGID { get { return _DEPTGID; } set { _DEPTGID = value; } } private string _ACCALL = ""; /// /// ACCALL /// [ModelDB] public string ACCALL { get { return _ACCALL; } set { _ACCALL = value; } } private decimal _FCYAMT = 0; /// /// 原币金额 /// public decimal FCYAMT { get { return _FCYAMT; } set { _FCYAMT = value; } } private string _cType; /// /// 凭证类型(收益、损失) /// public string cType { get { return _cType; } set { _cType = value; } } private string _COPYGID = ""; [ModelDB(MDBType = ModelDBOprationType.Insert)] public string COPYGID { get { return _COPYGID; } set { _COPYGID = value; } } public string TMPBILLNO { get; set; } public string TMPGID { get; set; } #endregion public MsCwVouitemsGl() { TableName = "cw_vouitems_gl"; } override public string GetBillNoFieldName() { return "GID"; } } // }