瀏覽代碼

修复数据同步方法,改为MQ传输同步到mysql
修复商户进件状态监听服务
修复商户进件服务

lichunlei 3 年之前
父節點
當前提交
a89480d0d4
共有 100 個文件被更改,包括 3222 次插入65 次删除
  1. 14 1
      AppStart/Helper/CheckWeChatSignService.cs
  2. 56 0
      AppStart/Helper/CustomerService.cs
  3. 63 0
      AppStart/Helper/MerchantConfirmService.cs
  4. 1 57
      AppStart/Helper/ReceiveTaskService.cs
  5. 107 0
      AppStart/Helper/SycnMysql/PublicTableHelper.cs
  6. 12 3
      AppStart/RabbitMQClient.cs
  7. 185 1
      AppStart/WeChatFunction.cs
  8. 4 2
      Controllers/HomeController.cs
  9. 1 1
      Models/WebCMSEntities.cs
  10. 49 0
      PxcModels/ActiveReward.cs
  11. 26 0
      PxcModels/ActivityEnrolRecord.cs
  12. 37 0
      PxcModels/ActivityInfo.cs
  13. 32 0
      PxcModels/ActivityPrizeDetail.cs
  14. 26 0
      PxcModels/Advertisment.cs
  15. 25 0
      PxcModels/AgentLevelSet.cs
  16. 29 0
      PxcModels/AppBottomNavs.cs
  17. 28 0
      PxcModels/AppVersion.cs
  18. 24 0
      PxcModels/AppVideo.cs
  19. 26 0
      PxcModels/AppVideoList.cs
  20. 26 0
      PxcModels/BankInfo.cs
  21. 37 0
      PxcModels/Col.cs
  22. 11 0
      PxcModels/ConsumerOpenIds.cs
  23. 30 0
      PxcModels/ConsumerOrders.cs
  24. 25 0
      PxcModels/ConsumerProfit.cs
  25. 36 0
      PxcModels/Consumers.cs
  26. 33 0
      PxcModels/CouponAssignRecords.cs
  27. 48 0
      PxcModels/Coupons.cs
  28. 26 0
      PxcModels/CouponsForUser.cs
  29. 24 0
      PxcModels/CustomTagSet.cs
  30. 24 0
      PxcModels/ErpCompanys.cs
  31. 24 0
      PxcModels/FileUpdateInfo.cs
  32. 43 0
      PxcModels/FluxProfitDetail.cs
  33. 30 0
      PxcModels/FluxProfitSummary.cs
  34. 24 0
      PxcModels/IndexIconList.cs
  35. 23 0
      PxcModels/KqProductBrand.cs
  36. 23 0
      PxcModels/KqProductOrgs.cs
  37. 68 0
      PxcModels/KqProductRuleSet.cs
  38. 22 0
      PxcModels/KqProducts.cs
  39. 59 0
      PxcModels/MachineApply.cs
  40. 36 0
      PxcModels/MachineApplyDetail.cs
  41. 47 0
      PxcModels/MachineChange.cs
  42. 34 0
      PxcModels/MachineChangeDetail.cs
  43. 14 0
      PxcModels/MachineForQrCode.cs
  44. 11 0
      PxcModels/MachineForSnNo.cs
  45. 36 0
      PxcModels/MachineRenew.cs
  46. 31 0
      PxcModels/MachineReturn.cs
  47. 11 0
      PxcModels/MenuRight.cs
  48. 100 0
      PxcModels/MerchantAddInfo.cs
  49. 31 0
      PxcModels/MerchantAdmin.cs
  50. 35 0
      PxcModels/MerchantAuth.cs
  51. 24 0
      PxcModels/MerchantClass.cs
  52. 29 0
      PxcModels/MerchantCol.cs
  53. 27 0
      PxcModels/MerchantComment.cs
  54. 11 0
      PxcModels/MerchantForCode.cs
  55. 11 0
      PxcModels/MerchantForMobile.cs
  56. 11 0
      PxcModels/MerchantForName.cs
  57. 38 0
      PxcModels/MerchantInfo.cs
  58. 27 0
      PxcModels/MerchantParamSet.cs
  59. 25 0
      PxcModels/MerchantQrCode.cs
  60. 39 0
      PxcModels/MerchantRebateDetail.cs
  61. 41 0
      PxcModels/Merchants.cs
  62. 13 0
      PxcModels/MobileCodeCheck.cs
  63. 28 0
      PxcModels/MsgBlackList.cs
  64. 34 0
      PxcModels/MsgPersonal.cs
  65. 37 0
      PxcModels/MsgPlacard.cs
  66. 25 0
      PxcModels/MsgPlacardRead.cs
  67. 31 0
      PxcModels/MsgPush.cs
  68. 38 0
      PxcModels/MsgSms.cs
  69. 27 0
      PxcModels/MsgSmsSet.cs
  70. 29 0
      PxcModels/MsgTemplate.cs
  71. 11 0
      PxcModels/OpenBankCityTable.cs
  72. 11 0
      PxcModels/OpenBankTable.cs
  73. 36 0
      PxcModels/OpenReward.cs
  74. 47 0
      PxcModels/OpenRewardDetail.cs
  75. 50 0
      PxcModels/OpenSnSnapshot.cs
  76. 26 0
      PxcModels/OperateLog.cs
  77. 23 0
      PxcModels/OperateRightList.cs
  78. 13 0
      PxcModels/OrderForNo.cs
  79. 37 0
      PxcModels/OrderProduct.cs
  80. 33 0
      PxcModels/OrderRefund.cs
  81. 22 0
      PxcModels/OrderRefundReason.cs
  82. 67 0
      PxcModels/Orders.cs
  83. 24 0
      PxcModels/PageInfo.cs
  84. 40 0
      PxcModels/PageUpdateInfo.cs
  85. 50 0
      PxcModels/PosMachines.cs
  86. 32 0
      PxcModels/ProductComment.cs
  87. 12 0
      PxcModels/ProductCommentAgree.cs
  88. 28 0
      PxcModels/ProductFareAreas.cs
  89. 33 0
      PxcModels/ProductFareTemp.cs
  90. 12 0
      PxcModels/ProductKeys.cs
  91. 34 0
      PxcModels/ProductNorm.cs
  92. 25 0
      PxcModels/ProductNormItem.cs
  93. 24 0
      PxcModels/ProductNormTemp.cs
  94. 58 0
      PxcModels/Products.cs
  95. 31 0
      PxcModels/ProfitObjectActivations.cs
  96. 25 0
      PxcModels/ProfitObjectContinueFloors.cs
  97. 26 0
      PxcModels/ProfitObjectFloors.cs
  98. 23 0
      PxcModels/ProfitObjectLevelKinds.cs
  99. 29 0
      PxcModels/ProfitObjectLevels.cs
  100. 28 0
      PxcModels/ProfitObjects.cs

+ 14 - 1
AppStart/Helper/CheckWeChatSignService.cs

@@ -29,8 +29,18 @@ namespace MySystem
                         MerchantAddInfo merchantadd = db.MerchantAddInfo.FirstOrDefault(m => m.Id == sign.MerchantAddInfoId);
                         if (merchantadd != null)
                         {
+                            merchantadd.Status = 1;
                             merchantadd.SeoKeyword = sign_url;
                             db.SaveChanges();
+                        }
+                    }
+                    else if (dic["applyment_state"].ToString() == "APPLYMENT_STATE_FINISHED")
+                    { 
+                        MerchantAddInfo merchantadd = db.MerchantAddInfo.FirstOrDefault(m => m.Id == sign.MerchantAddInfoId);
+                        if (merchantadd != null)
+                        {
+                            merchantadd.Status = 2;
+                            db.SaveChanges();
                             deletes.Add(sign);
                         }
                     }
@@ -42,8 +52,11 @@ namespace MySystem
                         signs.Remove(delete);
                     }
                     TendisDbconn.Instance.Clear("WeChatSignList");
-                    TendisDbconn.Instance.AddList("WeChatSignList", deletes.ToArray());
+                    TendisDbconn.Instance.AddList("WeChatSignList", signs.ToArray());
                 }
