using System; using HcUtility.Core; using Newtonsoft.Json; namespace DSWeb.MvcShipping.Models.MsCwAccitemsCurrency { [JsonObject] public class MsCwAccitemsCurrency : ModelObjectBillHead { #region 读写属性 private string _gid = Guid.NewGuid().ToString(); /// /// 唯一编码 /// [ModelDB] public string GID { get { return _gid; } set { _gid = value; } } private string _linkgid = ""; /// /// 科目GID /// [ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)] public string LINKGID { get { return _linkgid; } set { _linkgid = value; } } private string _currency = ""; /// /// 币别 /// [ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)] public string CURRENCY { get { return _currency; } set { _currency = value; } } private string _corpid = ""; /// /// 分公司代码 /// [ModelDB] public string CORPID { get { return _corpid; } set { _corpid = value; } } private string _createuser = ""; /// /// 创建人gid /// [ModelDB] public string CREATEUSER { get { return _createuser; } set { _createuser = value; } } private DateTime _createtime = DateTime.Now; /// /// 创建时间 /// [ModelDB] public DateTime CREATETIME { get { return _createtime; } set { _createtime = value; } } #endregion public MsCwAccitemsCurrency() { TableName = "cw_accitems_currency"; } override public string GetBillNoFieldName() { return "GID"; } } // }