using System; using HcUtility.Core; using Newtonsoft.Json; namespace DSWeb.MvcShipping.Models.MsCtInitialBalance { [JsonObject] public class MsCtInitialBalance : 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 _CURRENCY = ""; /// /// 币别 /// [ModelDB] public string CURRENCY { get { return _CURRENCY; } set { _CURRENCY = value; } } private string _startgid = ""; /// /// 启用账套GID /// [ModelDB] public string STARTGID { get { return _startgid; } set { _startgid = value; } } private decimal _qtyyearblc_d = 0; /// /// 日记账_启用期初原币余额 /// [ModelDB] public decimal QTYYEARBLC_D { get { return _qtyyearblc_d; } set { _qtyyearblc_d = value; } } private decimal _amtyearblc_d = 0; /// /// 日记账_启用期初本位币余额 /// [ModelDB] public decimal AMTYEARBLC_D { get { return _amtyearblc_d; } set { _amtyearblc_d = value; } } private decimal _qtyyearcr_d = 0; /// /// 日记账_加银收企未收 /// [ModelDB] public decimal QTYYEARCR_D { get { return _qtyyearcr_d; } set { _qtyyearcr_d = value; } } private decimal _qtyyeardr_d = 0; /// /// 日记账_减银付企未付 /// [ModelDB] public decimal QTYYEARDR_D { get { return _qtyyeardr_d; } set { _qtyyeardr_d = value; } } private decimal _qtyyearblc_dh = 0; /// /// 日记账_调整后原币金额 /// [ModelDB] public decimal QTYYEARBLC_DH { get { return _qtyyearblc_dh; } set { _qtyyearblc_dh = value; } } private decimal _qtyyearblc_b = 0; /// /// 对账_银行启用期初原币余额 /// [ModelDB] public decimal QTYYEARBLC_B { get { return _qtyyearblc_b; } set { _qtyyearblc_b = value; } } private decimal _qtyyeardr_b = 0; /// /// 对账_加企收银未收 /// [ModelDB] public decimal QTYYEARDR_B { get { return _qtyyeardr_b; } set { _qtyyeardr_b = value; } } private decimal _qtyyearcr_b = 0; /// /// 对账_减企付银未付 /// [ModelDB] public decimal QTYYEARCR_B { get { return _qtyyearcr_b; } set { _qtyyearcr_b = value; } } private decimal _qtyyearblc_bh = 0; /// /// 对账_调整后原币金额 /// [ModelDB] public decimal QTYYEARBLC_BH { get { return _qtyyearblc_bh; } set { _qtyyearblc_bh = value; } } private string _corpid = ""; /// /// 分公司代码 /// [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 _MODIFIEDUSERNAME = ""; /// /// 更改操作人 /// public string MODIFIEDUSERNAME { get { return _MODIFIEDUSERNAME; } set { _MODIFIEDUSERNAME = value; } } private string _ACCID = ""; /// /// ACCID /// public string ACCID { get { return _ACCID; } set { _ACCID = value; } } private string _ACCNAME = ""; /// /// ACCNAME /// public string ACCNAME { get { return _ACCNAME; } set { _ACCNAME = value; } } private string _VOUDATE = ""; /// /// VOUDATE /// public string VOUDATE { get { return _VOUDATE; } set { _VOUDATE = value; } } #endregion public MsCtInitialBalance() { TableName = "ct_initial_balance"; } override public string GetBillNoFieldName() { return "GID"; } } }