+                jobInfo.Status = 1;
+                jobInfo.Msg = "执行完成";
+                RabbitMQClient.Instance.SendMsg(Newtonsoft.Json.JsonConvert.SerializeObject(jobInfo), "PublicBack");
             }
             catch (Exception ex)
             {

+ 56 - 0
AppStart/Helper/CustomerService.cs

@@ -0,0 +1,56 @@
+using System;
+using System.Collections.Generic;
+using System.Data;
+using Library;
+using LitJson;
+
+namespace MySystem
+{
+    public class CustomerService
+    {
+        public readonly static CustomerService Instance = new CustomerService();
+        private CustomerService()
+        { }
+
+        public void Start(JobMqMsg jobInfo)
+        {
+            string content = "";
+            try
+            {
+                string OrderString = jobInfo.OrderString;
+                string Msg = "";
+                if (OrderString == "")
+                {
+                    string Table = OrderString.Split(':')[1];
+                    switch (Table)
+                    {
+                    }
+                }
+                if (!string.IsNullOrEmpty(Msg))
+                {
+                    jobInfo.Status = Msg == "success" ? 1 : 0;
+                    jobInfo.Msg = Msg == "success" ? "执行完成" : Msg;
+                    RabbitMQClient.Instance.SendMsg(Newtonsoft.Json.JsonConvert.SerializeObject(jobInfo), "PublicBack");
+                }
+                else
+                { 
+                    TendisDbconn.Instance.AddList("MainPopWaitList", Newtonsoft.Json.JsonConvert.SerializeObject(jobInfo));
+                }
+            }
+            catch (Exception ex)
+            {
+                if (!string.IsNullOrEmpty(content))
+                {
+                    Dictionary<string, string> data = new Dictionary<string, string>();
+                    data.Add("ErrTime", DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss"));
+                    data.Add("ErrMsg", ex.ToString());
+                    TendisDbconn.Instance.AddList("public_err", data);
+                }
+                else
+                {
+                    TendisDbconn.Instance.AddList("public_service", DateTime.Now.ToString() + ":" + ex.ToString());
+                }
+            }
+        }
+    }
+}

+ 63 - 0
AppStart/Helper/MerchantConfirmService.cs

@@ -0,0 +1,63 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using MySystem.Models;
+using Library;
+using LitJson;
+
+namespace MySystem
+{
+    public class MerchantConfirmService
+    {
+        public readonly static MerchantConfirmService Instance = new MerchantConfirmService();
+        private MerchantConfirmService()
+        { }
+
+        public void Start(string MerchantIdString)
+        {
+            try
+            {
+                int MerchantId = int.Parse(function.CheckInt(MerchantIdString));
+                WebCMSEntities db = new WebCMSEntities();
+                MerchantAddInfo AddInfo = db.MerchantAddInfo.FirstOrDefault(m => m.Id == MerchantId);
+                MerchantInfo merchant = db.MerchantInfo.FirstOrDefault(m => m.Id == MerchantId);
+                if (AddInfo != null && merchant != null)
+                {
+                    string BusinessCode = AddInfo.BusinessCode;
+                    if (string.IsNullOrEmpty(BusinessCode))
+                    { 
+                        BusinessCode = "KXS" + DateTime.Now.ToString("yyyyMMddHHmmssfff") + function.get_Random(5);
+                        AddInfo.BusinessCode = BusinessCode;
+                        db.SaveChanges();
+                    }
+                    string result = new WeChatFunction().MerchantCreate(AddInfo, merchant);
+                    if (result.Contains("\"applyment_id\":"))
+                    {
+                        JsonData jsonObj = JsonMapper.ToObject(result);
+                        List<MerchantSign> signs = TendisDbconn.Instance.GetList<MerchantSign>("MerchantSignList", 1, 10000000);
+                        bool op = signs.Any(m => m.BusinessCode == BusinessCode);
+                        if (!op)
+                        {
+                            TendisDbconn.Instance.AddList("WeChatSignList", new MerchantSign()
+                            {
+                                BusinessCode = BusinessCode,
+                                MerchantAddInfoId = MerchantId,
+                                Status = ""
+                            });
+                        }
+                        signs.Clear();
+                    }
+                    else
+                    { 
+                        // TODO: 
+                    }
+                }
+                db.Dispose();
+            }
+            catch (Exception ex)
+            {
+                TendisDbconn.Instance.AddList("public_service", DateTime.Now.ToString() + ":" + ex.ToString());
+            }
+        }
+    }
+}

+ 1 - 57
AppStart/Helper/ReceiveTaskService.cs

@@ -22,63 +22,7 @@ namespace MySystem
                 if (OrderString.StartsWith("Ap:") && OrderString.EndsWith(":Sycn"))
                 {
                     string Table = OrderString.Split(':')[1];
-                    switch (Table)
-                    {
-                        // case "MachineApply":
-                        //     Msg = MachineApplyHelper.Instance.Start();
-                        //     break;
-                        // case "OrderProduct":
-                        //     Msg = OrderProductHelper.Instance.Start();
-                        //     break;
-                        // case "Orders":
-                        //     Msg = OrdersHelper.Instance.Start();
-                        //     break;
-                        // case "Products":
-                        //     Msg = ProductsHelper.Instance.Start();
-                        //     break;
-                        // case "StoreStockChange":
-                        //     Msg = StoreStockChangeHelper.Instance.Start();
-                        //     break;
-                        // case "TeamApply":
-                        //     Msg = TeamApplyHelper.Instance.Start();
-                        //     break;
-                        // case "TeamOfferApply":
-                        //     Msg = TeamOfferApplyHelper.Instance.Start();
-                        //     break;
-                        // case "UserAddress":
-                        //     Msg = UserAddressHelper.Instance.Start();
-                        //     break;
-                        // case "UserCashRecord":
-                        //     Msg = UserCashRecordHelper.Instance.Start();
-                        //     break;
-                        // case "UserLoginRecord":
-                        //     Msg = UserLoginRecordHelper.Instance.Start();
-                        //     break;
-                        // case "Users":
-                        //     Msg = UsersHelper.Instance.Start();
-                        //     break;
-                        // case "UserStoreChange":
-                        //     Msg = UserStoreChangeHelper.Instance.Start();
-                        //     break;
-                        // case "PosMachines":
-                        //     Msg = PosMachinesHelper.Instance.Start();
-                        //     break;
-                        // case "UserBack":
-                        //     Msg = UserBackHelper.Instance.Start();
-                        //     break;
-                        // case "ConsumerOrders":
-                        //     Msg = ConsumerOrdersHelper.Instance.Start();
-                        //     break;
-                        case "Consumers":
-                            Msg = ConsumersHelper.Instance.Start();
-                            break;
-                        case "ConsumerOpenIds":
-                            Msg = ConsumerOpenIdsHelper.Instance.Start();
-                            break;
-                        case "MerchantParamSet":
-                            Msg = MerchantParamSetHelper.Instance.Start();
-                            break;
-                    }
+                    PublicTableHelper.Instance.Start(Table);
                 }
                 if (!string.IsNullOrEmpty(Msg))
                 {

+ 107 - 0
AppStart/Helper/SycnMysql/PublicTableHelper.cs

@@ -0,0 +1,107 @@
+using MySystem.Models;
+using System;
+using System.Data;
+using Library;
+
+namespace MySystem
+{
+    public class PublicTableHelper
+    {
+        public readonly static PublicTableHelper Instance = new PublicTableHelper();
+        private PublicTableHelper()
+        { }
+
+        public string Start(string table)
+        {
+            bool op = true;
+            OtherMySqlConn.connstr = Library.ConfigurationManager.AppSettings["Pxc1SqlConnStr"].ToString();
+            string result = "success";
+            int startId = TendisDbconn.Instance.Get<int>("Start" + table + "Id");
+            // int total = 0;
+            while (op)
+            {
+                try
+                {
+                    DataTable dt = OtherMySqlConn.dtable("select * from " + table + " where Id>" + startId + " order by Id");
+                    if (dt.Rows.Count > 0)
+                    {
+                        foreach (DataRow dr in dt.Rows)
+                        {
+                            startId = int.Parse(function.CheckInt(dr["Id"].ToString()));
+                            string fields = "";
+                            string values = "";
+                            DataTable localTable = dbconn.dtable("select * from " + table + " where Id=" + startId);
+                            if (localTable.Rows.Count > 0)
+                            {
+                                foreach (DataColumn dc in localTable.Columns)
+                                {
+                                    if (!string.IsNullOrEmpty(dr[dc.ColumnName].ToString()))
+                                    {
+                                        fields += dc.ColumnName + ",";
+                                        if (dc.DataType == typeof(int) || dc.DataType == typeof(decimal) || dc.DataType == typeof(ulong))
+                                        {
+                                            fields += dc.ColumnName + "=" + dr[dc.ColumnName].ToString() + ",";
+                                        }
+                                        else
+                                        {
+                                            fields += dc.ColumnName + "='" + dr[dc.ColumnName].ToString() + "',";
+                                        }
+                                    }
+                                }
+                                fields = fields.TrimEnd(',');
+                                string sql = "update " + table + " set " + fields + " where Id=" + startId;
+                                dbconn.op(sql);
+                            }
+                            else
+                            {
+                                foreach (DataColumn dc in localTable.Columns)
+                                {
+                                    if (!string.IsNullOrEmpty(dr[dc.ColumnName].ToString()))
+                                    {
+                                        fields += dc.ColumnName + ",";
+                                        if (dc.DataType == typeof(int) || dc.DataType == typeof(decimal) || dc.DataType == typeof(ulong))
+                                        {
+                                            values += dr[dc.ColumnName].ToString() + ",";
+                                        }
+                                        else
+                                        {
+                                            string val = "";
+                                            if (dc.DataType == typeof(DateTime))
+                                            {
+                                                val = DateTime.Parse(dr[dc.ColumnName].ToString()).ToString("yyyy-MM-dd HH:mm:ss");
+                                            }
+                                            else
+                                            {
+                                                val = dr[dc.ColumnName].ToString();
+                                            }
+                                            values += "'" + val + "',";
+                                        }
+                                    }
+                                }
+                                fields = fields.TrimEnd(',');
+                                values = values.TrimEnd(',');
+                                string sql = "insert into " + table + " (" + fields + ") values (" + values + ")";
+                                dbconn.op(sql);
+                            }
+                            startId = int.Parse(function.CheckInt(dr["Id"].ToString()));
+                        }
+                    }
+                    else
+                    {
+                        op = false;
+                        TendisDbconn.Instance.Set("Start" + table + "Id", startId);
+                    }
+                }
+                catch (Exception ex)
+                {
+                    ErrorMsg msg = new ErrorMsg();
+                    msg.Time = DateTime.Now;
+                    msg.ErrorContent = ex.ToString();
+                    TendisDbconn.Instance.AddList(table + ":Error", msg);
+                }
+            }
+            OtherMySqlConn.connstr = "";
+            return result;
+        }
+    }
+}

+ 12 - 3
AppStart/RabbitMQClient.cs

@@ -74,8 +74,17 @@ namespace MySystem
                     JobMqMsg job = Newtonsoft.Json.JsonConvert.DeserializeObject<JobMqMsg>(MsgContent);
                     ReceiveTaskService.Instance.Start(job);
                 }
+                else if (QueueName == "CheckWeChatSign")
+                {
+                    JobMqMsg job = Newtonsoft.Json.JsonConvert.DeserializeObject<JobMqMsg>(MsgContent);
+                    CheckWeChatSignService.Instance.Start(job);
+                }
+                else if (QueueName == "MerchantConfirmList")
+                {
+                    MerchantConfirmService.Instance.Start(MsgContent);
+                }
                 else if (QueueName == "SycnTableData")
-                { 
+                {
                     JobMqMsg job = Newtonsoft.Json.JsonConvert.DeserializeObject<JobMqMsg>(MsgContent);
                     if (job.BrandInfo.DataType == 1)
                     {
@@ -94,12 +103,12 @@ namespace MySystem
                     }
                 }
                 else if (QueueName == "ProfitForEverMonth")
-                { 
+                {
                     JobMqMsg job = Newtonsoft.Json.JsonConvert.DeserializeObject<JobMqMsg>(MsgContent);
                     ProfitService.Instance.Start(job);
                 }
                 else if (QueueName == "FluxPrize")
-                { 
+                {
                     JobMqMsg job = Newtonsoft.Json.JsonConvert.DeserializeObject<JobMqMsg>(MsgContent);
                     FluxService.Instance.Start(job);
                 }

+ 185 - 1
AppStart/WeChatFunction.cs

@@ -1,12 +1,14 @@
 using System;
 using System.Collections.Generic;
 using Library;
+using LitJson;
+using System.Linq;
 using System.Security.Cryptography.X509Certificates;
 using System.Security.Cryptography;
 using System.Text;
 using System.IO;
-using LitJson;
 using System.Net;
+using MySystem.Models;
 
 namespace MySystem
 {
@@ -16,6 +18,188 @@ namespace MySystem
         {
         }
 
+
+        #region 服务商平台商户进件提交申请单API
+
+        public string MerchantCreate(MerchantAddInfo info, MerchantInfo merchant)
+        {
+            // pubkey = GetPublicKey();
+
+            Dictionary<string, object> result = new Dictionary<string, object>();
+            result.Add("business_code", info.BusinessCode); //业务申请编号
+
+            PxcModels.WebCMSEntities dbpxc = new PxcModels.WebCMSEntities();
+            //超级管理员信息
+            Dictionary<string, object> contact_info = new Dictionary<string, object>();
+            contact_info.Add("contact_name", RSAEncrypt(info.ContactName)); //超级管理员姓名
+            contact_info.Add("contact_id_number", RSAEncrypt(info.ContactIdNumber)); //超级管理员身份证件号码
+            // contact_info.Add("openid", info.OpenId); //超级管理员微信openid
+            contact_info.Add("mobile_phone", RSAEncrypt(info.MobilePhone)); //联系手机
+            contact_info.Add("contact_email", RSAEncrypt(info.ContactEmail)); //联系邮箱
+            result.Add("contact_info", contact_info);
+
+            //主体资料
+            Dictionary<string, object> subject_info = new Dictionary<string, object>();
+            subject_info.Add("subject_type", info.SubjectType); //主体类型
+
+            Dictionary<string, object> business_license_info = new Dictionary<string, object>();
+            business_license_info.Add("license_copy", GetMediaId("/bsserver_com" + info.LicenseCopy)); //营业执照照片
+            business_license_info.Add("license_number", info.LicenseNumber); //注册号/统一社会信用代码
+            business_license_info.Add("merchant_name", merchant.Name); //商户名称
+            business_license_info.Add("legal_person", info.LegalPerson); //个体户经营者/法人姓名
+            subject_info.Add("business_license_info", business_license_info); //营业执照
+
+            // Dictionary<string, object> certificate_info = new Dictionary<string, object>();
+            // certificate_info.Add("cert_copy", GetMediaId("/bsserver_com" + info.CertCopy)); //登记证书照片
+            // certificate_info.Add("cert_type", info.CertType); //登记证书类型
+            // certificate_info.Add("cert_number", info.CertNumber); //证书号
+            // certificate_info.Add("merchant_name", info.CertMerchantName); //商户名称
+            // certificate_info.Add("company_address", info.CompanyAddress); //注册地址
+            // certificate_info.Add("legal_person", info.CertLegalPerson); //法人姓名
+            // certificate_info.Add("period_begin", CheckForever(info.PeriodBegin)); //有效期限开始日期
+            // certificate_info.Add("period_end", CheckForever(info.PeriodEnd)); //有效期限结束日期
+            // subject_info.Add("certificate_info", certificate_info); //登记证书
+
+            // Dictionary<string, object> organization_info = new Dictionary<string, object>();
+            // organization_info.Add("organization_copy", GetMediaId("/bsserver_com" + info.OrganizationCopy)); //组织机构代码证照片
+            // organization_info.Add("organization_code", info.OrganizationCode); //组织机构代码
+            // organization_info.Add("org_period_begin", CheckForever(info.OrgPeriodBegin)); //组织机构代码证有效期开始日期
+            // organization_info.Add("org_period_end", CheckForever(info.OrgPeriodEnd)); //组织机构代码证有效期结束日期
+            // subject_info.Add("organization_info", organization_info); //组织机构代码证
+
+            // subject_info.Add("certificate_letter_copy", GetMediaId("/bsserver_com" + info.CertificateLetterCopy)); //单位证明函照片
+
+            Dictionary<string, object> identity_info = new Dictionary<string, object>();
+            info.IdDocType = "IDENTIFICATION_TYPE_IDCARD";
+            identity_info.Add("id_doc_type", info.IdDocType); //证件类型
+            Dictionary<string, object> id_card_info = new Dictionary<string, object>();
+            id_card_info.Add("id_card_copy", GetMediaId("/bsserver_com" + info.IdCardCopy)); //身份证人像面照片
+            id_card_info.Add("id_card_national", GetMediaId("/bsserver_com" + info.IdCardNational)); //身份证人像面照片
+            id_card_info.Add("id_card_name", RSAEncrypt(info.IdCardName)); //身份证姓名
+            id_card_info.Add("id_card_number", RSAEncrypt(info.IdCardNumber)); //身份证号码
+            id_card_info.Add("card_period_begin", CheckForever(info.CardPeriodBegin)); //身份证有效期开始时间
+            id_card_info.Add("card_period_end", CheckForever(info.CardPeriodEnd)); //身份证有效期结束时间
+            identity_info.Add("id_card_info", id_card_info); //身份证信息
+            // identity_info.Add("owner", info.Owner == 1 ? true : false); //经营者/法人是否为受益人
+            identity_info.Add("owner", true);
+            subject_info.Add("identity_info", identity_info); //经营者/法人身份证件
+
+            // if (info.Owner == 0)
+            // {
+            //     Dictionary<string, object> ubo_info = new Dictionary<string, object>();
+            //     ubo_info.Add("id_type", info.UboInfoIdType); //证件类型
+            //     ubo_info.Add("id_card_copy", GetMediaId("/bsserver_com" + info.UboInfoIdCardCopy)); //身份证人像面照片
+            //     ubo_info.Add("id_card_national", GetMediaId("/bsserver_com" + info.UboInfoIdCardNational)); //身份证国徽面照片
+            //     ubo_info.Add("id_doc_copy", GetMediaId("/bsserver_com" + info.UboInfoIdDocCopy)); //证件照片
+            //     ubo_info.Add("name", RSAEncrypt(info.UboInfoName)); //受益人姓名
+            //     ubo_info.Add("id_number", RSAEncrypt(info.UboInfoIdNumber)); //证件号码
+            //     ubo_info.Add("id_period_begin", CheckForever(info.UboInfoIdPeriodBegin)); //证件有效期开始时间
+            //     ubo_info.Add("id_period_end", CheckForever(info.UboInfoIdPeriodEnd)); //证件有效期结束时间
+            //     subject_info.Add("ubo_info", ubo_info); //最终受益人信息(UBO)
+            // }
+
+            result.Add("subject_info", subject_info);
+
+            //经营资料
+            Dictionary<string, object> business_info = new Dictionary<string, object>();
+            business_info.Add("merchant_shortname", info.MerchantShortname); //商户简称
+            business_info.Add("service_phone", info.ServicePhone); //客服电话
+
+            Dictionary<string, object> sales_info = new Dictionary<string, object>();
+            info.SalesScenesType = "SALES_SCENES_STORE";
+            sales_info.Add("sales_scenes_type", info.SalesScenesType.Split(',').ToList()); //经营场景类型
+
+            Dictionary<string, object> biz_store_info = new Dictionary<string, object>();
+            biz_store_info.Add("biz_store_name", info.BizStoreName); //门店名称
+            PxcModels.OpenBankCityTable BizAddress = dbpxc.OpenBankCityTable.FirstOrDefault(m => m.CityName.EndsWith(info.BizAddressCode)) ?? new PxcModels.OpenBankCityTable();
+            biz_store_info.Add("biz_address_code", BizAddress.Code); //门店省市编码
+            biz_store_info.Add("biz_store_address", info.BizStoreAddress); //门店地址
+            List<string> store_entrance_pic = new List<string>();
+            store_entrance_pic.Add(GetMediaId("/bsserver_com" + info.StoreEntrancePic));
+            biz_store_info.Add("store_entrance_pic", store_entrance_pic); //门店门头照片
+            List<string> indoor_pic = new List<string>();
+            indoor_pic.Add(GetMediaId("/bsserver_com" + info.IndoorPic));
+            biz_store_info.Add("indoor_pic", indoor_pic); //店内环境照片
+            biz_store_info.Add("biz_sub_appid", info.BizSubAppid); //线下场所对应的商家APPID
+            sales_info.Add("biz_store_info", biz_store_info); //线下门店场景
+
+            // Dictionary<string, object> mp_info = new Dictionary<string, object>();
+            // mp_info.Add("mp_appid", info.MpAppid); //服务商公众号APPID
+            // mp_info.Add("mp_sub_appid", info.MpSubAppid); //商家公众号APPID
+            // mp_info.Add("mp_pics", GetMediaId("/bsserver_com" + info.MpPics)); //公众号页面截图
+            // sales_info.Add("mp_info", mp_info); //公众号场景
+
+            // Dictionary<string, object> mini_program_info = new Dictionary<string, object>();
+            // mini_program_info.Add("mini_program_appid", info.MiniProgramAppid); //服务商小程序APPID
+            // mini_program_info.Add("mini_program_sub_appid", info.MiniProgramSubAppid); //商家小程序APPID
+            // mini_program_info.Add("mini_program_pics", GetMediaId("/bsserver_com" + info.MiniProgramPics)); //小程序截图
+            // sales_info.Add("mini_program_info", mini_program_info); //小程序场景
+
+            // Dictionary<string, object> app_info = new Dictionary<string, object>();
+            // app_info.Add("app_appid", info.AppAppid); //服务商应用APPID
+            // app_info.Add("app_sub_appid", info.AppSubAppid); //商家应用APPID
+            // app_info.Add("app_pics", GetMediaId("/bsserver_com" + info.AppPics)); //商家应用APPID
+            // sales_info.Add("app_info", app_info); //APP场景
+
+            // Dictionary<string, object> web_info = new Dictionary<string, object>();
+            // web_info.Add("domain", info.WebDomain); //互联网网站域名
+            // web_info.Add("web_authorisation", GetMediaId("/bsserver_com" + info.WebAuthorisation)); //网站授权函
+            // web_info.Add("web_appid", info.WebAppId); //互联网网站对应的商家APPID
+            // sales_info.Add("web_info", web_info); //互联网网站场景
+
+            // Dictionary<string, object> wework_info = new Dictionary<string, object>();
+            // wework_info.Add("sub_corp_id", info.SubCorpId); //商家企业微信CorpID
+            // wework_info.Add("wework_pics", GetMediaId("/bsserver_com" + info.WeworkPics)); //企业微信页面截图
+            // sales_info.Add("wework_info", wework_info); //企业微信场景
+
+            business_info.Add("sales_info", sales_info); //经营场景
+
+            result.Add("business_info", business_info);
+
+            //结算规则
+            Dictionary<string, object> settlement_info = new Dictionary<string, object>();
+            settlement_info.Add("settlement_id", info.SettlementId); //入驻结算规则ID
+            settlement_info.Add("qualification_type", info.QualificationType); //所属行业
+            if (!string.IsNullOrEmpty(info.Qualifications))
+            {
+                List<string> Qualifications = new List<string>();
+                Qualifications.Add(GetMediaId("/bsserver_com" + info.Qualifications));
+                settlement_info.Add("qualifications", Qualifications); //特殊资质图片
+            }
+            settlement_info.Add("activities_id", info.ActivitiesId); //优惠费率活动ID
+            settlement_info.Add("activities_rate", info.ActivitiesRate); //优惠费率活动值
+            result.Add("settlement_info", settlement_info);
+
+            //结算银行账户
+            Dictionary<string, object> bank_account_info = new Dictionary<string, object>();
+            bank_account_info.Add("bank_account_type", info.BankAccountType); //账户类型
+            bank_account_info.Add("account_name", RSAEncrypt(info.AccountName)); //开户名称
+            bank_account_info.Add("account_bank", info.AccountBank); //开户银行
+            PxcModels.OpenBankCityTable BankAddress = dbpxc.OpenBankCityTable.FirstOrDefault(m => m.CityName.EndsWith(info.BankAddressCode)) ?? new PxcModels.OpenBankCityTable();
+            bank_account_info.Add("bank_address_code", BankAddress.Code); //开户银行省市编码
+            PxcModels.OpenBankTable BankBranch = dbpxc.OpenBankTable.FirstOrDefault(m => m.BankName == info.BankName) ?? new PxcModels.OpenBankTable();
+            bank_account_info.Add("bank_branch_id", BankBranch.BankCode); //开户银行联行号
+            bank_account_info.Add("bank_name", info.BankName); //开户银行全称(含支行)
+            bank_account_info.Add("account_number", RSAEncrypt(info.AccountNumber)); //银行账号
+            result.Add("bank_account_info", bank_account_info);
+            dbpxc.Dispose();
+
+            string req = Newtonsoft.Json.JsonConvert.SerializeObject(result);
+            Dictionary<string, string> header = new Dictionary<string, string>();
+            // 如何查看证书序列号?
+            // 登陆商户平台【API安全】->【API证书】->【查看证书】,可查看商户API证书序列号。
+            // 商户API证书和微信支付平台证书均可以使用第三方的证书解析工具,查看证书内容。或者使用openssl命令行工具查看证书序列号。
+            // $ openssl x509 -in 1900009191_20180326_cert.pem -noout -serial
+            // serial=1DDE55AD98ED71D6EDD4A4A16996DE7B47773A8C
+            string merchantId = "1613112281";   //商户号
+            string serialNo = "61D99F7218B487788E35D6C4E3ED398E0979D3F6";  //证书编号
+            string resp = postJson("https://api.mch.weixin.qq.com/v3/applyment4sub/applyment/", req, prikey, merchantId, serialNo);
+            function.WriteLog(resp, "商户进件日志");
+            return resp;
+        }
+
+        #endregion
+
         #region 服务商平台查询申请单状态API
 
         public Dictionary<string, object> QueryMerchant(string BusinessCode)

+ 4 - 2
Controllers/HomeController.cs

@@ -58,6 +58,7 @@ namespace MySystem.Controllers
         private static object o = new object();
         public string test()
         {
+            RabbitMQClient.Instance.SendMsg("2", "MerchantConfirmList");
             // lock (o)
             // {
             //     function.WriteLog("start:" + DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss.fff"));
@@ -74,8 +75,9 @@ namespace MySystem.Controllers
             //     }
             //     function.WriteLog("end:" + DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss.fff"));
             // }
-            th1();
-            th2();
+            // th1();
+            // th2();
+            // PublicTableHelper.Instance.Start("MerchantAddInfo");
             return "ok";
         }
 

+ 1 - 1
Models/WebCMSEntities.cs

@@ -191,7 +191,7 @@ namespace MySystem.Models
         protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder)
         {
             if (!optionsBuilder.IsConfigured)
-            {                
+            {
                 optionsBuilder.UseMySql(Library.ConfigurationManager.AppSettings["SqlConnStr"].ToString(), x => x.ServerVersion("5.7.17-mysql"));
             }
         }

+ 49 - 0
PxcModels/ActiveReward.cs

@@ -0,0 +1,49 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.PxcModels
+{
+    public partial class ActiveReward
+    {
+        public int Id { get; set; }
+        public int Sort { get; set; }
+        public int QueryCount { get; set; }
+        public int Status { get; set; }
+        public int Version { get; set; }
+        public DateTime? CreateDate { get; set; }
+        public DateTime? UpdateDate { get; set; }
+        public string CreateMan { get; set; }
+        public string UpdateMan { get; set; }
+        public string SeoTitle { get; set; }
+        public string SeoKeyword { get; set; }
+        public string SeoDescription { get; set; }
+        public int ParentParentUserId { get; set; }
+        public int ParentUserId { get; set; }
+        public int MerUserId { get; set; }
+        public int TopUserId { get; set; }
+        public DateTime? ActDate { get; set; }
+        public string Remark { get; set; }
+        public string City { get; set; }
+        public string Province { get; set; }
+        public string RewardTips { get; set; }
+        public int RewardRef { get; set; }
+        public int SnStoreId { get; set; }
+        public string ActTypeDesc { get; set; }
+        public int ActType { get; set; }
+        public int SnApplyUserId { get; set; }
+        public int SnType { get; set; }
+        public string KqSnNo { get; set; }
+        public string KqMerNo { get; set; }
+        public string MerUserNav { get; set; }
+        public int DirectBuddyNo { get; set; }
+        public string UserNav { get; set; }
+        public int BrandId { get; set; }
+        public decimal RuleRewardAmount { get; set; }
+        public decimal DivideAmount { get; set; }
+        public decimal RewardAmount { get; set; }
+        public int RewardSourceUserId { get; set; }
+        public DateTime? StandardDate { get; set; }
+        public int MerchantId { get; set; }
+        public int UserId { get; set; }
+    }
+}

+ 26 - 0
PxcModels/ActivityEnrolRecord.cs

@@ -0,0 +1,26 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.PxcModels
+{
+    public partial class ActivityEnrolRecord
+    {
+        public int Id { get; set; }
+        public int Sort { get; set; }
+        public int QueryCount { get; set; }
+        public int Status { get; set; }
+        public int Version { get; set; }
+        public DateTime? CreateDate { get; set; }
+        public DateTime? UpdateDate { get; set; }
+        public string CreateMan { get; set; }
+        public string UpdateMan { get; set; }
+        public string SeoTitle { get; set; }
+        public string SeoKeyword { get; set; }
+        public string SeoDescription { get; set; }
+        public string EffectEndTime { get; set; }
+        public string EffectStartTime { get; set; }
+        public string EnrolMonth { get; set; }
+        public int UserId { get; set; }
+        public int ActId { get; set; }
+    }
+}

+ 37 - 0
PxcModels/ActivityInfo.cs

@@ -0,0 +1,37 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.PxcModels
+{
+    public partial class ActivityInfo
+    {
+        public int Id { get; set; }
+        public int Sort { get; set; }
+        public int QueryCount { get; set; }
+        public int Status { get; set; }
+        public int Version { get; set; }
+        public DateTime? CreateDate { get; set; }
+        public DateTime? UpdateDate { get; set; }
+        public string CreateMan { get; set; }
+        public string UpdateMan { get; set; }
+        public string SeoTitle { get; set; }
+        public string SeoKeyword { get; set; }
+        public string SeoDescription { get; set; }
+        public string Remark { get; set; }
+        public string ActContent { get; set; }
+        public string ActBanner { get; set; }
+        public string ActReferUrl { get; set; }
+        public string EnrolEndTime { get; set; }
+        public string EnrolStartTime { get; set; }
+        public DateTime? EnrolEndDate { get; set; }
+        public DateTime? EnrolStartDate { get; set; }
+        public DateTime? EffectEndDate { get; set; }
+        public DateTime? EffectStartDate { get; set; }
+        public int IsTop { get; set; }
+        public string LimitTopBuddy { get; set; }
+        public string BrandId { get; set; }
+        public string ActName { get; set; }
+        public int ActType { get; set; }
+        public string ActCode { get; set; }
+    }
+}

+ 32 - 0
PxcModels/ActivityPrizeDetail.cs

@@ -0,0 +1,32 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.PxcModels
+{
+    public partial class ActivityPrizeDetail
+    {
+        public int Id { get; set; }
+        public int Sort { get; set; }
+        public int QueryCount { get; set; }
+        public int Status { get; set; }
+        public int Version { get; set; }
+        public DateTime? CreateDate { get; set; }
+        public DateTime? UpdateDate { get; set; }
+        public string CreateMan { get; set; }
+        public string UpdateMan { get; set; }
+        public string SeoTitle { get; set; }
+        public string SeoKeyword { get; set; }
+        public string SeoDescription { get; set; }
+        public int TopUserId { get; set; }
+        public decimal ProfitRate { get; set; }
+        public decimal ActRewardAmt { get; set; }
+        public decimal CreditTradeAmt { get; set; }
+        public decimal OtherProdCreditTradeAmt { get; set; }
+        public string TradeMonth { get; set; }
+        public int CheckStatus { get; set; }
+        public decimal TradeAmt { get; set; }
+        public int BrandId { get; set; }
+        public int UserId { get; set; }
+        public int ActivityId { get; set; }
+    }
+}

+ 26 - 0
PxcModels/Advertisment.cs

@@ -0,0 +1,26 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.PxcModels
+{
+    public partial class Advertisment
+    {
+        public int Id { get; set; }
+        public int Sort { get; set; }
+        public int QueryCount { get; set; }
+        public int Status { get; set; }
+        public int Version { get; set; }
+        public DateTime? CreateDate { get; set; }
+        public DateTime? UpdateDate { get; set; }
+        public string CreateMan { get; set; }
+        public string UpdateMan { get; set; }
+        public string SeoTitle { get; set; }
+        public string SeoKeyword { get; set; }
+        public string SeoDescription { get; set; }
+        public string Url { get; set; }
+        public string Contents { get; set; }
+        public string PicPath { get; set; }
+        public string ColId { get; set; }
+        public string Title { get; set; }
+    }
+}

+ 25 - 0
PxcModels/AgentLevelSet.cs

@@ -0,0 +1,25 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.PxcModels
+{
+    public partial class AgentLevelSet
+    {
+        public int Id { get; set; }
+        public int Sort { get; set; }
+        public int QueryCount { get; set; }
+        public int Status { get; set; }
+        public int Version { get; set; }
+        public DateTime? CreateDate { get; set; }
+        public DateTime? UpdateDate { get; set; }
+        public string CreateMan { get; set; }
+        public string UpdateMan { get; set; }
+        public string SeoTitle { get; set; }
+        public string SeoKeyword { get; set; }
+        public string SeoDescription { get; set; }
+        public decimal AreasProfitPercent { get; set; }
+        public ulong LevelDiff { get; set; }
+        public decimal ProfitPercent { get; set; }
+        public string Name { get; set; }
+    }
+}

+ 29 - 0
PxcModels/AppBottomNavs.cs

@@ -0,0 +1,29 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.PxcModels
+{
+    public partial class AppBottomNavs
+    {
+        public int Id { get; set; }
+        public int Sort { get; set; }
+        public int QueryCount { get; set; }
+        public int Status { get; set; }
+        public int Version { get; set; }
+        public DateTime? CreateDate { get; set; }
+        public DateTime? UpdateDate { get; set; }
+        public string CreateMan { get; set; }
+        public string UpdateMan { get; set; }
+        public string SeoTitle { get; set; }
+        public string SeoKeyword { get; set; }
+        public string SeoDescription { get; set; }
+        public string BgColor { get; set; }
+        public string NoPageHint { get; set; }
+        public string PageName { get; set; }
+        public string NormalTextColor { get; set; }
+        public string SelectTextColor { get; set; }
+        public string NormalIcon { get; set; }
+        public string SelectIcon { get; set; }
+        public string Title { get; set; }
+    }
+}

+ 28 - 0
PxcModels/AppVersion.cs

@@ -0,0 +1,28 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.PxcModels
+{
+    public partial class AppVersion
+    {
+        public int Id { get; set; }
+        public int Sort { get; set; }
+        public int QueryCount { get; set; }
+        public int Status { get; set; }
+        public int Version { get; set; }
+        public DateTime? CreateDate { get; set; }
+        public DateTime? UpdateDate { get; set; }
+        public string CreateMan { get; set; }
+        public string UpdateMan { get; set; }
+        public string SeoTitle { get; set; }
+        public string SeoKeyword { get; set; }
+        public string SeoDescription { get; set; }
+        public string DownloadUrl { get; set; }
+        public string CancelText { get; set; }
+        public string ConfirmText { get; set; }
+        public string Info { get; set; }
+        public string Title { get; set; }
+        public string VersionNum { get; set; }
+        public string TerminalKind { get; set; }
+    }
+}

+ 24 - 0
PxcModels/AppVideo.cs

@@ -0,0 +1,24 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.PxcModels
+{
+    public partial class AppVideo
+    {
+        public int Id { get; set; }
+        public int Sort { get; set; }
+        public int QueryCount { get; set; }
+        public int Status { get; set; }
+        public int Version { get; set; }
+        public DateTime? CreateDate { get; set; }
+        public DateTime? UpdateDate { get; set; }
+        public string CreateMan { get; set; }
+        public string UpdateMan { get; set; }
+        public string SeoTitle { get; set; }
+        public string SeoKeyword { get; set; }
+        public string SeoDescription { get; set; }
+        public string Remark { get; set; }
+        public string BannerPic { get; set; }
+        public string Name { get; set; }
+    }
+}

+ 26 - 0
PxcModels/AppVideoList.cs

@@ -0,0 +1,26 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.PxcModels
+{
+    public partial class AppVideoList
+    {
+        public int Id { get; set; }
+        public int Sort { get; set; }
+        public int QueryCount { get; set; }
+        public int Status { get; set; }
+        public int Version { get; set; }
+        public DateTime? CreateDate { get; set; }
+        public DateTime? UpdateDate { get; set; }
+        public string CreateMan { get; set; }
+        public string UpdateMan { get; set; }
+        public string SeoTitle { get; set; }
+        public string SeoKeyword { get; set; }
+        public string SeoDescription { get; set; }
+        public string BgPic { get; set; }
+        public int VideoId { get; set; }
+        public string Remark { get; set; }
+        public string VideoUrl { get; set; }
+        public string Title { get; set; }
+    }
+}

+ 26 - 0
PxcModels/BankInfo.cs

@@ -0,0 +1,26 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.PxcModels
+{
+    public partial class BankInfo
+    {
+        public int Id { get; set; }
+        public int Sort { get; set; }
+        public int QueryCount { get; set; }
+        public int Status { get; set; }
+        public int Version { get; set; }
+        public DateTime? CreateDate { get; set; }
+        public DateTime? UpdateDate { get; set; }
+        public string CreateMan { get; set; }
+        public string UpdateMan { get; set; }
+        public string SeoTitle { get; set; }
+        public string SeoKeyword { get; set; }
+        public string SeoDescription { get; set; }
+        public string BankNameAbbr { get; set; }
+        public string UnitedBankName { get; set; }
+        public string UnitedBankNo { get; set; }
+        public string BankCode { get; set; }
+        public string BankName { get; set; }
+    }
+}

+ 37 - 0
PxcModels/Col.cs

@@ -0,0 +1,37 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.PxcModels
+{
+    public partial class Col
+    {
+        public int Id { get; set; }
+        public int Sort { get; set; }
+        public int QueryCount { get; set; }
+        public int Status { get; set; }
+        public int Version { get; set; }
+        public DateTime? CreateDate { get; set; }
+        public DateTime? UpdateDate { get; set; }
+        public string CreateMan { get; set; }
+        public string UpdateMan { get; set; }
+        public string SeoTitle { get; set; }
+        public string SeoKeyword { get; set; }
+        public string SeoDescription { get; set; }
+        public string ClassName { get; set; }
+        public string ColEnNav { get; set; }
+        public int ParentId { get; set; }
+        public int ListPageCount { get; set; }
+        public string DetailTempM { get; set; }
+        public string ListTempM { get; set; }
+        public string DetailTemp { get; set; }
+        public string ListTemp { get; set; }
+        public string Url { get; set; }
+        public string Contents { get; set; }
+        public string ColEnName { get; set; }
+        public ulong Recommend { get; set; }
+        public string ColDetail { get; set; }
+        public string ColPicPath { get; set; }
+        public string ColName { get; set; }
+        public string ColId { get; set; }
+    }
+}

+ 11 - 0
PxcModels/ConsumerOpenIds.cs

@@ -0,0 +1,11 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.PxcModels
+{
+    public partial class ConsumerOpenIds
+    {
+        public string OpenId { get; set; }
+        public int ConsumerId { get; set; }
+    }
+}

+ 30 - 0
PxcModels/ConsumerOrders.cs

@@ -0,0 +1,30 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.PxcModels
+{
+    public partial class ConsumerOrders
+    {
+        public int Id { get; set; }
+        public int Sort { get; set; }
+        public int QueryCount { get; set; }
+        public int Status { get; set; }
+        public int Version { get; set; }
+        public DateTime? CreateDate { get; set; }
+        public DateTime? UpdateDate { get; set; }
+        public string CreateMan { get; set; }
+        public string UpdateMan { get; set; }
+        public string SeoTitle { get; set; }
+        public string SeoKeyword { get; set; }
+        public string SeoDescription { get; set; }
+        public decimal CurDivi { get; set; }
+        public decimal MaxDivi { get; set; }
+        public string SnNo { get; set; }
+        public decimal ReturnMoney { get; set; }
+        public decimal PayMoney { get; set; }
+        public int PayMode { get; set; }
+        public string OrderNo { get; set; }
+        public int ConsumerId { get; set; }
+        public int MerchantId { get; set; }
+    }
+}

+ 25 - 0
PxcModels/ConsumerProfit.cs

@@ -0,0 +1,25 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.PxcModels
+{
+    public partial class ConsumerProfit
+    {
+        public int Id { get; set; }
+        public int Sort { get; set; }
+        public int QueryCount { get; set; }
+        public int Status { get; set; }
+        public int Version { get; set; }
+        public DateTime? CreateDate { get; set; }
+        public DateTime? UpdateDate { get; set; }
+        public string CreateMan { get; set; }
+        public string UpdateMan { get; set; }
+        public string SeoTitle { get; set; }
+        public string SeoKeyword { get; set; }
+        public string SeoDescription { get; set; }
+        public int OrderId { get; set; }
+        public decimal GetMoney { get; set; }
+        public int MerchantId { get; set; }
+        public int ConsumerId { get; set; }
+    }
+}

+ 36 - 0
PxcModels/Consumers.cs

@@ -0,0 +1,36 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.PxcModels
+{
+    public partial class Consumers
+    {
+        public int Id { get; set; }
+        public int Sort { get; set; }
+        public int QueryCount { get; set; }
+        public int Status { get; set; }
+        public int Version { get; set; }
+        public DateTime? CreateDate { get; set; }
+        public DateTime? UpdateDate { get; set; }
+        public string CreateMan { get; set; }
+        public string UpdateMan { get; set; }
+        public string SeoTitle { get; set; }
+        public string SeoKeyword { get; set; }
+        public string SeoDescription { get; set; }
+        public string WechatOpenId { get; set; }
+        public ulong CardFlag { get; set; }
+        public ulong AlipayFlag { get; set; }
+        public ulong WeChatPayFlag { get; set; }
+        public DateTime? LastConsumDate { get; set; }
+        public int TotalConsumCount { get; set; }
+        public decimal TotalAmount { get; set; }
+        public string AlipayUserId { get; set; }
+        public string WechatUnionid { get; set; }
+        public int CurIntgegral { get; set; }
+        public int TotalIntegral { get; set; }
+        public decimal TotalDividend { get; set; }
+        public string Mobile { get; set; }
+        public string HeadPhoto { get; set; }
+        public string NickName { get; set; }
+    }
+}

+ 33 - 0
PxcModels/CouponAssignRecords.cs

@@ -0,0 +1,33 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.PxcModels
+{
+    public partial class CouponAssignRecords
+    {
+        public int Id { get; set; }
+        public int Sort { get; set; }
+        public int QueryCount { get; set; }
+        public int Status { get; set; }
+        public int Version { get; set; }
+        public DateTime? CreateDate { get; set; }
+        public DateTime? UpdateDate { get; set; }
+        public string CreateMan { get; set; }
+        public string UpdateMan { get; set; }
+        public string SeoTitle { get; set; }
+        public string SeoKeyword { get; set; }
+        public string SeoDescription { get; set; }
+        public string CouponIds { get; set; }
+        public string Mobile { get; set; }
+        public string Areas { get; set; }
+        public string UserGroupId { get; set; }
+        public decimal CurMoneyMax { get; set; }
+        public decimal CurMoneyMin { get; set; }
+        public decimal TotalUseIntegralMax { get; set; }
+        public decimal TotalUseIntegralMin { get; set; }
+        public decimal TotalOrderMoneyMax { get; set; }
+        public decimal TotalOrderMoneyMin { get; set; }
+        public int UserMaxLevel { get; set; }
+        public int UserMinLevel { get; set; }
+    }
+}

+ 48 - 0
PxcModels/Coupons.cs

@@ -0,0 +1,48 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.PxcModels
+{
+    public partial class Coupons
+    {
+        public int Id { get; set; }
+        public int Sort { get; set; }
+        public int QueryCount { get; set; }
+        public int Status { get; set; }
+        public int Version { get; set; }
+        public DateTime? CreateDate { get; set; }
+        public DateTime? UpdateDate { get; set; }
+        public string CreateMan { get; set; }
+        public string UpdateMan { get; set; }
+        public string SeoTitle { get; set; }
+        public string SeoKeyword { get; set; }
+        public string SeoDescription { get; set; }
+        public DateTime? ExpireEndDate { get; set; }
+        public DateTime? ExpireStartDate { get; set; }
+        public decimal FullReduceData { get; set; }
+        public decimal FullReduceMoney { get; set; }
+        public ulong AndPromotion { get; set; }
+        public ulong IsSuperpose { get; set; }
+        public int PublicMaxByDay { get; set; }
+        public int PublicMax { get; set; }
+        public DateTime? PublicEndDate { get; set; }
+        public DateTime? PublicStartDate { get; set; }
+        public ulong IsReUse { get; set; }
+        public string RepeatCondition { get; set; }
+        public int RepeatType { get; set; }
+        public ulong IsRepeat { get; set; }
+        public DateTime? UseEndDate { get; set; }
+        public DateTime? UseStartDate { get; set; }
+        public int UserMinLevel { get; set; }
+        public int UserMaxLevel { get; set; }
+        public string ProductId { get; set; }
+        public string ProductColId { get; set; }
+        public string MerchantId { get; set; }
+        public int Kind { get; set; }
+        public decimal Stock { get; set; }
+        public ulong IsPublic { get; set; }
+        public ulong IsNewUser { get; set; }
+        public string Explanation { get; set; }
+        public string Name { get; set; }
+    }
+}

+ 26 - 0
PxcModels/CouponsForUser.cs

@@ -0,0 +1,26 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.PxcModels
+{
+    public partial class CouponsForUser
+    {
+        public int Id { get; set; }
+        public int Sort { get; set; }
+        public int QueryCount { get; set; }
+        public int Status { get; set; }
+        public int Version { get; set; }
+        public DateTime? CreateDate { get; set; }
+        public DateTime? UpdateDate { get; set; }
+        public string CreateMan { get; set; }
+        public string UpdateMan { get; set; }
+        public string SeoTitle { get; set; }
+        public string SeoKeyword { get; set; }
+        public string SeoDescription { get; set; }
+        public DateTime? UseDate { get; set; }
+        public ulong IsLock { get; set; }
+        public ulong IsUse { get; set; }
+        public int CouponId { get; set; }
+        public int UserId { get; set; }
+    }
+}

+ 24 - 0
PxcModels/CustomTagSet.cs

@@ -0,0 +1,24 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.PxcModels
+{
+    public partial class CustomTagSet
+    {
+        public int Id { get; set; }
+        public int Sort { get; set; }
+        public int QueryCount { get; set; }
+        public int Status { get; set; }
+        public int Version { get; set; }
+        public DateTime? CreateDate { get; set; }
+        public DateTime? UpdateDate { get; set; }
+        public string CreateMan { get; set; }
+        public string UpdateMan { get; set; }
+        public string SeoTitle { get; set; }
+        public string SeoKeyword { get; set; }
+        public string SeoDescription { get; set; }
+        public string Contents { get; set; }
+        public string Title { get; set; }
+        public string Tags { get; set; }
+    }
+}

+ 24 - 0
PxcModels/ErpCompanys.cs

@@ -0,0 +1,24 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.PxcModels
+{
+    public partial class ErpCompanys
+    {
+        public int Id { get; set; }
+        public int Sort { get; set; }
+        public int QueryCount { get; set; }
+        public int Status { get; set; }
+        public int Version { get; set; }
+        public DateTime? CreateDate { get; set; }
+        public DateTime? UpdateDate { get; set; }
+        public string CreateMan { get; set; }
+        public string UpdateMan { get; set; }
+        public string SeoTitle { get; set; }
+        public string SeoKeyword { get; set; }
+        public string SeoDescription { get; set; }
+        public string Phone { get; set; }
+        public string Code { get; set; }
+        public string Name { get; set; }
+    }
+}

+ 24 - 0
PxcModels/FileUpdateInfo.cs

@@ -0,0 +1,24 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.PxcModels
+{
+    public partial class FileUpdateInfo
+    {
+        public int Id { get; set; }
+        public int Sort { get; set; }
+        public int QueryCount { get; set; }
+        public int Status { get; set; }
+        public int Version { get; set; }
+        public DateTime? CreateDate { get; set; }
+        public DateTime? UpdateDate { get; set; }
+        public string CreateMan { get; set; }
+        public string UpdateMan { get; set; }
+        public string SeoTitle { get; set; }
+        public string SeoKeyword { get; set; }
+        public string SeoDescription { get; set; }
+        public string FileName { get; set; }
+        public string Path { get; set; }
+        public int VersionNum { get; set; }
+    }
+}

+ 43 - 0
PxcModels/FluxProfitDetail.cs

@@ -0,0 +1,43 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.PxcModels
+{
+    public partial class FluxProfitDetail
+    {
+        public int Id { get; set; }
+        public int Sort { get; set; }
+        public int QueryCount { get; set; }
+        public int Status { get; set; }
+        public int Version { get; set; }
+        public DateTime? CreateDate { get; set; }
+        public DateTime? UpdateDate { get; set; }
+        public string CreateMan { get; set; }
+        public string UpdateMan { get; set; }
+        public string SeoTitle { get; set; }
+        public string SeoKeyword { get; set; }
+        public string SeoDescription { get; set; }
+        public int MerUserType { get; set; }
+        public int TopUserId { get; set; }
+        public int BrandId { get; set; }
+        public string Remark { get; set; }
+        public string PosType { get; set; }
+        public decimal FluxProfitAmt { get; set; }
+        public string FluxEndDate { get; set; }
+        public string FluxStartDate { get; set; }
+        public decimal FluxFeeAmt { get; set; }
+        public decimal TradeAmt { get; set; }
+        public string TradeOrderNo { get; set; }
+        public string FluxOrderNo { get; set; }
+        public int ProfitType { get; set; }
+        public string SnNo { get; set; }
+        public string MerNo { get; set; }
+        public int MerchantUserId { get; set; }
+        public int MerchantId { get; set; }
+        public int UserId { get; set; }
+        public string TradeMonth { get; set; }
+        public string TradeTime { get; set; }
+        public string TradeDate { get; set; }
+        public string RecordNo { get; set; }
+    }
+}

+ 30 - 0
PxcModels/FluxProfitSummary.cs

@@ -0,0 +1,30 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.PxcModels
+{
+    public partial class FluxProfitSummary
+    {
+        public int Id { get; set; }
+        public int Sort { get; set; }
+        public int QueryCount { get; set; }
+        public int Status { get; set; }
+        public int Version { get; set; }
+        public DateTime? CreateDate { get; set; }
+        public DateTime? UpdateDate { get; set; }
+        public string CreateMan { get; set; }
+        public string UpdateMan { get; set; }
+        public string SeoTitle { get; set; }
+        public string SeoKeyword { get; set; }
+        public string SeoDescription { get; set; }
+        public int BrandId { get; set; }
+        public string Remark { get; set; }
+        public int CheckStatus { get; set; }
+        public int FluxTradeNum { get; set; }
+        public decimal FluxProfitAmt { get; set; }
+        public int MerUserType { get; set; }
+        public string TradeMonth { get; set; }
+        public int TopUserId { get; set; }
+        public int UserId { get; set; }
+    }
+}

+ 24 - 0
PxcModels/IndexIconList.cs

@@ -0,0 +1,24 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.PxcModels
+{
+    public partial class IndexIconList
+    {
+        public int Id { get; set; }
+        public int Sort { get; set; }
+        public int QueryCount { get; set; }
+        public int Status { get; set; }
+        public int Version { get; set; }
+        public DateTime? CreateDate { get; set; }
+        public DateTime? UpdateDate { get; set; }
+        public string CreateMan { get; set; }
+        public string UpdateMan { get; set; }
+        public string SeoTitle { get; set; }
+        public string SeoKeyword { get; set; }
+        public string SeoDescription { get; set; }
+        public string Url { get; set; }
+        public string Title { get; set; }
+        public string Icon { get; set; }
+    }
+}

+ 23 - 0
PxcModels/KqProductBrand.cs

@@ -0,0 +1,23 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.PxcModels
+{
+    public partial class KqProductBrand
+    {
+        public int Id { get; set; }
+        public int Sort { get; set; }
+        public int QueryCount { get; set; }
+        public int Status { get; set; }
+        public int Version { get; set; }
+        public DateTime? CreateDate { get; set; }
+        public DateTime? UpdateDate { get; set; }
+        public string CreateMan { get; set; }
+        public string UpdateMan { get; set; }
+        public string SeoTitle { get; set; }
+        public string SeoKeyword { get; set; }
+        public string SeoDescription { get; set; }
+        public string Name { get; set; }
+        public int ProductId { get; set; }
+    }
+}

+ 23 - 0
PxcModels/KqProductOrgs.cs

@@ -0,0 +1,23 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.PxcModels
+{
+    public partial class KqProductOrgs
+    {
+        public int Id { get; set; }
+        public int Sort { get; set; }
+        public int QueryCount { get; set; }
+        public int Status { get; set; }
+        public int Version { get; set; }
+        public DateTime? CreateDate { get; set; }
+        public DateTime? UpdateDate { get; set; }
+        public string CreateMan { get; set; }
+        public string UpdateMan { get; set; }
+        public string SeoTitle { get; set; }
+        public string SeoKeyword { get; set; }
+        public string SeoDescription { get; set; }
+        public string Name { get; set; }
+        public int BrandId { get; set; }
+    }
+}

+ 68 - 0
PxcModels/KqProductRuleSet.cs

@@ -0,0 +1,68 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.PxcModels
+{
+    public partial class KqProductRuleSet
+    {
+        public int Id { get; set; }
+        public int Sort { get; set; }
+        public int QueryCount { get; set; }
+        public int Status { get; set; }
+        public int Version { get; set; }
+        public DateTime? CreateDate { get; set; }
+        public DateTime? UpdateDate { get; set; }
+        public string CreateMan { get; set; }
+        public string UpdateMan { get; set; }
+        public string SeoTitle { get; set; }
+        public string SeoKeyword { get; set; }
+        public string SeoDescription { get; set; }
+        public decimal FeeRate { get; set; }
+        public decimal FeeFixed { get; set; }
+        public int FeeBindDays { get; set; }
+        public decimal HelpSteadyFee { get; set; }
+        public decimal HelpFee { get; set; }
+        public int HelpMonths { get; set; }
+        public DateTime? HelpEndDate { get; set; }
+        public DateTime? HelpStartDate { get; set; }
+        public decimal FlowCardDirectProfit { get; set; }
+        public DateTime? FeeOfDays { get; set; }
+        public decimal FlowCardFee { get; set; }
+        public int FlowCardFreeDays { get; set; }
+        public DateTime? FlowCardEndDate { get; set; }
+        public DateTime? FlowCardStartDate { get; set; }
+        public DateTime? SubsidyEndDate { get; set; }
+        public DateTime? SubsidyStartDate { get; set; }
+        public int BigExtendCycleDays { get; set; }
+        public decimal BigTotalAmount { get; set; }
+        public int PullNewExtendDays { get; set; }
+        public DateTime? PullNewEndDate { get; set; }
+        public DateTime? PullNewStartDate { get; set; }
+        public int CyclePosDays { get; set; }
+        public ulong CycleIsOther { get; set; }
+        public DateTime? CycleEndDate { get; set; }
+        public DateTime? CycleStartDate { get; set; }
+        public decimal OpenStaPrize2 { get; set; }
+        public decimal OpenStaPrize { get; set; }
+        public decimal OpenStaTrade { get; set; }
+        public int OpenStaDays { get; set; }
+        public DateTime? OpenEndDate { get; set; }
+        public DateTime? OpenStartDate { get; set; }
+        public int ActPosCount { get; set; }
+        public decimal ActPrize { get; set; }
+        public decimal ActFirstDeposit { get; set; }
+        public decimal ActFirst { get; set; }
+        public decimal ActDeposit { get; set; }
+        public DateTime? ActEndDate { get; set; }
+        public DateTime? ActStartDate { get; set; }
+        public decimal MerStaTradeForMonth { get; set; }
+        public int MerStaMonths { get; set; }
+        public decimal MerStaProfit { get; set; }
+        public DateTime? MerStaEndDate { get; set; }
+        public DateTime? MerStaStartDate { get; set; }
+        public decimal ActivePrice { get; set; }
+        public int ActiveCount { get; set; }
+        public decimal Deposit { get; set; }
+        public int OrgId { get; set; }
+    }
+}

+ 22 - 0
PxcModels/KqProducts.cs

@@ -0,0 +1,22 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.PxcModels
+{
+    public partial class KqProducts
+    {
+        public int Id { get; set; }
+        public int Sort { get; set; }
+        public int QueryCount { get; set; }
+        public int Status { get; set; }
+        public int Version { get; set; }
+        public DateTime? CreateDate { get; set; }
+        public DateTime? UpdateDate { get; set; }
+        public string CreateMan { get; set; }
+        public string UpdateMan { get; set; }
+        public string SeoTitle { get; set; }
+        public string SeoKeyword { get; set; }
+        public string SeoDescription { get; set; }
+        public string Name { get; set; }
+    }
+}

+ 59 - 0
PxcModels/MachineApply.cs

@@ -0,0 +1,59 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.PxcModels
+{
+    public partial class MachineApply
+    {
+        public int Id { get; set; }
+        public int Sort { get; set; }
+        public int QueryCount { get; set; }
+        public int Status { get; set; }
+        public int Version { get; set; }
+        public DateTime? CreateDate { get; set; }
+        public DateTime? UpdateDate { get; set; }
+        public string CreateMan { get; set; }
+        public string UpdateMan { get; set; }
+        public string SeoTitle { get; set; }
+        public string SeoKeyword { get; set; }
+        public string SeoDescription { get; set; }
+        public string SendSn { get; set; }
+        public int TopUserId { get; set; }
+        public DateTime? SendDate { get; set; }
+        public int StoreType { get; set; }
+        public int StoreUserId { get; set; }
+        public string Remark { get; set; }
+        public string StoreManagerMobile { get; set; }
+        public string StoreManager { get; set; }
+        public string StoreAddress { get; set; }
+        public string StoreAreas { get; set; }
+        public string StoreName { get; set; }
+        public int StoreId { get; set; }
+        public string SwapSnExpand { get; set; }
+        public string OrderExpand { get; set; }
+        public string SwapActProName { get; set; }
+        public int SwapActProType { get; set; }
+        public int DeliveryType { get; set; }
+        public string ExpressName { get; set; }
+        public string ExpressNo { get; set; }
+        public int ReturnStatus { get; set; }
+        public string ReturnOrderNo { get; set; }
+        public int SendStatus { get; set; }
+        public DateTime? CompleteTime { get; set; }
+        public string AuditRemark { get; set; }
+        public int AuditResult { get; set; }
+        public DateTime? AuditTime { get; set; }
+        public string AuditBy { get; set; }
+        public DateTime? ApplyTime { get; set; }
+        public int ApplyDeviceNum { get; set; }
+        public string ApplyDeviceName { get; set; }
+        public string Mobile { get; set; }
+        public string RealName { get; set; }
+        public string Address { get; set; }
+        public string Areas { get; set; }
+        public string ProductName { get; set; }
+        public int BrandId { get; set; }
+        public int UserId { get; set; }
+        public string ApplyNo { get; set; }
+    }
+}

+ 36 - 0
PxcModels/MachineApplyDetail.cs

@@ -0,0 +1,36 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.PxcModels
+{
+    public partial class MachineApplyDetail
+    {
+        public int Id { get; set; }
+        public int Sort { get; set; }
+        public int QueryCount { get; set; }
+        public int Status { get; set; }
+        public int Version { get; set; }
+        public DateTime? CreateDate { get; set; }
+        public DateTime? UpdateDate { get; set; }
+        public string CreateMan { get; set; }
+        public string UpdateMan { get; set; }
+        public string SeoTitle { get; set; }
+        public string SeoKeyword { get; set; }
+        public string SeoDescription { get; set; }
+        public string Remark { get; set; }
+        public int SourceSnType { get; set; }
+        public string SourceSnNo { get; set; }
+        public string UpSrcProName { get; set; }
+        public int UpSrcProType { get; set; }
+        public string DeviceDesc { get; set; }
+        public string DeviceModel { get; set; }
+        public string DeviceVendor { get; set; }
+        public int DeviceStatus { get; set; }
+        public string DeviceSnNo { get; set; }
+        public int UserId { get; set; }
+        public string ProductName { get; set; }
+        public int ProductType { get; set; }
+        public int ApplyId { get; set; }
+        public string ApplyNo { get; set; }
+    }
+}

+ 47 - 0
PxcModels/MachineChange.cs

@@ -0,0 +1,47 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.PxcModels
+{
+    public partial class MachineChange
+    {
+        public int Id { get; set; }
+        public int Sort { get; set; }
+        public int QueryCount { get; set; }
+        public int Status { get; set; }
+        public int Version { get; set; }
+        public DateTime? CreateDate { get; set; }
+        public DateTime? UpdateDate { get; set; }
+        public string CreateMan { get; set; }
+        public string UpdateMan { get; set; }
+        public string SeoTitle { get; set; }
+        public string SeoKeyword { get; set; }
+        public string SeoDescription { get; set; }
+        public string OutStoreManagerMobile { get; set; }
+        public string OutStoreManager { get; set; }
+        public string OutStoreAddress { get; set; }
+        public string OutStoreAreas { get; set; }
+        public string OutStoreName { get; set; }
+        public int OutStoreId { get; set; }
+        public string OutProductName { get; set; }
+        public int OutProductType { get; set; }
+        public int BackStoreUserId { get; set; }
+        public string Remark { get; set; }
+        public string BackStoreName { get; set; }
+        public int BackStoreId { get; set; }
+        public string ChangeSnExpand { get; set; }
+        public string OrderExpand { get; set; }
+        public DateTime? CompleteTime { get; set; }
+        public string AuditRemark { get; set; }
+        public int AuditResult { get; set; }
+        public DateTime? AuditTime { get; set; }
+        public string AuditBy { get; set; }
+        public DateTime? ChangeTime { get; set; }
+        public int ChangeDeviceNum { get; set; }
+        public string ChangeDeviceName { get; set; }
+        public string BackProductName { get; set; }
+        public int BackProductType { get; set; }
+        public int UserId { get; set; }
+        public string ChangeNo { get; set; }
+    }
+}

+ 34 - 0
PxcModels/MachineChangeDetail.cs

@@ -0,0 +1,34 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.PxcModels
+{
+    public partial class MachineChangeDetail
+    {
+        public int Id { get; set; }
+        public int Sort { get; set; }
+        public int QueryCount { get; set; }
+        public int Status { get; set; }
+        public int Version { get; set; }
+        public DateTime? CreateDate { get; set; }
+        public DateTime? UpdateDate { get; set; }
+        public string CreateMan { get; set; }
+        public string UpdateMan { get; set; }
+        public string SeoTitle { get; set; }
+        public string SeoKeyword { get; set; }
+        public string SeoDescription { get; set; }
+        public int BackSnType { get; set; }
+        public string Remark { get; set; }
+        public int OutSnType { get; set; }
+        public string OutSnNo { get; set; }
+        public string OutProductName { get; set; }
+        public int OutProductType { get; set; }
+        public int BackDeviceStatus { get; set; }
+        public string BackSnNo { get; set; }
+        public int UserId { get; set; }
+        public string BackProductName { get; set; }
+        public int BackProductType { get; set; }
+        public int ChangeId { get; set; }
+        public string ChangeNo { get; set; }
+    }
+}

+ 14 - 0
PxcModels/MachineForQrCode.cs

@@ -0,0 +1,14 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.PxcModels
+{
+    public partial class MachineForQrCode
+    {
+        public string DataId { get; set; }
+        public int MerchantId { get; set; }
+        public string MachineSnNo { get; set; }
+        public string SnNo { get; set; }
+        public DateTime? BindDate { get; set; }
+    }
+}

+ 11 - 0
PxcModels/MachineForSnNo.cs

@@ -0,0 +1,11 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.PxcModels
+{
+    public partial class MachineForSnNo
+    {
+        public string SnNo { get; set; }
+        public int SnId { get; set; }
+    }
+}

+ 36 - 0
PxcModels/MachineRenew.cs

@@ -0,0 +1,36 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.PxcModels
+{
+    public partial class MachineRenew
+    {
+        public int Id { get; set; }
+        public int Sort { get; set; }
+        public int QueryCount { get; set; }
+        public int Status { get; set; }
+        public int Version { get; set; }
+        public DateTime? CreateDate { get; set; }
+        public DateTime? UpdateDate { get; set; }
+        public string CreateMan { get; set; }
+        public string UpdateMan { get; set; }
+        public string SeoTitle { get; set; }
+        public string SeoKeyword { get; set; }
+        public string SeoDescription { get; set; }
+        public DateTime? AuditDate { get; set; }
+        public string AuditDesc { get; set; }
+        public int AuditStatus { get; set; }
+        public string DemandDesc { get; set; }
+        public string DeliverSnNo { get; set; }
+        public int DeliverBrandId { get; set; }
+        public int ReplaceSnType { get; set; }
+        public string ReplaceSnNo { get; set; }
+        public int ReplaceBrandId { get; set; }
+        public int DamagedSnType { get; set; }
+        public string DamagedSnNo { get; set; }
+        public int DamagedBrandId { get; set; }
+        public int UserId { get; set; }
+        public string ApplyDate { get; set; }
+        public string ApplyNo { get; set; }
+    }
+}

+ 31 - 0
PxcModels/MachineReturn.cs

@@ -0,0 +1,31 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.PxcModels
+{
+    public partial class MachineReturn
+    {
+        public int Id { get; set; }
+        public int Sort { get; set; }
+        public int QueryCount { get; set; }
+        public int Status { get; set; }
+        public int Version { get; set; }
+        public DateTime? CreateDate { get; set; }
+        public DateTime? UpdateDate { get; set; }
+        public string CreateMan { get; set; }
+        public string UpdateMan { get; set; }
+        public string SeoTitle { get; set; }
+        public string SeoKeyword { get; set; }
+        public string SeoDescription { get; set; }
+        public string Remark { get; set; }
+        public string Operator { get; set; }
+        public int AuditStatus { get; set; }
+        public string DeviceDesc { get; set; }
+        public int ToStoreId { get; set; }
+        public string DeviceSnNos { get; set; }
+        public int DeviceNum { get; set; }
+        public int BrandId { get; set; }
+        public int UserId { get; set; }
+        public string ApplyNo { get; set; }
+    }
+}

+ 11 - 0
PxcModels/MenuRight.cs

@@ -0,0 +1,11 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.PxcModels
+{
+    public partial class MenuRight
+    {
+        public string MenuId { get; set; }
+        public string Name { get; set; }
+    }
+}

+ 100 - 0
PxcModels/MerchantAddInfo.cs

@@ -0,0 +1,100 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.PxcModels
+{
+    public partial class MerchantAddInfo
+    {
+        public int Id { get; set; }
+        public int Sort { get; set; }
+        public int QueryCount { get; set; }
+        public int Status { get; set; }
+        public int Version { get; set; }
+        public DateTime? CreateDate { get; set; }
+        public DateTime? UpdateDate { get; set; }
+        public string CreateMan { get; set; }
+        public string UpdateMan { get; set; }
+        public string SeoTitle { get; set; }
+        public string SeoKeyword { get; set; }
+        public string SeoDescription { get; set; }
+        public DateTime? CardPeriodEnd { get; set; }
+        public DateTime? CardPeriodBegin { get; set; }
+        public string IdCardNumber { get; set; }
+        public string IdCardName { get; set; }
+        public string IdCardNational { get; set; }
+        public string IdCardCopy { get; set; }
+        public string AuditDetail { get; set; }
+        public string ApplymentState { get; set; }
+        public string SignUrl { get; set; }
+        public string SubMchid { get; set; }
+        public string ApplymentId { get; set; }
+        public string AccountNumber { get; set; }
+        public string BankName { get; set; }
+        public string BankBranchId { get; set; }
+        public string BankAddressCode { get; set; }
+        public string AccountBank { get; set; }
+        public string AccountName { get; set; }
+        public string BankAccountType { get; set; }
+        public string ActivitiesRate { get; set; }
+        public string ActivitiesId { get; set; }
+        public string Qualifications { get; set; }
+        public string QualificationType { get; set; }
+        public string SettlementId { get; set; }
+        public string WeworkPics { get; set; }
+        public string SubCorpId { get; set; }
+        public string WebAppId { get; set; }
+        public string WebAuthorisation { get; set; }
+        public string WebDomain { get; set; }
+        public string AppPics { get; set; }
+        public string AppSubAppid { get; set; }
+        public string AppAppid { get; set; }
+        public string MiniProgramPics { get; set; }
+        public string MiniProgramSubAppid { get; set; }
+        public string MiniProgramAppid { get; set; }
+        public string MpPics { get; set; }
+        public string MpSubAppid { get; set; }
+        public string MpAppid { get; set; }
+        public string BizSubAppid { get; set; }
+        public string IndoorPic { get; set; }
+        public string StoreEntrancePic { get; set; }
+        public string BizStoreAddress { get; set; }
+        public string BizAddressCode { get; set; }
+        public string BizStoreName { get; set; }
+        public string SalesScenesType { get; set; }
+        public string ServicePhone { get; set; }
+        public string MerchantShortname { get; set; }
+        public DateTime? UboInfoIdPeriodEnd { get; set; }
+        public DateTime? UboInfoIdPeriodBegin { get; set; }
+        public string UboInfoIdNumber { get; set; }
+        public string UboInfoName { get; set; }
+        public string UboInfoIdDocCopy { get; set; }
+        public string UboInfoIdCardNational { get; set; }
+        public string UboInfoIdCardCopy { get; set; }
+        public string UboInfoIdType { get; set; }
+        public ulong Owner { get; set; }
+        public string IdDocType { get; set; }
+        public string CertificateLetterCopy { get; set; }
+        public DateTime? OrgPeriodEnd { get; set; }
+        public DateTime? OrgPeriodBegin { get; set; }
+        public string OrganizationCode { get; set; }
+        public string OrganizationCopy { get; set; }
+        public DateTime? PeriodEnd { get; set; }
+        public DateTime? PeriodBegin { get; set; }
+        public string CertLegalPerson { get; set; }
+        public string CompanyAddress { get; set; }
+        public string CertMerchantName { get; set; }
+        public string CertNumber { get; set; }
+        public string CertType { get; set; }
+        public string CertCopy { get; set; }
+        public string LegalPerson { get; set; }
+        public string LicenseNumber { get; set; }
+        public string LicenseCopy { get; set; }
+        public string SubjectType { get; set; }
+        public string ContactEmail { get; set; }
+        public string MobilePhone { get; set; }
+        public string OpenId { get; set; }
+        public string ContactIdNumber { get; set; }
+        public string ContactName { get; set; }
+        public string BusinessCode { get; set; }
+    }
+}

+ 31 - 0
PxcModels/MerchantAdmin.cs

@@ -0,0 +1,31 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.PxcModels
+{
+    public partial class MerchantAdmin
+    {
+        public int Id { get; set; }
+        public int Sort { get; set; }
+        public int QueryCount { get; set; }
+        public int Status { get; set; }
+        public int Version { get; set; }
+        public DateTime? CreateDate { get; set; }
+        public DateTime? UpdateDate { get; set; }
+        public string CreateMan { get; set; }
+        public string UpdateMan { get; set; }
+        public string SeoTitle { get; set; }
+        public string SeoKeyword { get; set; }
+        public string SeoDescription { get; set; }
+        public int MerchantId { get; set; }
+        public string Note { get; set; }
+        public string Qq { get; set; }
+        public string Email { get; set; }
+        public string Mobile { get; set; }
+        public DateTime? LastLoginDate { get; set; }
+        public string RightInfo { get; set; }
+        public string RealName { get; set; }
+        public string Password { get; set; }
+        public string AdminName { get; set; }
+    }
+}

+ 35 - 0
PxcModels/MerchantAuth.cs

@@ -0,0 +1,35 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.PxcModels
+{
+    public partial class MerchantAuth
+    {
+        public int Id { get; set; }
+        public int Sort { get; set; }
+        public int QueryCount { get; set; }
+        public int Status { get; set; }
+        public int Version { get; set; }
+        public DateTime? CreateDate { get; set; }
+        public DateTime? UpdateDate { get; set; }
+        public string CreateMan { get; set; }
+        public string UpdateMan { get; set; }
+        public string SeoTitle { get; set; }
+        public string SeoKeyword { get; set; }
+        public string SeoDescription { get; set; }
+        public int MerchantId { get; set; }
+        public int AuthType { get; set; }
+        public string ReturnMsg { get; set; }
+        public string ReturnCode { get; set; }
+        public string RespData { get; set; }
+        public string ReqData { get; set; }
+        public string BankMobile { get; set; }
+        public string BankName { get; set; }
+        public string BankCardAccount { get; set; }
+        public string IdCardNo { get; set; }
+        public string RealName { get; set; }
+        public string MerNo { get; set; }
+        public string ChannelName { get; set; }
+        public string ChannelCode { get; set; }
+    }
+}

+ 24 - 0
PxcModels/MerchantClass.cs

@@ -0,0 +1,24 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.PxcModels
+{
+    public partial class MerchantClass
+    {
+        public int Id { get; set; }
+        public int Sort { get; set; }
+        public int QueryCount { get; set; }
+        public int Status { get; set; }
+        public int Version { get; set; }
+        public DateTime? CreateDate { get; set; }
+        public DateTime? UpdateDate { get; set; }
+        public string CreateMan { get; set; }
+        public string UpdateMan { get; set; }
+        public string SeoTitle { get; set; }
+        public string SeoKeyword { get; set; }
+        public string SeoDescription { get; set; }
+        public int MerchantId { get; set; }
+        public int ParentId { get; set; }
+        public string ColName { get; set; }
+    }
+}

+ 29 - 0
PxcModels/MerchantCol.cs

@@ -0,0 +1,29 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.PxcModels
+{
+    public partial class MerchantCol
+    {
+        public int Id { get; set; }
+        public int Sort { get; set; }
+        public int QueryCount { get; set; }
+        public int Status { get; set; }
+        public int Version { get; set; }
+        public DateTime? CreateDate { get; set; }
+        public DateTime? UpdateDate { get; set; }
+        public string CreateMan { get; set; }
+        public string UpdateMan { get; set; }
+        public string SeoTitle { get; set; }
+        public string SeoKeyword { get; set; }
+        public string SeoDescription { get; set; }
+        public int MerchantId { get; set; }
+        public int ParentId { get; set; }
+        public string ColEnName { get; set; }
+        public ulong Recommend { get; set; }
+        public string ColDetail { get; set; }
+        public string ColPicPath { get; set; }
+        public string ColName { get; set; }
+        public string ColId { get; set; }
+    }
+}

+ 27 - 0
PxcModels/MerchantComment.cs

@@ -0,0 +1,27 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.PxcModels
+{
+    public partial class MerchantComment
+    {
+        public int Id { get; set; }
+        public int Sort { get; set; }
+        public int QueryCount { get; set; }
+        public int Status { get; set; }
+        public int Version { get; set; }
+        public DateTime? CreateDate { get; set; }
+        public DateTime? UpdateDate { get; set; }
+        public string CreateMan { get; set; }
+        public string UpdateMan { get; set; }
+        public string SeoTitle { get; set; }
+        public string SeoKeyword { get; set; }
+        public string SeoDescription { get; set; }
+        public int MerchantId { get; set; }
+        public int StarNum3 { get; set; }
+        public int StarNum2 { get; set; }
+        public int StarNum1 { get; set; }
+        public int OrderId { get; set; }
+        public int UserId { get; set; }
+    }
+}

+ 11 - 0
PxcModels/MerchantForCode.cs

@@ -0,0 +1,11 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.PxcModels
+{
+    public partial class MerchantForCode
+    {
+        public string Code { get; set; }
+        public int MerchantId { get; set; }
+    }
+}

+ 11 - 0
PxcModels/MerchantForMobile.cs

@@ -0,0 +1,11 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.PxcModels
+{
+    public partial class MerchantForMobile
+    {
+        public string Mobile { get; set; }
+        public int MerchantId { get; set; }
+    }
+}

+ 11 - 0
PxcModels/MerchantForName.cs

@@ -0,0 +1,11 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.PxcModels
+{
+    public partial class MerchantForName
+    {
+        public string Name { get; set; }
+        public int MerchantId { get; set; }
+    }
+}

+ 38 - 0
PxcModels/MerchantInfo.cs

@@ -0,0 +1,38 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.PxcModels
+{
+    public partial class MerchantInfo
+    {
+        public int Id { get; set; }
+        public int Sort { get; set; }
+        public int QueryCount { get; set; }
+        public int Status { get; set; }
+        public int Version { get; set; }
+        public DateTime? CreateDate { get; set; }
+        public DateTime? UpdateDate { get; set; }
+        public string CreateMan { get; set; }
+        public string UpdateMan { get; set; }
+        public string SeoTitle { get; set; }
+        public string SeoKeyword { get; set; }
+        public string SeoDescription { get; set; }
+        public string ParentUserNav { get; set; }
+        public int UserId { get; set; }
+        public DateTime? LastConsumeDate { get; set; }
+        public int TotalConsumeCount { get; set; }
+        public DateTime? LastAddConsumerDate { get; set; }
+        public decimal TotalActual { get; set; }
+        public string Logo { get; set; }
+        public string LoginPwd { get; set; }
+        public int TotalUser { get; set; }
+        public int TotalCustomer { get; set; }
+        public int TotalOrder { get; set; }
+        public decimal TotalAmount { get; set; }
+        public ulong IsAuth { get; set; }
+        public string Address { get; set; }
+        public string Areas { get; set; }
+        public string Mobile { get; set; }
+        public string Name { get; set; }
+    }
+}

+ 27 - 0
PxcModels/MerchantParamSet.cs

@@ -0,0 +1,27 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.PxcModels
+{
+    public partial class MerchantParamSet
+    {
+        public int Id { get; set; }
+        public int Sort { get; set; }
+        public int QueryCount { get; set; }
+        public int Status { get; set; }
+        public int Version { get; set; }
+        public DateTime? CreateDate { get; set; }
+        public DateTime? UpdateDate { get; set; }
+        public string CreateMan { get; set; }
+        public string UpdateMan { get; set; }
+        public string SeoTitle { get; set; }
+        public string SeoKeyword { get; set; }
+        public string SeoDescription { get; set; }
+        public int DiviPersons { get; set; }
+        public decimal DiviPercent { get; set; }
+        public int ProfitDays { get; set; }
+        public decimal GetPercent { get; set; }
+        public decimal MinPayMoney { get; set; }
+        public int IsAll { get; set; }
+    }
+}

+ 25 - 0
PxcModels/MerchantQrCode.cs

@@ -0,0 +1,25 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.PxcModels
+{
+    public partial class MerchantQrCode
+    {
+        public int Id { get; set; }
+        public int Sort { get; set; }
+        public int QueryCount { get; set; }
+        public int Status { get; set; }
+        public int Version { get; set; }
+        public DateTime? CreateDate { get; set; }
+        public DateTime? UpdateDate { get; set; }
+        public string CreateMan { get; set; }
+        public string UpdateMan { get; set; }
+        public string SeoTitle { get; set; }
+        public string SeoKeyword { get; set; }
+        public string SeoDescription { get; set; }
+        public string SnNo { get; set; }
+        public int MachineId { get; set; }
+        public string QrCodeContent { get; set; }
+        public int MerchantId { get; set; }
+    }
+}

+ 39 - 0
PxcModels/MerchantRebateDetail.cs

@@ -0,0 +1,39 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.PxcModels
+{
+    public partial class MerchantRebateDetail
+    {
+        public int Id { get; set; }
+        public int Sort { get; set; }
+        public int QueryCount { get; set; }
+        public int Status { get; set; }
+        public int Version { get; set; }
+        public DateTime? CreateDate { get; set; }
+        public DateTime? UpdateDate { get; set; }
+        public string CreateMan { get; set; }
+        public string UpdateMan { get; set; }
+        public string SeoTitle { get; set; }
+        public string SeoKeyword { get; set; }
+        public string SeoDescription { get; set; }
+        public string Remark { get; set; }
+        public string RewardDesc { get; set; }
+        public int SyncStatus { get; set; }
+        public decimal DebitRewardAmount { get; set; }
+        public decimal CreditRewardAmount { get; set; }
+        public decimal DebitTradeAmt { get; set; }
+        public decimal CreditTradeAmt { get; set; }
+        public string MmpUserName { get; set; }
+        public string MmpUserNo { get; set; }
+        public int MerchantId { get; set; }
+        public DateTime? MerStandardDate { get; set; }
+        public DateTime? MerRegTime { get; set; }
+        public string SnNo { get; set; }
+        public string MerNo { get; set; }
+        public string TradeDate { get; set; }
+        public string TradeMonth { get; set; }
+        public string ProductName { get; set; }
+        public int BrandId { get; set; }
+    }
+}

+ 41 - 0
PxcModels/Merchants.cs

@@ -0,0 +1,41 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.PxcModels
+{
+    public partial class Merchants
+    {
+        public int Id { get; set; }
+        public int Sort { get; set; }
+        public int QueryCount { get; set; }
+        public int Status { get; set; }
+        public int Version { get; set; }
+        public DateTime? CreateDate { get; set; }
+        public DateTime? UpdateDate { get; set; }
+        public string CreateMan { get; set; }
+        public string UpdateMan { get; set; }
+        public string SeoTitle { get; set; }
+        public string SeoKeyword { get; set; }
+        public string SeoDescription { get; set; }
+        public string Province { get; set; }
+        public string Title2 { get; set; }
+        public string Title { get; set; }
+        public ulong IsRecommend { get; set; }
+        public string PayPwd { get; set; }
+        public string LoginPwd { get; set; }
+        public string UserName { get; set; }
+        public decimal StarNum3 { get; set; }
+        public decimal StarNum2 { get; set; }
+        public string Address { get; set; }
+        public int CommentCount { get; set; }
+        public ulong IsAuth { get; set; }
+        public int FollowCount { get; set; }
+        public decimal StarNum1 { get; set; }
+        public string BusinessLicense { get; set; }
+        public string Phone { get; set; }
+        public string Principal { get; set; }
+        public string Areas { get; set; }
+        public string Logo { get; set; }
+        public string Name { get; set; }
+    }
+}

+ 13 - 0
PxcModels/MobileCodeCheck.cs

@@ -0,0 +1,13 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.PxcModels
+{
+    public partial class MobileCodeCheck
+    {
+        public string Mobile { get; set; }
+        public DateTime? CheckCodeTime { get; set; }
+        public string CheckNo { get; set; }
+        public string CheckCode { get; set; }
+    }
+}

+ 28 - 0
PxcModels/MsgBlackList.cs

@@ -0,0 +1,28 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.PxcModels
+{
+    public partial class MsgBlackList
+    {
+        public int Id { get; set; }
+        public int Sort { get; set; }
+        public int QueryCount { get; set; }
+        public int Status { get; set; }
+        public int Version { get; set; }
+        public DateTime? CreateDate { get; set; }
+        public DateTime? UpdateDate { get; set; }
+        public string CreateMan { get; set; }
+        public string UpdateMan { get; set; }
+        public string SeoTitle { get; set; }
+        public string SeoKeyword { get; set; }
+        public string SeoDescription { get; set; }
+        public string Extend { get; set; }
+        public string Remark { get; set; }
+        public string Reason { get; set; }
+        public string Ip { get; set; }
+        public string Mobile { get; set; }
+        public int TemplateId { get; set; }
+        public string ColId { get; set; }
+    }
+}

+ 34 - 0
PxcModels/MsgPersonal.cs

@@ -0,0 +1,34 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.PxcModels
+{
+    public partial class MsgPersonal
+    {
+        public int Id { get; set; }
+        public int Sort { get; set; }
+        public int QueryCount { get; set; }
+        public int Status { get; set; }
+        public int Version { get; set; }
+        public DateTime? CreateDate { get; set; }
+        public DateTime? UpdateDate { get; set; }
+        public string CreateMan { get; set; }
+        public string UpdateMan { get; set; }
+        public string SeoTitle { get; set; }
+        public string SeoKeyword { get; set; }
+        public string SeoDescription { get; set; }
+        public string Remark { get; set; }
+        public string ExtendColumn { get; set; }
+        public string PushParam { get; set; }
+        public ulong ReadFlag { get; set; }
+        public int PushFlag { get; set; }
+        public string Summary { get; set; }
+        public string Url { get; set; }
+        public string Content { get; set; }
+        public string Title { get; set; }
+        public string BgPic { get; set; }
+        public int MsgType { get; set; }
+        public int UserId { get; set; }
+        public int TemplateId { get; set; }
+    }
+}

+ 37 - 0
PxcModels/MsgPlacard.cs

@@ -0,0 +1,37 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.PxcModels
+{
+    public partial class MsgPlacard
+    {
+        public int Id { get; set; }
+        public int Sort { get; set; }
+        public int QueryCount { get; set; }
+        public int Status { get; set; }
+        public int Version { get; set; }
+        public DateTime? CreateDate { get; set; }
+        public DateTime? UpdateDate { get; set; }
+        public string CreateMan { get; set; }
+        public string UpdateMan { get; set; }
+        public string SeoTitle { get; set; }
+        public string SeoKeyword { get; set; }
+        public string SeoDescription { get; set; }
+        public string Url { get; set; }
+        public string Remark { get; set; }
+        public string ExtendColumn { get; set; }
+        public DateTime? PushTime { get; set; }
+        public string PushParam { get; set; }
+        public int PushFlag { get; set; }
+        public int PushType { get; set; }
+        public string BgPic { get; set; }
+        public DateTime? EffectEndDate { get; set; }
+        public DateTime? EffectStartDate { get; set; }
+        public int ShowType { get; set; }
+        public ulong IsTop { get; set; }
+        public string Content { get; set; }
+        public string Summary { get; set; }
+        public string Title { get; set; }
+        public int MsgType { get; set; }
+    }
+}

+ 25 - 0
PxcModels/MsgPlacardRead.cs

@@ -0,0 +1,25 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.PxcModels
+{
+    public partial class MsgPlacardRead
+    {
+        public int Id { get; set; }
+        public int Sort { get; set; }
+        public int QueryCount { get; set; }
+        public int Status { get; set; }
+        public int Version { get; set; }
+        public DateTime? CreateDate { get; set; }
+        public DateTime? UpdateDate { get; set; }
+        public string CreateMan { get; set; }
+        public string UpdateMan { get; set; }
+        public string SeoTitle { get; set; }
+        public string SeoKeyword { get; set; }
+        public string SeoDescription { get; set; }
+        public string Remark { get; set; }
+        public ulong ReadFlag { get; set; }
+        public string UserId { get; set; }
+        public int PlacardId { get; set; }
+    }
+}

+ 31 - 0
PxcModels/MsgPush.cs

@@ -0,0 +1,31 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.PxcModels
+{
+    public partial class MsgPush
+    {
+        public int Id { get; set; }
+        public int Sort { get; set; }
+        public int QueryCount { get; set; }
+        public int Status { get; set; }
+        public int Version { get; set; }
+        public DateTime? CreateDate { get; set; }
+        public DateTime? UpdateDate { get; set; }
+        public string CreateMan { get; set; }
+        public string UpdateMan { get; set; }
+        public string SeoTitle { get; set; }
+        public string SeoKeyword { get; set; }
+        public string SeoDescription { get; set; }
+        public string Mobiles { get; set; }
+        public string MessageId { get; set; }
+        public DateTime? AutoPushDate { get; set; }
+        public int TemplateId { get; set; }
+        public string Devices { get; set; }
+        public ulong IsSilent { get; set; }
+        public string Details { get; set; }
+        public string Title { get; set; }
+        public string Url { get; set; }
+        public string ClientType { get; set; }
+    }
+}

+ 38 - 0
PxcModels/MsgSms.cs

@@ -0,0 +1,38 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.PxcModels
+{
+    public partial class MsgSms
+    {
+        public int Id { get; set; }
+        public int Sort { get; set; }
+        public int QueryCount { get; set; }
+        public int Status { get; set; }
+        public int Version { get; set; }
+        public DateTime? CreateDate { get; set; }
+        public DateTime? UpdateDate { get; set; }
+        public string CreateMan { get; set; }
+        public string UpdateMan { get; set; }
+        public string SeoTitle { get; set; }
+        public string SeoKeyword { get; set; }
+        public string SeoDescription { get; set; }
+        public int SendStatus { get; set; }
+        public string Kind { get; set; }
+        public int Code { get; set; }
+        public int VerifyStatus { get; set; }
+        public int ErrorNum { get; set; }
+        public string VerifyCode { get; set; }
+        public string RespCode { get; set; }
+        public string RespContent { get; set; }
+        public DateTime? SendTime { get; set; }
+        public string SignName { get; set; }
+        public string Content { get; set; }
+        public int SmsType { get; set; }
+        public int SendType { get; set; }
+        public string Ip { get; set; }
+        public string Mobile { get; set; }
+        public int TemplateId { get; set; }
+        public string ColId { get; set; }
+    }
+}

+ 27 - 0
PxcModels/MsgSmsSet.cs

@@ -0,0 +1,27 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.PxcModels
+{
+    public partial class MsgSmsSet
+    {
+        public int Id { get; set; }
+        public int Sort { get; set; }
+        public int QueryCount { get; set; }
+        public int Status { get; set; }
+        public int Version { get; set; }
+        public DateTime? CreateDate { get; set; }
+        public DateTime? UpdateDate { get; set; }
+        public string CreateMan { get; set; }
+        public string UpdateMan { get; set; }
+        public string SeoTitle { get; set; }
+        public string SeoKeyword { get; set; }
+        public string SeoDescription { get; set; }
+        public string Params { get; set; }
+        public string ReqUrl { get; set; }
+        public int SmsType { get; set; }
+        public string AuthPwd { get; set; }
+        public string UserName { get; set; }
+        public string Name { get; set; }
+    }
+}

+ 29 - 0
PxcModels/MsgTemplate.cs

@@ -0,0 +1,29 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.PxcModels
+{
+    public partial class MsgTemplate
+    {
+        public int Id { get; set; }
+        public int Sort { get; set; }
+        public int QueryCount { get; set; }
+        public int Status { get; set; }
+        public int Version { get; set; }
+        public DateTime? CreateDate { get; set; }
+        public DateTime? UpdateDate { get; set; }
+        public string CreateMan { get; set; }
+        public string UpdateMan { get; set; }
+        public string SeoTitle { get; set; }
+        public string SeoKeyword { get; set; }
+        public string SeoDescription { get; set; }
+        public string SignName { get; set; }
+        public string Extend { get; set; }
+        public string Remark { get; set; }
+        public int MsgType { get; set; }
+        public int TemplateType { get; set; }
+        public string ColId { get; set; }
+        public string Content { get; set; }
+        public string Title { get; set; }
+    }
+}

+ 11 - 0
PxcModels/OpenBankCityTable.cs

@@ -0,0 +1,11 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.PxcModels
+{
+    public partial class OpenBankCityTable
+    {
+        public string CityName { get; set; }
+        public string Code { get; set; }
+    }
+}

+ 11 - 0
PxcModels/OpenBankTable.cs

@@ -0,0 +1,11 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.PxcModels
+{
+    public partial class OpenBankTable
+    {
+        public string BankName { get; set; }
+        public string BankCode { get; set; }
+    }
+}

+ 36 - 0
PxcModels/OpenReward.cs

@@ -0,0 +1,36 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.PxcModels
+{
+    public partial class OpenReward
+    {
+        public int Id { get; set; }
+        public int Sort { get; set; }
+        public int QueryCount { get; set; }
+        public int Status { get; set; }
+        public int Version { get; set; }
+        public DateTime? CreateDate { get; set; }
+        public DateTime? UpdateDate { get; set; }
+        public string CreateMan { get; set; }
+        public string UpdateMan { get; set; }
+        public string SeoTitle { get; set; }
+        public string SeoKeyword { get; set; }
+        public string SeoDescription { get; set; }
+        public int TopUserId { get; set; }
+        public int CheckStatus { get; set; }
+        public int RewardMerCount { get; set; }
+        public string Remark { get; set; }
+        public string RewardDesc { get; set; }
+        public string OpenRewardNo { get; set; }
+        public decimal DebitRewardAmount { get; set; }
+        public decimal CreditRewardAmount { get; set; }
+        public decimal DebitTradeAmt { get; set; }
+        public decimal CreditTradeAmt { get; set; }
+        public int RewardType { get; set; }
+        public int BrandId { get; set; }
+        public int UserId { get; set; }
+        public DateTime? TradeDate { get; set; }
+        public string TradeMonth { get; set; }
+    }
+}

+ 47 - 0
PxcModels/OpenRewardDetail.cs

@@ -0,0 +1,47 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.PxcModels
+{
+    public partial class OpenRewardDetail
+    {
+        public int Id { get; set; }
+        public int Sort { get; set; }
+        public int QueryCount { get; set; }
+        public int Status { get; set; }
+        public int Version { get; set; }
+        public DateTime? CreateDate { get; set; }
+        public DateTime? UpdateDate { get; set; }
+        public string CreateMan { get; set; }
+        public string UpdateMan { get; set; }
+        public string SeoTitle { get; set; }
+        public string SeoKeyword { get; set; }
+        public string SeoDescription { get; set; }
+        public int TopUserId { get; set; }
+        public int CheckStatus { get; set; }
+        public string OpenDetailRec { get; set; }
+        public string Remark { get; set; }
+        public string RewardDesc { get; set; }
+        public string OpenRewardNo { get; set; }
+        public decimal DebitRewardAmount { get; set; }
+        public decimal CreditRewardAmount { get; set; }
+        public decimal DebitTradeAmt { get; set; }
+        public decimal CreditTradeAmt { get; set; }
+        public string RewardTips { get; set; }
+        public int RewardType { get; set; }
+        public int MerBuddyType { get; set; }
+        public int SnStoreId { get; set; }
+        public DateTime? StandardDate { get; set; }
+        public int SnApplyUserId { get; set; }
+        public int SnType { get; set; }
+        public string MerNo { get; set; }
+        public string SnNo { get; set; }
+        public int DirectUserId { get; set; }
+        public int MerchantId { get; set; }
+        public string ProductName { get; set; }
+        public int BrandId { get; set; }
+        public int UserId { get; set; }
+        public DateTime? TradeDate { get; set; }
+        public string TradeMonth { get; set; }
+    }
+}

+ 50 - 0
PxcModels/OpenSnSnapshot.cs

@@ -0,0 +1,50 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.PxcModels
+{
+    public partial class OpenSnSnapshot
+    {
+        public int Id { get; set; }
+        public int Sort { get; set; }
+        public int QueryCount { get; set; }
+        public int Status { get; set; }
+        public int Version { get; set; }
+        public DateTime? CreateDate { get; set; }
+        public DateTime? UpdateDate { get; set; }
+        public string CreateMan { get; set; }
+        public string UpdateMan { get; set; }
+        public string SeoTitle { get; set; }
+        public string SeoKeyword { get; set; }
+        public string SeoDescription { get; set; }
+        public int TopUserId { get; set; }
+        public string UserNav { get; set; }
+        public string FailReason { get; set; }
+        public decimal RewardAmount { get; set; }
+        public int StdBuySnNum { get; set; }
+        public int BuySnNum { get; set; }
+        public string OpenDetailRec { get; set; }
+        public string Remark { get; set; }
+        public string RewardDesc { get; set; }
+        public string OpenRewardNo { get; set; }
+        public decimal DebitRewardAmount { get; set; }
+        public decimal CreditRewardAmount { get; set; }
+        public decimal DebitTradeAmt { get; set; }
+        public decimal CreditTradeAmt { get; set; }
+        public string RewardTips { get; set; }
+        public int RewardType { get; set; }
+        public int MerUserType { get; set; }
+        public int SnStoreId { get; set; }
+        public DateTime? StandardDate { get; set; }
+        public int SnApplyUserId { get; set; }
+        public int SnType { get; set; }
+        public string MerNo { get; set; }
+        public string SnNo { get; set; }
+        public int DirectUserId { get; set; }
+        public int MerchantId { get; set; }
+        public int BrandId { get; set; }
+        public int UserId { get; set; }
+        public DateTime? TradeDate { get; set; }
+        public string TradeMonth { get; set; }
+    }
+}

+ 26 - 0
PxcModels/OperateLog.cs

@@ -0,0 +1,26 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.PxcModels
+{
+    public partial class OperateLog
+    {
+        public int Id { get; set; }
+        public int Sort { get; set; }
+        public int QueryCount { get; set; }
+        public int Status { get; set; }
+        public int Version { get; set; }
+        public DateTime? CreateDate { get; set; }
+        public DateTime? UpdateDate { get; set; }
+        public string CreateMan { get; set; }
+        public string UpdateMan { get; set; }
+        public string SeoTitle { get; set; }
+        public string SeoKeyword { get; set; }
+        public string SeoDescription { get; set; }
+        public string OpMode { get; set; }
+        public string AfterOperate { get; set; }
+        public string BeforeOperate { get; set; }
+        public string OperateMan { get; set; }
+        public string TableEnName { get; set; }
+    }
+}

+ 23 - 0
PxcModels/OperateRightList.cs

@@ -0,0 +1,23 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.PxcModels
+{
+    public partial class OperateRightList
+    {
+        public int Id { get; set; }
+        public int Sort { get; set; }
+        public int QueryCount { get; set; }
+        public int Status { get; set; }
+        public int Version { get; set; }
+        public DateTime? CreateDate { get; set; }
+        public DateTime? UpdateDate { get; set; }
+        public string CreateMan { get; set; }
+        public string UpdateMan { get; set; }
+        public string SeoTitle { get; set; }
+        public string SeoKeyword { get; set; }
+        public string SeoDescription { get; set; }
+        public string EnName { get; set; }
+        public string Name { get; set; }
+    }
+}

+ 13 - 0
PxcModels/OrderForNo.cs

@@ -0,0 +1,13 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.PxcModels
+{
+    public partial class OrderForNo
+    {
+        public string OrderNo { get; set; }
+        public string RspMsg { get; set; }
+        public int RspCode { get; set; }
+        public string OrderIds { get; set; }
+    }
+}

+ 37 - 0
PxcModels/OrderProduct.cs

@@ -0,0 +1,37 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.PxcModels
+{
+    public partial class OrderProduct
+    {
+        public int Id { get; set; }
+        public int Sort { get; set; }
+        public int QueryCount { get; set; }
+        public int Status { get; set; }
+        public int Version { get; set; }
+        public DateTime? CreateDate { get; set; }
+        public DateTime? UpdateDate { get; set; }
+        public string CreateMan { get; set; }
+        public string UpdateMan { get; set; }
+        public string SeoTitle { get; set; }
+        public string SeoKeyword { get; set; }
+        public string SeoDescription { get; set; }
+        public string SnNos { get; set; }
+        public int StoreId { get; set; }
+        public string ProductCode { get; set; }
+        public decimal ProductIntegral { get; set; }
+        public string NormDetail { get; set; }
+        public string NormId { get; set; }
+        public string ProductPhoto { get; set; }
+        public decimal TotalIntegral { get; set; }
+        public int MerchantId { get; set; }
+        public decimal TotalPrice { get; set; }
+        public int ProductCount { get; set; }
+        public decimal ProductPrice { get; set; }
+        public string ProductName { get; set; }
+        public int ProductId { get; set; }
+        public int UserId { get; set; }
+        public int OrderId { get; set; }
+    }
+}

+ 33 - 0
PxcModels/OrderRefund.cs

@@ -0,0 +1,33 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.PxcModels
+{
+    public partial class OrderRefund
+    {
+        public int Id { get; set; }
+        public int Sort { get; set; }
+        public int QueryCount { get; set; }
+        public int Status { get; set; }
+        public int Version { get; set; }
+        public DateTime? CreateDate { get; set; }
+        public DateTime? UpdateDate { get; set; }
+        public string CreateMan { get; set; }
+        public string UpdateMan { get; set; }
+        public string SeoTitle { get; set; }
+        public string SeoKeyword { get; set; }
+        public string SeoDescription { get; set; }
+        public string ErpCode { get; set; }
+        public int ErpCompany { get; set; }
+        public string Photos { get; set; }
+        public int GoodStatus { get; set; }
+        public int MerchantId { get; set; }
+        public string Mobile { get; set; }
+        public string Contents { get; set; }
+        public decimal Amount { get; set; }
+        public int Reason { get; set; }
+        public string ProductId { get; set; }
+        public int OrderId { get; set; }
+        public int UserId { get; set; }
+    }
+}

+ 22 - 0
PxcModels/OrderRefundReason.cs

@@ -0,0 +1,22 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.PxcModels
+{
+    public partial class OrderRefundReason
+    {
+        public int Id { get; set; }
+        public int Sort { get; set; }
+        public int QueryCount { get; set; }
+        public int Status { get; set; }
+        public int Version { get; set; }
+        public DateTime? CreateDate { get; set; }
+        public DateTime? UpdateDate { get; set; }
+        public string CreateMan { get; set; }
+        public string UpdateMan { get; set; }
+        public string SeoTitle { get; set; }
+        public string SeoKeyword { get; set; }
+        public string SeoDescription { get; set; }
+        public string Name { get; set; }
+    }
+}

+ 67 - 0
PxcModels/Orders.cs

@@ -0,0 +1,67 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.PxcModels
+{
+    public partial class Orders
+    {
+        public int Id { get; set; }
+        public int Sort { get; set; }
+        public int QueryCount { get; set; }
+        public int Status { get; set; }
+        public int Version { get; set; }
+        public DateTime? CreateDate { get; set; }
+        public DateTime? UpdateDate { get; set; }
+        public string CreateMan { get; set; }
+        public string UpdateMan { get; set; }
+        public string SeoTitle { get; set; }
+        public string SeoKeyword { get; set; }
+        public string SeoDescription { get; set; }
+        public string RefundReason { get; set; }
+        public decimal ChannelAmount { get; set; }
+        public string StoreContactMobile { get; set; }
+        public string SnNos { get; set; }
+        public string Remark { get; set; }
+        public int BuyCount { get; set; }
+        public int PayStatus { get; set; }
+        public int TopUserId { get; set; }
+        public int StoreUserId { get; set; }
+        public int StoreType { get; set; }
+        public string StoreContact { get; set; }
+        public int ProductId { get; set; }
+        public int SendStatus { get; set; }
+        public string ReturnCode { get; set; }
+        public string ReturnMsg { get; set; }
+        public string ResData { get; set; }
+        public string ReqData { get; set; }
+        public int DeliveryType { get; set; }
+        public decimal RefundFeeAmount { get; set; }
+        public decimal RefundActAmount { get; set; }
+        public int RefundStatus { get; set; }
+        public int StoreId { get; set; }
+        public decimal ActualPay { get; set; }
+        public DateTime? AutoConfirmDate { get; set; }
+        public decimal CouponMoney { get; set; }
+        public string TradeNo { get; set; }
+        public decimal Integral { get; set; }
+        public decimal ErpPrice { get; set; }
+        public int MerchantId { get; set; }
+        public int PayMode { get; set; }
+        public DateTime? ConfirmDate { get; set; }
+        public DateTime? SendDate { get; set; }
+        public DateTime? PayDate { get; set; }
+        public string ErpCode { get; set; }
+        public string ErpName { get; set; }
+        public int CouponId { get; set; }
+        public string UserMessage { get; set; }
+        public int ErpMode { get; set; }
+        public string PostalCode { get; set; }
+        public string Address { get; set; }
+        public string Areas { get; set; }
+        public decimal TotalPrice { get; set; }
+        public string Mobile { get; set; }
+        public string RealName { get; set; }
+        public string OrderNo { get; set; }
+        public int UserId { get; set; }
+    }
+}

+ 24 - 0
PxcModels/PageInfo.cs

@@ -0,0 +1,24 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.PxcModels
+{
+    public partial class PageInfo
+    {
+        public int Id { get; set; }
+        public int Sort { get; set; }
+        public int QueryCount { get; set; }
+        public int Status { get; set; }
+        public int Version { get; set; }
+        public DateTime? CreateDate { get; set; }
+        public DateTime? UpdateDate { get; set; }
+        public string CreateMan { get; set; }
+        public string UpdateMan { get; set; }
+        public string SeoTitle { get; set; }
+        public string SeoKeyword { get; set; }
+        public string SeoDescription { get; set; }
+        public string Contents { get; set; }
+        public string ColId { get; set; }
+        public string Title { get; set; }
+    }
+}

+ 40 - 0
PxcModels/PageUpdateInfo.cs

@@ -0,0 +1,40 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.PxcModels
+{
+    public partial class PageUpdateInfo
+    {
+        public int Id { get; set; }
+        public int Sort { get; set; }
+        public int QueryCount { get; set; }
+        public int Status { get; set; }
+        public int Version { get; set; }
+        public DateTime? CreateDate { get; set; }
+        public DateTime? UpdateDate { get; set; }
+        public string CreateMan { get; set; }
+        public string UpdateMan { get; set; }
+        public string SeoTitle { get; set; }
+        public string SeoKeyword { get; set; }
+        public string SeoDescription { get; set; }
+        public ulong MustUpdate { get; set; }
+        public string GotoPages { get; set; }
+        public string RightAction2 { get; set; }
+        public string RightAction1 { get; set; }
+        public string LeftAction2 { get; set; }
+        public string LeftAction1 { get; set; }
+        public string RightBtn2 { get; set; }
+        public string RightBtn1 { get; set; }
+        public string LeftBtn2 { get; set; }
+        public string LeftBtn1 { get; set; }
+        public ulong IsSkid { get; set; }
+        public ulong IsScrollBar { get; set; }
+        public string Title { get; set; }
+        public ulong ShowTitle { get; set; }
+        public string StatusBarStyle { get; set; }
+        public string TextColor { get; set; }
+        public string BgColor { get; set; }
+        public string ModulePath { get; set; }
+        public int ModuleVersion { get; set; }
+    }
+}

+ 50 - 0
PxcModels/PosMachines.cs

@@ -0,0 +1,50 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.PxcModels
+{
+    public partial class PosMachines
+    {
+        public int Id { get; set; }
+        public int Sort { get; set; }
+        public int QueryCount { get; set; }
+        public int Status { get; set; }
+        public int Version { get; set; }
+        public DateTime? CreateDate { get; set; }
+        public DateTime? UpdateDate { get; set; }
+        public string CreateMan { get; set; }
+        public string UpdateMan { get; set; }
+        public string SeoTitle { get; set; }
+        public string SeoKeyword { get; set; }
+        public string SeoDescription { get; set; }
+        public int SourceStoreId { get; set; }
+        public int OrderId { get; set; }
+        public DateTime? RecycEndDate { get; set; }
+        public string DeviceKind { get; set; }
+        public string DeviceName { get; set; }
+        public string BatchNo { get; set; }
+        public string DeviceType { get; set; }
+        public int PosSnType { get; set; }
+        public int BindMerchantId { get; set; }
+        public string ActivityList { get; set; }
+        public decimal ScanQrTrade { get; set; }
+        public decimal DebitCardTrade { get; set; }
+        public int StoreId { get; set; }
+        public int RecycBackCount { get; set; }
+        public string PrizeParams { get; set; }
+        public ulong IsVip { get; set; }
+        public decimal CreditTrade { get; set; }
+        public int BrandId { get; set; }
+        public string UserNav { get; set; }
+        public int BuyUserId { get; set; }
+        public DateTime? TransferTime { get; set; }
+        public string PosSn { get; set; }
+        public ulong IsPurchase { get; set; }
+        public int UserId { get; set; }
+        public DateTime? BindingTime { get; set; }
+        public DateTime? ActivationTime { get; set; }
+        public string Detail { get; set; }
+        public int ActivationState { get; set; }
+        public int BindingState { get; set; }
+    }
+}

+ 32 - 0
PxcModels/ProductComment.cs

@@ -0,0 +1,32 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.PxcModels
+{
+    public partial class ProductComment
+    {
+        public int Id { get; set; }
+        public int Sort { get; set; }
+        public int QueryCount { get; set; }
+        public int Status { get; set; }
+        public int Version { get; set; }
+        public DateTime? CreateDate { get; set; }
+        public DateTime? UpdateDate { get; set; }
+        public string CreateMan { get; set; }
+        public string UpdateMan { get; set; }
+        public string SeoTitle { get; set; }
+        public string SeoKeyword { get; set; }
+        public string SeoDescription { get; set; }
+        public int ProductNormId { get; set; }
+        public string PhotoList { get; set; }
+        public ulong HasPhoto { get; set; }
+        public int MerchantId { get; set; }
+        public int BackCount { get; set; }
+        public int AgreeCount { get; set; }
+        public int StarNum { get; set; }
+        public string Contents { get; set; }
+        public int OrderId { get; set; }
+        public int ProductId { get; set; }
+        public int UserId { get; set; }
+    }
+}

+ 12 - 0
PxcModels/ProductCommentAgree.cs

@@ -0,0 +1,12 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.PxcModels
+{
+    public partial class ProductCommentAgree
+    {
+        public int Id { get; set; }
+        public int ProductCommentId { get; set; }
+        public int UserId { get; set; }
+    }
+}

+ 28 - 0
PxcModels/ProductFareAreas.cs

@@ -0,0 +1,28 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.PxcModels
+{
+    public partial class ProductFareAreas
+    {
+        public int Id { get; set; }
+        public int Sort { get; set; }
+        public int QueryCount { get; set; }
+        public int Status { get; set; }
+        public int Version { get; set; }
+        public DateTime? CreateDate { get; set; }
+        public DateTime? UpdateDate { get; set; }
+        public string CreateMan { get; set; }
+        public string UpdateMan { get; set; }
+        public string SeoTitle { get; set; }
+        public string SeoKeyword { get; set; }
+        public string SeoDescription { get; set; }
+        public decimal MoreFee { get; set; }
+        public decimal MoreAmount { get; set; }
+        public decimal FirstFee { get; set; }
+        public decimal FirstAmount { get; set; }
+        public string Areas { get; set; }
+        public int TemplateId { get; set; }
+        public int MerchantId { get; set; }
+    }
+}

+ 33 - 0
PxcModels/ProductFareTemp.cs

@@ -0,0 +1,33 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.PxcModels
+{
+    public partial class ProductFareTemp
+    {
+        public int Id { get; set; }
+        public int Sort { get; set; }
+        public int QueryCount { get; set; }
+        public int Status { get; set; }
+        public int Version { get; set; }
+        public DateTime? CreateDate { get; set; }
+        public DateTime? UpdateDate { get; set; }
+        public string CreateMan { get; set; }
+        public string UpdateMan { get; set; }
+        public string SeoTitle { get; set; }
+        public string SeoKeyword { get; set; }
+        public string SeoDescription { get; set; }
+        public decimal MoreFee { get; set; }
+        public decimal MoreAmount { get; set; }
+        public decimal FirstFee { get; set; }
+        public decimal FirstAmount { get; set; }
+        public int MerchantId { get; set; }
+        public int TransportMode { get; set; }
+        public int MeterMode { get; set; }
+        public ulong IsFree { get; set; }
+        public int SendDate { get; set; }
+        public string SendAddress { get; set; }
+        public string SendAreas { get; set; }
+        public string Name { get; set; }
+    }
+}

+ 12 - 0
PxcModels/ProductKeys.cs

@@ -0,0 +1,12 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.PxcModels
+{
+    public partial class ProductKeys
+    {
+        public string Name { get; set; }
+        public string ColIds { get; set; }
+        public string ProductIds { get; set; }
+    }
+}

+ 34 - 0
PxcModels/ProductNorm.cs

@@ -0,0 +1,34 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.PxcModels
+{
+    public partial class ProductNorm
+    {
+        public int Id { get; set; }
+        public int Sort { get; set; }
+        public int QueryCount { get; set; }
+        public int Status { get; set; }
+        public int Version { get; set; }
+        public DateTime? CreateDate { get; set; }
+        public DateTime? UpdateDate { get; set; }
+        public string CreateMan { get; set; }
+        public string UpdateMan { get; set; }
+        public string SeoTitle { get; set; }
+        public string SeoKeyword { get; set; }
+        public string SeoDescription { get; set; }
+        public int LimitCount { get; set; }
+        public int MerchantId { get; set; }
+        public string Code { get; set; }
+        public decimal CostPrice { get; set; }
+        public int BuyCount { get; set; }
+        public int Stock { get; set; }
+        public int ProductId { get; set; }
+        public decimal UserIntegral { get; set; }
+        public decimal UserPrice { get; set; }
+        public decimal Integral { get; set; }
+        public decimal Price { get; set; }
+        public string IdList { get; set; }
+        public string ColName { get; set; }
+    }
+}

+ 25 - 0
PxcModels/ProductNormItem.cs

@@ -0,0 +1,25 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.PxcModels
+{
+    public partial class ProductNormItem
+    {
+        public int Id { get; set; }
+        public int Sort { get; set; }
+        public int QueryCount { get; set; }
+        public int Status { get; set; }
+        public int Version { get; set; }
+        public DateTime? CreateDate { get; set; }
+        public DateTime? UpdateDate { get; set; }
+        public string CreateMan { get; set; }
+        public string UpdateMan { get; set; }
+        public string SeoTitle { get; set; }
+        public string SeoKeyword { get; set; }
+        public string SeoDescription { get; set; }
+        public int ProductId { get; set; }
+        public int MerchantId { get; set; }
+        public int ParentId { get; set; }
+        public string ColName { get; set; }
+    }
+}

+ 24 - 0
PxcModels/ProductNormTemp.cs

@@ -0,0 +1,24 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.PxcModels
+{
+    public partial class ProductNormTemp
+    {
+        public int Id { get; set; }
+        public int Sort { get; set; }
+        public int QueryCount { get; set; }
+        public int Status { get; set; }
+        public int Version { get; set; }
+        public DateTime? CreateDate { get; set; }
+        public DateTime? UpdateDate { get; set; }
+        public string CreateMan { get; set; }
+        public string UpdateMan { get; set; }
+        public string SeoTitle { get; set; }
+        public string SeoKeyword { get; set; }
+        public string SeoDescription { get; set; }
+        public string TempJsonData { get; set; }
+        public int MerchantId { get; set; }
+        public string Name { get; set; }
+    }
+}

+ 58 - 0
PxcModels/Products.cs

@@ -0,0 +1,58 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.PxcModels
+{
+    public partial class Products
+    {
+        public int Id { get; set; }
+        public int Sort { get; set; }
+        public int QueryCount { get; set; }
+        public int Status { get; set; }
+        public int Version { get; set; }
+        public DateTime? CreateDate { get; set; }
+        public DateTime? UpdateDate { get; set; }
+        public string CreateMan { get; set; }
+        public string UpdateMan { get; set; }
+        public string SeoTitle { get; set; }
+        public string SeoKeyword { get; set; }
+        public string SeoDescription { get; set; }
+        public string ProductCode { get; set; }
+        public string Title2 { get; set; }
+        public string Title { get; set; }
+        public ulong IsRecommend3 { get; set; }
+        public ulong IsRecommend2 { get; set; }
+        public int MonthSale { get; set; }
+        public string MerchantColId { get; set; }
+        public string NormJson { get; set; }
+        public string LinkUrl { get; set; }
+        public string ShareDetail { get; set; }
+        public string NormIds { get; set; }
+        public int MerchantClassId { get; set; }
+        public string KeyWord { get; set; }
+        public int LimitCount { get; set; }
+        public int FareTemplateId { get; set; }
+        public decimal CostPrice { get; set; }
+        public DateTime? PublishDate { get; set; }
+        public decimal UserIntegral { get; set; }
+        public decimal MemberPrice { get; set; }
+        public decimal Integral { get; set; }
+        public decimal Price { get; set; }
+        public decimal SourcePrice { get; set; }
+        public ulong IsLimit { get; set; }
+        public DateTime? EndDate { get; set; }
+        public DateTime? StartDate { get; set; }
+        public int MerchantId { get; set; }
+        public ulong IsRecommend { get; set; }
+        public decimal GoodPercent { get; set; }
+        public int CommentCount { get; set; }
+        public string ColId { get; set; }
+        public string DetailPicPath { get; set; }
+        public string ListPicPath { get; set; }
+        public int BuyCount { get; set; }
+        public int Stock { get; set; }
+        public string Contents { get; set; }
+        public string Details { get; set; }
+        public string ProductName { get; set; }
+    }
+}

+ 31 - 0
PxcModels/ProfitObjectActivations.cs

@@ -0,0 +1,31 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.PxcModels
+{
+    public partial class ProfitObjectActivations
+    {
+        public int Id { get; set; }
+        public int Sort { get; set; }
+        public int QueryCount { get; set; }
+        public int Status { get; set; }
+        public int Version { get; set; }
+        public DateTime? CreateDate { get; set; }
+        public DateTime? UpdateDate { get; set; }
+        public string CreateMan { get; set; }
+        public string UpdateMan { get; set; }
+        public string SeoTitle { get; set; }
+        public string SeoKeyword { get; set; }
+        public string SeoDescription { get; set; }
+        public string Code { get; set; }
+        public DateTime? EndDate { get; set; }
+        public DateTime? StartDate { get; set; }
+        public int MachineCount { get; set; }
+        public decimal ProfitNumber { get; set; }
+        public int ObjectId { get; set; }
+        public decimal ExpiredNumber { get; set; }
+        public DateTime? LimitCustomerDate { get; set; }
+        public int LimitDateVal { get; set; }
+        public int LimitDateKind { get; set; }
+    }
+}

+ 25 - 0
PxcModels/ProfitObjectContinueFloors.cs

@@ -0,0 +1,25 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.PxcModels
+{
+    public partial class ProfitObjectContinueFloors
+    {
+        public int Id { get; set; }
+        public int Sort { get; set; }
+        public int QueryCount { get; set; }
+        public int Status { get; set; }
+        public int Version { get; set; }
+        public DateTime? CreateDate { get; set; }
+        public DateTime? UpdateDate { get; set; }
+        public string CreateMan { get; set; }
+        public string UpdateMan { get; set; }
+        public string SeoTitle { get; set; }
+        public string SeoKeyword { get; set; }
+        public string SeoDescription { get; set; }
+        public int ObjectId { get; set; }
+        public decimal AddProfitVal { get; set; }
+        public decimal Percents { get; set; }
+        public int FloorNumber { get; set; }
+    }
+}

+ 26 - 0
PxcModels/ProfitObjectFloors.cs

@@ -0,0 +1,26 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.PxcModels
+{
+    public partial class ProfitObjectFloors
+    {
+        public int Id { get; set; }
+        public int Sort { get; set; }
+        public int QueryCount { get; set; }
+        public int Status { get; set; }
+        public int Version { get; set; }
+        public DateTime? CreateDate { get; set; }
+        public DateTime? UpdateDate { get; set; }
+        public string CreateMan { get; set; }
+        public string UpdateMan { get; set; }
+        public string SeoTitle { get; set; }
+        public string SeoKeyword { get; set; }
+        public string SeoDescription { get; set; }
+        public int ObjectId { get; set; }
+        public ulong FloorDiff { get; set; }
+        public decimal AddProfitVal { get; set; }
+        public decimal Percents { get; set; }
+        public int FloorNumber { get; set; }
+    }
+}

+ 23 - 0
PxcModels/ProfitObjectLevelKinds.cs

@@ -0,0 +1,23 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.PxcModels
+{
+    public partial class ProfitObjectLevelKinds
+    {
+        public int Id { get; set; }
+        public int Sort { get; set; }
+        public int QueryCount { get; set; }
+        public int Status { get; set; }
+        public int Version { get; set; }
+        public DateTime? CreateDate { get; set; }
+        public DateTime? UpdateDate { get; set; }
+        public string CreateMan { get; set; }
+        public string UpdateMan { get; set; }
+        public string SeoTitle { get; set; }
+        public string SeoKeyword { get; set; }
+        public string SeoDescription { get; set; }
+        public int ObjectId { get; set; }
+        public string Name { get; set; }
+    }
+}

+ 29 - 0
PxcModels/ProfitObjectLevels.cs

@@ -0,0 +1,29 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.PxcModels
+{
+    public partial class ProfitObjectLevels
+    {
+        public int Id { get; set; }
+        public int Sort { get; set; }
+        public int QueryCount { get; set; }
+        public int Status { get; set; }
+        public int Version { get; set; }
+        public DateTime? CreateDate { get; set; }
+        public DateTime? UpdateDate { get; set; }
+        public string CreateMan { get; set; }
+        public string UpdateMan { get; set; }
+        public string SeoTitle { get; set; }
+        public string SeoKeyword { get; set; }
+        public string SeoDescription { get; set; }
+        public decimal DebitAddProfitVal { get; set; }
+        public decimal DebitPercents { get; set; }
+        public int KindId { get; set; }
+        public ulong LevelDiff { get; set; }
+        public decimal AddProfitVal { get; set; }
+        public decimal Percents { get; set; }
+        public string Name { get; set; }
+        public int LevelNumber { get; set; }
+    }
+}

+ 28 - 0
PxcModels/ProfitObjects.cs

@@ -0,0 +1,28 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.PxcModels
+{
+    public partial class ProfitObjects
+    {
+        public int Id { get; set; }
+        public int Sort { get; set; }
+        public int QueryCount { get; set; }
+        public int Status { get; set; }
+        public int Version { get; set; }
+        public DateTime? CreateDate { get; set; }
+        public DateTime? UpdateDate { get; set; }
+        public string CreateMan { get; set; }
+        public string UpdateMan { get; set; }
+        public string SeoTitle { get; set; }
+        public string SeoKeyword { get; set; }
+        public string SeoDescription { get; set; }
+        public DateTime? EndDate { get; set; }
+        public DateTime? StartDate { get; set; }
+        public decimal MinProfitVal { get; set; }
+        public ulong MaxLevelContinue { get; set; }
+        public int MaxLevel { get; set; }
+        public int MaxFloor { get; set; }
+        public string Name { get; set; }
+    }
+}

部分文件因文件數量過多而無法顯示