using System; using HcUtility.Core; using Newtonsoft.Json; namespace DSWeb.MvcShipping.Models.MsCtBankJournal { [JsonObject] public class MsCtBankJournal : ModelObjectBillHead { #region 读写属性 private string _gid = ""; /// /// 惟一值 /// [ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)] public string GID { get { return _gid; } set { _gid = value; } } private string _accgid = ""; /// /// 科目GID /// [ModelDB] public string ACCGID { get { return _accgid; } set { _accgid = value; } } private string _fcyno = ""; /// /// 外币编号usd /// [ModelDB] public string FCYNO { get { return _fcyno; } set { _fcyno = value; } } private DateTime _voudate = DateTime.Now; /// /// 凭证日期 /// [ModelDB] public DateTime VOUDATE { get { return _voudate; } set { _voudate = value; } } private int _itemno = 0; /// /// 当日序号 /// [ModelDB(MDBType = ModelDBOprationType.Insert)] public int ITEMNO { get { return _itemno; } set { _itemno = value; } } private string _vgid = ""; /// /// 凭证明细GID /// [ModelDB] public string VGID { get { return _vgid; } set { _vgid = value; } } private string _vkno = ""; /// /// 凭证字 /// [ModelDB] public string VKNO { get { return _vkno; } set { _vkno = value; } } private string _vouno = ""; /// /// 凭证号 /// [ModelDB] public string VOUNO { get { return _vouno; } set { _vouno = value; } } private int _fentryid = 0; /// /// 分录号 /// [ModelDB] public int FENTRYID { get { return _fentryid; } set { _fentryid = value; } } private string _accdate = ""; /// /// 会计期间 /// [ModelDB] public string ACCDATE { get { return _accdate; } set { _accdate = value; } } private int _settletype = 0; /// /// 结算方式 /// [ModelDB] public int SETTLETYPE { get { return _settletype; } set { _settletype = value; } } private string _billno = ""; /// /// 结算号 /// [ModelDB] public string BILLNO { get { return _billno; } set { _billno = value; } } private DateTime _svoudate = DateTime.Now; /// /// 结算日期 /// [ModelDB] public DateTime SVOUDATE { get { return _svoudate; } set { _svoudate = value; } } private string _dc = ""; /// /// 余额方向 /// [ModelDB] public string DC { get { return _dc; } set { _dc = value; } } private decimal _dr = 0; /// /// 本位币借方金额(互斥) /// [ModelDB] public decimal DR { get { return _dr; } set { _dr = value; } } private decimal _cr = 0; /// /// 本位币贷方金额(互斥) /// [ModelDB] public decimal CR { get { return _cr; } set { _cr = value; } } private decimal _fcyexrate = 0; /// /// 汇率 /// [ModelDB] public decimal FCYEXRATE { get { return _fcyexrate; } set { _fcyexrate = 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 _blc = 0; /// /// 余额 /// [ModelDB] public decimal BLC { get { return _blc; } set { _blc = value; } } private string _explan = ""; /// /// 摘要,规则生成 /// [ModelDB] public string EXPLAN { get { return _explan; } set { _explan = value; } } private string _entered = ""; /// /// 经手人 /// [ModelDB] public string ENTERED { get { return _entered; } set { _entered = value; } } private Boolean _ISINITIAL = false; /// /// 是否期初 /// [ModelDB] public Boolean ISINITIAL { get { return _ISINITIAL; } set { _ISINITIAL = value; } } private string _checkinggid = ""; /// /// 对账GID /// [ModelDB] public string CHECKINGGID { get { return _checkinggid; } set { _checkinggid = value; } } private string _startgid = ""; /// /// 账套启用GID /// [ModelDB] public string STARTGID { get { return _startgid; } set { _startgid = value; } } private string _corpid = ""; /// /// 分公司GID /// [ModelDB(MDBType = ModelDBOprationType.Insert)] public string CORPID { get { return _corpid; } set { _corpid = 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 _SETTLETYPENAME = ""; /// /// 结算方式 /// public string SETTLETYPENAME { get { return _SETTLETYPENAME; } set { _SETTLETYPENAME = value; } } private string _CREATEUSERNAME = ""; /// /// 制单人 /// public string CREATEUSERNAME { get { return _CREATEUSERNAME; } set { _CREATEUSERNAME = value; } } private string _MODIFIEDUSERNAME = ""; /// /// 最后一次更改操作人 /// public string MODIFIEDUSERNAME { get { return _MODIFIEDUSERNAME; } set { _MODIFIEDUSERNAME = value; } } private string _ACCNAME = ""; /// /// ACCNAME /// public string ACCNAME { get { return _ACCNAME; } set { _ACCNAME = value; } } private string _ISCHECKING = ""; /// /// 对账状态 /// public string ISCHECKING { get { return _ISCHECKING; } set { _ISCHECKING = value; } } private string _VOUDATE_C = ""; /// /// 对账日期 /// public string VOUDATE_C { get { return _VOUDATE_C; } set { _VOUDATE_C = value; } } private decimal _QTYBLC = 0; /// /// 本位币余额 /// public decimal QTYBLC { get { return _QTYBLC; } set { _QTYBLC = value; } } #endregion public MsCtBankJournal() { TableName = "ct_bank_journal"; } override public string GetBillNoFieldName() { return "GID"; } } // }