using System; using HcUtility.Core; using Newtonsoft.Json; namespace DSWeb.MvcShipping.Models.CodePackage { [JsonObject] public class CodePackage : ModelObjectBillHead { #region private Fields private string _GID = Guid.NewGuid().ToString(); private string _PKGS = string.Empty; #endregion #region Public Properties [ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)] public string GID { get { return _GID; } set { _GID = value; } } [ModelDB] public string PKGS { get { return _PKGS; } set { _PKGS = value; } } [ModelDB] public string CEXPLAIN { get;set;} [ModelDB] public string EDICODE { get; set; } #endregion public CodePackage() { TableName = "code_package"; } } #region 参照部分 #endregion }