using System; using HcUtility.Core; using Newtonsoft.Json; namespace DSWeb.MvcShipping.Models.MsCwCurrencyRate { [JsonObject] public class MsCwCurrencyRate : ModelObjectBillHead { #region 读写属性 private string _gid = ""; /// /// 惟一值 /// [ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)] public string GID { get { return _gid; } set { _gid = value; } } private string _linkgid = ""; /// /// 货币GID /// [ModelDB] public string LINKGID { get { return _linkgid; } set { _linkgid = value; } } private string _accdate = ""; /// /// 会计期间 /// [ModelDB] public string ACCDATE { get { return _accdate; } set { _accdate = value; } } private decimal _begrate = 0; /// /// 期初汇率 /// [ModelDB] public decimal BEGRATE { get { return _begrate; } set { _begrate = value; } } private decimal _endrate = 0; /// /// 期末汇率 /// [ModelDB] public decimal ENDRATE { get { return _endrate; } set { _endrate = value; } } private string _corpid = ""; /// /// 分公司GID /// [ModelDB] 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 bool _isdelete = false; /// /// 是否删除 /// [ModelDB(MDBType = ModelDBOprationType.Insert)] public bool ISDELETE { get { return _isdelete; } set { _isdelete = value; } } private string _deleteuser = ""; /// /// 删除人GID /// [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 _STARTGID = ""; /// /// 总账已启用已登录账套GID /// [ModelDB] public string STARTGID { get { return _STARTGID; } set { _STARTGID = value; } } #endregion public MsCwCurrencyRate() { TableName = "cw_currency_rate"; } override public string GetBillNoFieldName() { return "GID"; } } // }