using System; using HcUtility.Core; using Newtonsoft.Json; namespace DSWeb.MvcShipping.Models.MsCwGenlegAccitems { [JsonObject] public class MsCwGenlegAccitems : 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 _year = ""; /// /// 年 /// [ModelDB] public string YEAR { get { return _year; } set { _year = value; } } private string _month = ""; /// /// 月 /// [ModelDB] public string MONTH { get { return _month; } set { _month = value; } } private string _linkgid = ""; /// /// 科目GID(cw_accitems_gl) /// [ModelDB] public string LINKGID { get { return _linkgid; } set { _linkgid = value; } } private string _deptacc = ""; /// /// 核算部门 /// [ModelDB] public string DEPTACC { get { return _deptacc; } set { _deptacc = value; } } private string _emplacc = ""; /// /// 核算人员 /// [ModelDB] public string EMPLACC { get { return _emplacc; } set { _emplacc = value; } } private string _corpacc = ""; /// /// 核算客户 /// [ModelDB] public string CORPACC { get { return _corpacc; } set { _corpacc = value; } } private string _itemacc = ""; /// /// 核算项目 /// [ModelDB] public string ITEMACC { get { return _itemacc; } set { _itemacc = value; } } private string _currency = ""; /// /// 币别 /// [ModelDB] public string CURRENCY { get { return _currency; } set { _currency = value; } } private decimal _amtyeardr = 0; /// /// RMB年初借方 /// [ModelDB] public decimal AMTYEARDR { get { return _amtyeardr; } set { _amtyeardr = value; } } private decimal _amtyearcr = 0; /// /// RMB年初贷方 /// [ModelDB] public decimal AMTYEARCR { get { return _amtyearcr; } set { _amtyearcr = value; } } private decimal _amtyearblc = 0; /// /// RMB年初余额 /// [ModelDB] public decimal AMTYEARBLC { get { return _amtyearblc; } set { _amtyearblc = value; } } private decimal _amtdr = 0; /// /// RMB本月借方 /// [ModelDB] public decimal AMTDR { get { return _amtdr; } set { _amtdr = value; } } private decimal _amtcr = 0; /// /// RMB本月贷方 /// [ModelDB] public decimal AMTCR { get { return _amtcr; } set { _amtcr = value; } } private decimal _amtblc = 0; /// /// RMB本月余额 /// [ModelDB] public decimal AMTBLC { get { return _amtblc; } set { _amtblc = value; } } private decimal _amtlastdr = 0; /// /// RMB累计借方 /// [ModelDB] public decimal AMTLASTDR { get { return _amtlastdr; } set { _amtlastdr = value; } } private decimal _amtlastcr = 0; /// /// RMB累计贷方 /// [ModelDB] public decimal AMTLASTCR { get { return _amtlastcr; } set { _amtlastcr = value; } } private decimal _amtlastblc = 0; /// /// RMB累计余额 /// [ModelDB] public decimal AMTLASTBLC { get { return _amtlastblc; } set { _amtlastblc = value; } } private decimal _fcyyeardr = 0; /// /// USD年初借方 /// [ModelDB] public decimal FCYYEARDR { get { return _fcyyeardr; } set { _fcyyeardr = value; } } private decimal _fcyyearcr = 0; /// /// USD年初贷方 /// [ModelDB] public decimal FCYYEARCR { get { return _fcyyearcr; } set { _fcyyearcr = value; } } private decimal _fcyyearblc = 0; /// /// USD年初余额 /// [ModelDB] public decimal FCYYEARBLC { get { return _fcyyearblc; } set { _fcyyearblc = value; } } private decimal _fcydr = 0; /// /// USD本月借方 /// [ModelDB] public decimal FCYDR { get { return _fcydr; } set { _fcydr = value; } } private decimal _fcycr = 0; /// /// USD本月贷方 /// [ModelDB] public decimal FCYCR { get { return _fcycr; } set { _fcycr = value; } } private decimal _fcyblc = 0; /// /// USD本月余额 /// [ModelDB] public decimal FCYBLC { get { return _fcyblc; } set { _fcyblc = value; } } private decimal _fcylastdr = 0; /// /// USD累计借方 /// [ModelDB] public decimal FCYLASTDR { get { return _fcylastdr; } set { _fcylastdr = value; } } private decimal _fcylastcr = 0; /// /// USD累计贷方 /// [ModelDB] public decimal FCYLASTCR { get { return _fcylastcr; } set { _fcylastcr = value; } } private decimal _fcylastblc = 0; /// /// USD累计余额 /// [ModelDB] public decimal FCYLASTBLC { get { return _fcylastblc; } set { _fcylastblc = value; } } private decimal _qtyyeardr = 0; /// /// 年初借方 /// [ModelDB] public decimal QTYYEARDR { get { return _qtyyeardr; } set { _qtyyeardr = value; } } private decimal _qtyyearcr = 0; /// /// 年初贷方 /// [ModelDB] public decimal QTYYEARCR { get { return _qtyyearcr; } set { _qtyyearcr = value; } } private decimal _qtyyearblc = 0; /// /// 年初余额 /// [ModelDB] public decimal QTYYEARBLC { get { return _qtyyearblc; } set { _qtyyearblc = value; } } private decimal _qtydr = 0; /// /// 本月借方 /// [ModelDB] public decimal QTYDR { get { return _qtydr; } set { _qtydr = value; } } private decimal _qtycr = 0; /// /// 本月贷方 /// [ModelDB] public decimal QTYCR { get { return _qtycr; } set { _qtycr = value; } } private decimal _qtyblc = 0; /// /// 本月余额 /// [ModelDB] public decimal QTYBLC { get { return _qtyblc; } set { _qtyblc = value; } } private decimal _qtylastdr = 0; /// /// 累计借方 /// [ModelDB] public decimal QTYLASTDR { get { return _qtylastdr; } set { _qtylastdr = value; } } private decimal _qtylastcr = 0; /// /// 累计贷方 /// [ModelDB] public decimal QTYLASTCR { get { return _qtylastcr; } set { _qtylastcr = value; } } private decimal _qtylastblc = 0; /// /// 累计余额 /// [ModelDB] public decimal QTYLASTBLC { get { return _qtylastblc; } set { _qtylastblc = value; } } private string _corpid = ""; /// /// CORPID /// [ModelDB(MDBType = ModelDBOprationType.Insert)] public string CORPID { get { return _corpid; } set { _corpid = value; } } private bool _isdelete = false; /// /// 是否删除 /// [ModelDB(MDBType = ModelDBOprationType.Insert)] public bool ISDELETE { get { return _isdelete; } set { _isdelete = value; } } private string _deleteuser = ""; /// /// 删除人 /// [ModelDB(MDBType = ModelDBOprationType.Insert)] public string DELETEUSER { get { return _deleteuser; } set { _deleteuser = value; } } private DateTime _deletetime = DateTime.Now; /// /// 删除时间 /// [ModelDB(MDBType = ModelDBOprationType.Insert)] public DateTime DELETETIME { get { return _deletetime; } set { _deletetime = value; } } private string _createuser = ""; /// /// 创建人gid /// [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 = ""; /// /// 最后一次更新操作人GID /// [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 _LINKCODE = ""; /// /// 科目代码 /// public string LINKCODE { get { return _LINKCODE; } set { _LINKCODE = value; } } private string _LINKNAME = ""; /// /// 科目名称 /// public string LINKNAME { get { return _LINKNAME; } set { _LINKNAME = value; } } private string _MODIFIEDUSERNAME = ""; /// /// 最后一次更新操作人 /// public string MODIFIEDUSERNAME { get { return _MODIFIEDUSERNAME; } set { _MODIFIEDUSERNAME = value; } } private Decimal _DR = 0; /// /// DR /// public Decimal DR { get { return _DR; } set { _DR = value; } } private Decimal _CR = 0; /// /// CR /// public Decimal CR { get { return _CR; } set { _CR = value; } } private Decimal _BLC = 0; /// /// BLC /// public Decimal BLC { get { return _BLC; } set { _BLC = value; } } private Boolean _ISENABLE = false; /// /// 是否启用 /// [ModelDB(MDBType = ModelDBOprationType.Insert)] public Boolean ISENABLE { get { return _ISENABLE; } set { _ISENABLE = value; } } private decimal _PFADR = 0; /// /// 损益类科目本年累计数借方 /// [ModelDB] public decimal PFADR { get { return _PFADR; } set { _PFADR = value; } } private decimal _PFACR = 0; /// /// 损益类科目本年累计数贷方 /// [ModelDB] public decimal PFACR { get { return _PFACR; } set { _PFACR = value; } } private string _STARTGID = ""; /// /// 启用期间GID /// [ModelDB] public string STARTGID { get { return _STARTGID; } set { _STARTGID = value; } } private string _ACCDATE = ""; /// /// 会计期间 /// [ModelDB] public string ACCDATE { get { return _ACCDATE; } set { _ACCDATE = value; } } private Boolean _IsInitialEntry = false; /// /// 是否期初录入 /// [ModelDB] public Boolean IsInitialEntry { get { return _IsInitialEntry; } set { _IsInitialEntry = value; } } private string _DC = ""; /// /// DC /// public string DC { get { return _DC; } set { _DC = value; } } private string _EXPLAN = ""; /// /// EXPLAN /// public string EXPLAN { get { return _EXPLAN; } set { _EXPLAN = value; } } private Decimal _AMTCPDR = 0; /// /// 期末余额DR /// public Decimal AMTCPDR { get { return _AMTCPDR; } set { _AMTCPDR = value; } } private Decimal _AMTCPCR = 0; /// /// 期末余额CR /// public Decimal AMTCPCR { get { return _AMTCPCR; } set { _AMTCPCR = value; } } private Decimal _QTYCPDR = 0; /// /// 折合本位币期末余额DR /// public Decimal QTYCPDR { get { return _QTYCPDR; } set { _QTYCPDR = value; } } private Decimal _QTYCPCR = 0; /// /// 折合本位币期末余额CR /// public Decimal QTYCPCR { get { return _QTYCPCR; } set { _QTYCPCR = value; } } #endregion public MsCwGenlegAccitems() { TableName = "cw_genleg_accitems"; } override public string GetBillNoFieldName() { return "GID"; } } // }