DuGuYang 1 year ago
parent
commit
bf6c5d4a50
100 changed files with 3483 additions and 0 deletions
  1. 14 0
      Areas/Api/Controllers/BaseController.cs
  2. 132 0
      Areas/Api/Controllers/Main/ConsumerOrdersController.cs
  3. 487 0
      Areas/Api/Controllers/Main/MerchantAddInfoController.cs
  4. BIN
      DLL/MySystemLib.dll
  5. 49 0
      Models/Main/ActiveReward.cs
  6. 26 0
      Models/Main/ActivityEnrolRecord.cs
  7. 37 0
      Models/Main/ActivityInfo.cs
  8. 32 0
      Models/Main/ActivityPrizeDetail.cs
  9. 24 0
      Models/Main/ActivityRedPackageJoins.cs
  10. 24 0
      Models/Main/ActivityRedPackageStock.cs
  11. 25 0
      Models/Main/ActivityRedPackageTop10.cs
  12. 26 0
      Models/Main/Advertisment.cs
  13. 25 0
      Models/Main/AgentLevelSet.cs
  14. 32 0
      Models/Main/AppBottomNavs.cs
  15. 28 0
      Models/Main/AppVersion.cs
  16. 24 0
      Models/Main/AppVideo.cs
  17. 26 0
      Models/Main/AppVideoList.cs
  18. 28 0
      Models/Main/BackEndOpRecord.cs
  19. 26 0
      Models/Main/BankInfo.cs
  20. 47 0
      Models/Main/BrokenMachineChange.cs
  21. 34 0
      Models/Main/BrokenMachineChangeDetail.cs
  22. 28 0
      Models/Main/BusinessActSummary.cs
  23. 26 0
      Models/Main/BusinessPartner.cs
  24. 25 0
      Models/Main/BusinessPartnerMerchant.cs
  25. 25 0
      Models/Main/BusinessPartnerPos.cs
  26. 67 0
      Models/Main/BusinessTradeSummary.cs
  27. 37 0
      Models/Main/Col.cs
  28. 11 0
      Models/Main/ConsumerOpenIds.cs
  29. 11 0
      Models/Main/ConsumerOrderForNo.cs
  30. 33 0
      Models/Main/ConsumerOrders.cs
  31. 25 0
      Models/Main/ConsumerProfit.cs
  32. 36 0
      Models/Main/Consumers.cs
  33. 33 0
      Models/Main/CouponAssignRecords.cs
  34. 48 0
      Models/Main/Coupons.cs
  35. 26 0
      Models/Main/CouponsForUser.cs
  36. 24 0
      Models/Main/CustomTagSet.cs
  37. 24 0
      Models/Main/ErpCompanys.cs
  38. 24 0
      Models/Main/FileUpdateInfo.cs
  39. 43 0
      Models/Main/FluxProfitDetail.cs
  40. 30 0
      Models/Main/FluxProfitSummary.cs
  41. 33 0
      Models/Main/HelpProfitAccountRecord.cs
  42. 23 0
      Models/Main/HelpProfitAmountSummary.cs
  43. 23 0
      Models/Main/HelpProfitExchange.cs
  44. 25 0
      Models/Main/HelpProfitExchangeDetail.cs
  45. 11 0
      Models/Main/HelpProfitMerIds.cs
  46. 22 0
      Models/Main/HelpProfitMerTradeMonthSummay.cs
  47. 26 0
      Models/Main/HelpProfitMerTradeSummay.cs
  48. 24 0
      Models/Main/HelpProfitMerchantForUser.cs
  49. 29 0
      Models/Main/HelpProfitRebateDetail.cs
  50. 36 0
      Models/Main/HelpProfitReward.cs
  51. 47 0
      Models/Main/HelpProfitRewardDetail.cs
  52. 24 0
      Models/Main/IndexIconList.cs
  53. 23 0
      Models/Main/KqProductBrand.cs
  54. 23 0
      Models/Main/KqProductOrgs.cs
  55. 68 0
      Models/Main/KqProductRuleSet.cs
  56. 22 0
      Models/Main/KqProducts.cs
  57. 33 0
      Models/Main/LeaderAccountRecord.cs
  58. 28 0
      Models/Main/LeaderReserveRecord.cs
  59. 20 0
      Models/Main/Leaders.cs
  60. 60 0
      Models/Main/MachineApply.cs
  61. 36 0
      Models/Main/MachineApplyDetail.cs
  62. 47 0
      Models/Main/MachineChange.cs
  63. 34 0
      Models/Main/MachineChangeDetail.cs
  64. 11 0
      Models/Main/MachineForMerNo.cs
  65. 14 0
      Models/Main/MachineForQrCode.cs
  66. 11 0
      Models/Main/MachineForSnNo.cs
  67. 36 0
      Models/Main/MachineRenew.cs
  68. 31 0
      Models/Main/MachineReturn.cs
  69. 26 0
      Models/Main/MachineUnBind.cs
  70. 11 0
      Models/Main/MenuRight.cs
  71. 126 0
      Models/Main/MerchantAddInfo.cs
  72. 31 0
      Models/Main/MerchantAdmin.cs
  73. 26 0
      Models/Main/MerchantAmountSummay.cs
  74. 35 0
      Models/Main/MerchantAuth.cs
  75. 24 0
      Models/Main/MerchantClass.cs
  76. 29 0
      Models/Main/MerchantCol.cs
  77. 27 0
      Models/Main/MerchantComment.cs
  78. 23 0
      Models/Main/MerchantDepositReturns.cs
  79. 23 0
      Models/Main/MerchantDepositSet.cs
  80. 26 0
      Models/Main/MerchantDiviSummay.cs
  81. 11 0
      Models/Main/MerchantForCode.cs
  82. 11 0
      Models/Main/MerchantForMobile.cs
  83. 11 0
      Models/Main/MerchantForName.cs
  84. 45 0
      Models/Main/MerchantInfo.cs
  85. 27 0
      Models/Main/MerchantParamSet.cs
  86. 25 0
      Models/Main/MerchantQrCode.cs
  87. 39 0
      Models/Main/MerchantRebateDetail.cs
  88. 41 0
      Models/Main/Merchants.cs
  89. 13 0
      Models/Main/MobileCodeCheck.cs
  90. 40 0
      Models/Main/MsgAlert.cs
  91. 28 0
      Models/Main/MsgBlackList.cs
  92. 34 0
      Models/Main/MsgPersonal.cs
  93. 37 0
      Models/Main/MsgPlacard.cs
  94. 25 0
      Models/Main/MsgPlacardRead.cs
  95. 31 0
      Models/Main/MsgPush.cs
  96. 38 0
      Models/Main/MsgSms.cs
  97. 27 0
      Models/Main/MsgSmsSet.cs
  98. 29 0
      Models/Main/MsgTemplate.cs
  99. 11 0
      Models/Main/OpenBankCityTable.cs
  100. 11 0
      Models/Main/OpenBankTable.cs

+ 14 - 0
Areas/Api/Controllers/BaseController.cs

@@ -10,6 +10,7 @@ using Microsoft.AspNetCore.Http;
 using Microsoft.Extensions.Logging;
 using Microsoft.Extensions.Options;
 using Library;
+using MySystem.Models.Main;
 
 namespace MySystem.Areas.Api.Controllers
 {
@@ -21,6 +22,19 @@ namespace MySystem.Areas.Api.Controllers
         {
             _accessor = accessor;
         }
+        public WebCMSEntities maindb = new WebCMSEntities();
+
+        public string SpHost = Library.ConfigurationManager.AppSettings["SpHost"].ToString();
+
+        #region 接口通用DES解密
+
+        public string DesDecrypt(string content)
+        {
+            content = HttpUtility.UrlDecode(content);
+            return dbconn.DesDecrypt(content, "*ga34|^7");
+        }
+
+        #endregion
 
     
     }

+ 132 - 0
Areas/Api/Controllers/Main/ConsumerOrdersController.cs

@@ -0,0 +1,132 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using Microsoft.AspNetCore.Mvc;
+using Microsoft.AspNetCore.Http;
+using Microsoft.Extensions.Logging;
+using Microsoft.Extensions.Options;
+using Microsoft.AspNetCore.Authorization;
+using System.Web;
+using MySystem.Models.Main;
+using LitJson;
+using Library;
+using System.Data;
+using MySystem.Service.Main;
+
+namespace MySystem.Areas.Api.Controllers.v1
+{
+    [Area("Api")]
+    [Route("Api/v1/[controller]/[action]")]
+    public class ConsumerOrdersController : BaseController
+    {
+        public ConsumerOrdersController(IHttpContextAccessor accessor) : base(accessor)
+        {
+        }
+
+        #region 消费者-支付接口
+        [Authorize]
+        [HttpPost]
+        [Route("/v1/main/consumerorders/pay")]
+        public JsonResult Pay(string value)
+        {
+            if (string.IsNullOrEmpty(value))
+            {
+                System.IO.StreamReader sr = new System.IO.StreamReader(Request.Body);
+                value = sr.ReadToEnd();
+                value = value.Split('=')[1];
+            }
+            value = DesDecrypt(value);
+            JsonData data = JsonMapper.ToObject(value);
+            string SnNo = data["Sn"].ToString(); //商户
+            string Machine = data["Machine"].ToString();
+            int PayMode = int.Parse(function.CheckInt(data["PayMode"].ToString())); //支付方式(1 支付宝 2 微信)
+            decimal PayMoney = decimal.Parse(function.CheckNum(data["PayMoney"].ToString())); //支付金额
+            string Code = data["Code"].ToString();
+            if (string.IsNullOrEmpty(data["PayMode"].ToString()))
+            {
+                return Json(new AppResultJson() { Status = "-1", Info = "请填写支付方式" });
+            }
+            if (string.IsNullOrEmpty(data["PayMoney"].ToString()))
+            {
+                return Json(new AppResultJson() { Status = "-1", Info = "请填写支付金额" });
+            }
+            if (!function.IsNum(data["PayMoney"].ToString()))
+            {
+                return Json(new AppResultJson() { Status = "-1", Info = "请填写正确的支付金额" });
+            }
+            var qrcode = MerchantQrCodeService.Query(" SnNo='" + SnNo + "'");
+            var merchant = MerchantInfoService.Query(qrcode.MerchantId);
+            var merchantAdd = MerchantAddInfoService.Query(qrcode.MerchantId);
+            var merchantset = MerchantParamSetService.Query(qrcode.MerchantId);
+            var ledgerModel = merchantset.IsAll == 1 ? "1" : "2";
+            string openid = "";
+            if (PayMode == 1)
+            {
+                openid = new AlipayFunction(_accessor.HttpContext).GetAlipayUserId(Code);
+                if (openid.Contains("|"))
+                {
+                    openid = openid.Split('|')[0];
+                }
+            }
+            else
+            {
+                string result = function.GetWebRequest("https://api.weixin.qq.com/sns/jscode2session?appid=" + new WeChatFunction().AppId + "&secret=" + new WeChatFunction().AppSecret + "&js_code=" + Code + "&grant_type=authorization_code");
+                function.WriteLog(DateTime.Now.ToString() + "\n" + result, "微信小程序获取openid");
+                JsonData jsonObj = JsonMapper.ToObject(result);
+                openid = jsonObj["openid"].ToString();
+            }
+            int ConsumerId = 0;
+            var check = ConsumerOpenIdsService.Exist(openid);
+            if (check == false)
+            {
+                var info = ConsumersUtil.AddConsumers(ConsumerId, openid);
+                ConsumerId = int.Parse(info.Data.ToString());
+                ConsumerOpenIdsUtil.AddConsumerOpenIds(ConsumerId, openid);
+            }
+            else
+            {
+                var info = ConsumerOpenIdsService.Query(" OpenId='" + openid + "'");
+                ConsumerId = info.ConsumerId;
+            }
+            Dictionary<string, object> Obj = new Dictionary<string, object>();
+            string OrderNo = DateTime.Now.ToString("yyyyMMddHHmmssfff") + function.get_Random(8);
+            bool ActFlag = merchantset.IsAll == 1 ? false : true;
+            if (PayMoney < merchantset.MinPayMoney) //支付金额小于活动最小金额,则不分账
+            {
+                ActFlag = false;
+            }
+            var infos = ConsumerOrdersUtil.AddConsumerOrders(qrcode.MerchantId, ConsumerId, merchant.UserId, PayMode, PayMoney, SnNo, OrderNo, ActFlag ? PayMoney * merchantset.DiviPercent / 100 : 0, ActFlag ? 1u : 0u, ActFlag ? PayMoney * merchantset.GetPercent / 100 : PayMoney, Newtonsoft.Json.JsonConvert.SerializeObject(merchantset));
+            ConsumerOrderForNoUtil.AddConsumerOrderForNo(OrderNo, int.Parse(infos.Data.ToString()));
+            if (PayMode == 1)
+            {
+                string backString = HaoDaHelper.Instance.Alipay(merchantAdd.SubMchid, merchantAdd.AlipayPid, OrderNo, PayMoney.ToString(), SpHost + "/api/alipay/notice", openid, function.get_Random(4), ledgerModel);
+                JsonData obj = JsonMapper.ToObject(backString);
+                if (obj["resultCode"].ToString() == "10000")
+                {
+                    string tradeNo = obj["prePayId"].ToString();
+                    Obj.Add("respCode", obj["resultCode"].ToString());
+                    Obj.Add("tradeNo", tradeNo);
+                }
+                else
+                {
+                    Obj.Add("respCode", obj["resultCode"].ToString());
+                    Obj.Add("tradeNo", "");
+                    return Json(new AppResultJson() { Status = "-1", Info = obj["errorDesc"].ToString(), Data = Obj });
+                }
+            }
+            else if (PayMode == 2)
+            {
+                var dic = JsonMapper.ToObject(HaoDaHelper.Instance.WeChatPay(merchantAdd.SubMchid.ToString(), merchantAdd.AlipayPid, OrderNo, PayMoney.ToString(), SpHost + "/api/wechat/notice", openid, function.get_Random(4), merchantAdd.AppAppid, "MINI_PROGRAM", ledgerModel));
+                Obj.Add("appId", dic["payInfo"]["appId"].ToString()); //微信小程序appid
+                Obj.Add("timeStamp", dic["payInfo"]["timeStamp"].ToString()); //时间戳
+                Obj.Add("nonceStr", dic["payInfo"]["nonceStr"].ToString()); //随机字符串
+                Obj.Add("package", dic["payInfo"]["package"].ToString()); //统一支付接口返回的prepayid参数值
+                Obj.Add("paySign", dic["payInfo"]["paySign"].ToString()); //支付签名
+                Obj.Add("ConsumerId", ConsumerId);
+            }
+            return Json(Json(new AppResultJson() { Status = "1", Info = "", Data = Obj }));
+        }
+        #endregion
+
+    }
+}

+ 487 - 0
Areas/Api/Controllers/Main/MerchantAddInfoController.cs

@@ -0,0 +1,487 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using Microsoft.AspNetCore.Mvc;
+using Microsoft.AspNetCore.Http;
+using Microsoft.Extensions.Logging;
+using Microsoft.Extensions.Options;
+using Microsoft.AspNetCore.Authorization;
+using MySystem.Service.Main;
+using System.Web;
+using MySystem.Models.Main;
+using LitJson;
+using Library;
+
+namespace MySystem.Areas.Api.Controllers.v1
+{
+    [Area("Api")]
+    [Route("Api/v1/[controller]/[action]")]
+    public class MerchantAddInfoController : BaseController
+    {
+        public MerchantAddInfoController(IHttpContextAccessor accessor) : base(accessor)
+        {
+        }
+
+
+
+
+        #region 创客-首页-新增商户
+        [Authorize]
+        public JsonResult Add(string value)
+        {
+            value = DesDecrypt(value);
+            JsonData data = JsonMapper.ToObject(value);
+            AppResultJson result = AddDo(value);
+            return Json(new AppResultJson() { Status = result.Status, Info = result.Info, Data = result.Data });
+        }
+        public AppResultJson AddDo(string value)
+        {
+            JsonData data = JsonMapper.ToObject(value);
+            string ContactName = data["ContactName"].ToString(); //管理员姓名
+            string ContactIdNumber = data["ContactIdNumber"].ToString(); //管理员身份证件号码
+            string MobilePhone = data["MobilePhone"].ToString(); //联系手机
+            string ContactEmail = data["ContactEmail"].ToString(); //联系邮箱
+            string SubjectType = data["SubjectType"].ToString(); //主体类型 0-企业法人营业执照 1-个体工商户营业执照
+            string LicenseCopy = data["LicenseCopy"].ToString(); //营业执照照片
+            string LicenseNumber = data["LicenseNumber"].ToString(); //统一社会信用代码
+            string CertMerchantName = data["CertMerchantName"].ToString(); //商户名称
+            string CertLegalPerson = data["CertLegalPerson"].ToString(); //法人姓名
+            string IdCardCopy = data["IdCardCopy"].ToString(); //身份证人像面照片
+            string IdCardNational = data["IdCardNational"].ToString(); //身份证国徽面照片
+            string IdCardName = data["IdCardName"].ToString(); //身份证姓名
+            string IdCardNumber = data["IdCardNumber"].ToString(); //身份证号码
+            string IdCardAddress = data["IdCardAddress"].ToString(); //身份证号码
+            string CardPeriodBeginString = data["CardPeriodBegin"].ToString();
+            if (string.IsNullOrEmpty(CardPeriodBeginString))
+            {
+                CardPeriodBeginString = "1900-01-01";
+            }
+            DateTime CardPeriodBegin = DateTime.Parse(CardPeriodBeginString); //身份证有效期开始时间
+            string CardPeriodEndString = data["CardPeriodEnd"].ToString();
+            if (string.IsNullOrEmpty(CardPeriodEndString))
+            {
+                CardPeriodEndString = "1900-01-01";
+            }
+            DateTime CardPeriodEnd = DateTime.Parse(CardPeriodEndString); //身份证有效期结束时间
+            string ServicePhone = data["ServicePhone"].ToString(); //客服电话
+            string BizStoreName = data["BizStoreName"].ToString(); //门店名称
+            string BizAddressCode = data["BizAddressCode"].ToString(); //门店省市编码
+            string BizStoreAddress = data["BizStoreAddress"].ToString(); //门店地址
+            string StoreEntrancePic = data["StoreEntrancePic"].ToString(); //门店门头照片
+            string IndoorPic = data["IndoorPic"].ToString(); //店内环境照片
+            string QualificationType = data["QualificationType"].ToString(); //所属行业
+            string SettlementId = data["SettlementId"].ToString(); //入驻结算规则ID
+            string AlipayMccCode = "";
+            if (!string.IsNullOrEmpty(SettlementId))
+            {
+                AlipayMccCode = SettlementId.Substring(SettlementId.IndexOf("_") + 1);
+                SettlementId = SettlementId.Substring(0, SettlementId.IndexOf("_"));
+            }
+            string AlipayAccount = data["AlipayAccount"].ToString(); //支付宝账号
+            string BankAccountType = data["BankAccountType"].ToString(); //账户类型 1 对私 0 对公
+            string AccountName = data["AccountName"].ToString(); //开户名称
+            string AccountBank = data["AccountBank"].ToString(); //开户银行
+            string BankAddressCode = data["BankAddressCode"].ToString(); //开户银行省市编码
+            string MerchantShortname = data["MerchantShortname"].ToString();
+            string BankName = data["BankName"].ToString(); //开户银行全称
+            string AccountNumber = data["AccountNumber"].ToString(); //银行账号
+            string Qualifications = data["Qualifications"].ToString(); //特殊资质图
+
+            //new add parameters:
+            string ChannelKind = data["ChannelKind"].ToString(); //商户类型 有执照填000002无执照填000001
+            string SalesScenesType = data["SalesScenesType"].ToString(); //经营范围 参考经营范围表
+            string OpenAccountLicenses = data["OpenAccountLicenses"].ToString(); //开户许可证
+            string RentAgreement = data["RentAgreement"].ToString(); //租赁协议
+            string OperatorMcht = data["OperatorMcht"].ToString(); //盒伙人商户合影
+            string AgentProtocol = data["AgentProtocol"].ToString(); //委托结算协议
+            string SignaturePicture = data["SignaturePicture"].ToString(); //商户签名图片
+            string Support = data["Support"].ToString(); //辅助照片
+            string CheckstandImg = data["CheckstandImg"].ToString(); //收银台
+            string ProductImg = data["ProductImg"].ToString(); //商品照片
+            string Agreement = data["Agreement"].ToString(); //合同签名
+            string TaxImage = data["TaxImage"].ToString(); //税务登记证
+            string OrganizationCopy = data["OrganizationCopy"].ToString(); //组织机构证照片
+            string IndustryLicense1 = data["IndustryLicense1"].ToString(); //行业许可证
+            string FaceRecognition = data["FaceRecognition"].ToString(); //正面人像图片
+            string Extra1 = data["Extra1"].ToString(); //补充资料
+
+            int Finish = int.Parse(function.CheckInt(data["Finish"].ToString()));
+            int UserId = int.Parse(function.CheckInt(data["UserId"].ToString()));
+            int MerchantAddInfoId = int.Parse(function.CheckInt(data["Id"].ToString()));
+            string BankBranchId = "";
+            if (Finish == 1)
+            {
+                var openBank = OpenBankTableService.Query(" BankName='" + BankName + "'");
+                if (openBank == null)
+                {
+                    return new AppResultJson() { Status = "-1", Info = "开户银行全称不正确" };
+                }
+                BankBranchId = openBank.BankCode;
+            }
+            Dictionary<string, object> Obj = new Dictionary<string, object>();
+            var query = MerchantAddInfoService.Query(" CertMerchantName='" + CertMerchantName + "'");
+            if (query == null)
+            {
+                Dictionary<string, object> Fiel = new Dictionary<string, object>();
+                Fiel.Add("CertMerchantName", CertMerchantName);
+                MerchantAddInfoService.Add(Fiel);
+            }
+            var ActivitiesId = "20191030111cff5b5e";
+            var ActivitiesRate = "0.38";
+            MerchantAddInfoUtil.EditMerchantAddInfo(query.Id, ContactName, ContactIdNumber, MobilePhone, ContactEmail, SubjectType, LicenseCopy, LicenseNumber, CertLegalPerson, CertMerchantName, CertLegalPerson, ServicePhone, BizStoreName, BizAddressCode, BizStoreAddress, StoreEntrancePic, IndoorPic, QualificationType, SettlementId, BankAccountType, AccountName, AccountBank, BankAddressCode, BankName, BankBranchId, AccountNumber, IdCardCopy, IdCardNational, IdCardName, IdCardNumber, IdCardAddress, CardPeriodBegin, CardPeriodEnd, MerchantShortname, Qualifications, ActivitiesId, ActivitiesRate, AlipayAccount, AlipayMccCode, ChannelKind, SalesScenesType, OpenAccountLicenses, RentAgreement, OperatorMcht, AgentProtocol, SignaturePicture, Support, CheckstandImg, ProductImg, Agreement, TaxImage, OrganizationCopy, IndustryLicense1, FaceRecognition, Extra1);
+
+            var merchant = MerchantInfoService.Query(query.Id);
+            if (merchant.Id == 0)
+            {
+                Dictionary<string, object> Fiel = new Dictionary<string, object>();
+                Fiel.Add("Id", query.Id);
+                MerchantInfoService.Add(Fiel);
+            }
+            MerchantInfoUtil.EditMerchantInfo(merchant.Id, UserId, CertMerchantName, MobilePhone, BizAddressCode, BizStoreAddress);
+
+            if (Finish == 1)
+            {
+                merchant.Sort = 1;
+                Dictionary<string, object> Fiel = new Dictionary<string, object>();
+                Fiel.Add("Sort", 1);
+                MerchantInfoService.Edit(Fiel, merchant.Id);
+                // 如果提交完整资料,则发送到BsServer执行进件操作
+                RedisDbconn.Instance.AddList("MerchantConfirmQueue", "{\"MerchantId\":\"" + merchant.Id + "\"}");
+            }
+            maindb.SaveChanges();
+            Obj.Add("Id", MerchantAddInfoId); //Id
+            return new AppResultJson() { Status = "1", Info = "", Data = Obj };
+        }
+        #endregion
+
+
+        #region 创客-首页-商户进件详情
+        [Authorize]
+        public JsonResult Detail(string value)
+        {
+            value = DesDecrypt(value);
+            JsonData data = JsonMapper.ToObject(value);
+            Dictionary<string, object> Obj = DetailDo(value);
+            return Json(new AppResultJson() { Status = "1", Info = "", Data = Obj });
+        }
+        public Dictionary<string, object> DetailDo(string value)
+        {
+            JsonData data = JsonMapper.ToObject(value);
+            int Id = int.Parse(function.CheckInt(data["Id"].ToString()));
+            var query = MerchantAddInfoService.Query(Id);
+            Dictionary<string, string> Subjects = GetSubjects();
+            Dictionary<string, string> AccountTypes = GetAccountTypes();
+            List<SettleData> Settles = GetSettles(query.SubjectType);
+            return MerchantAddInfoUtil.MerchantAddInfoDetail(query, Subjects, AccountTypes, Settles);
+        }
+        #endregion
+
+
+        #region 创客-首页-进件选项接口
+        [Authorize]
+        public JsonResult Options(string value)
+        {
+            value = DesDecrypt(value);
+            JsonData data = JsonMapper.ToObject(value);
+            List<Dictionary<string, object>> dataList = OptionsDo(value);
+            return Json(new AppResultJson() { Status = "1", Info = "", Data = dataList });
+        }
+        public List<Dictionary<string, object>> OptionsDo(string value)
+        {
+            JsonData data = JsonMapper.ToObject(value);
+            string Kind = data["Kind"].ToString(); //分类
+            int PageSize = int.Parse(function.CheckInt(data["PageSize"].ToString()));
+            int PageNum = int.Parse(function.CheckInt(data["PageNum"].ToString()));
+            List<Dictionary<string, object>> dataList = new List<Dictionary<string, object>>();
+            if (Kind == "2")
+            {
+                dataList = GetPersonSettles();
+            }
+            else if (Kind == "21")
+            {
+                dataList = GetBusinessSettles();
+            }
+            else
+            {
+                Dictionary<string, string> query = new Dictionary<string, string>();
+                if (Kind == "1")
+                {
+                    query = GetSubjects();
+                }
+                else if (Kind == "3")
+                {
+                    query = GetAccountTypes();
+                }
+                else if (Kind == "4")
+                {
+                    query = GetBanks();
+                }
+                foreach (string key in query.Keys)
+                {
+                    Dictionary<string, object> curData = new Dictionary<string, object>();
+                    curData.Add("text", query[key]); //文本
+                    curData.Add("value", key); //值
+                    dataList.Add(curData);
+                }
+            }
+            return dataList;
+        }
+        public Dictionary<string, string> GetSubjects()
+        {
+            Dictionary<string, string> dic = new Dictionary<string, string>();
+            dic.Add("SUBJECT_TYPE_INDIVIDUAL", "个体户");
+            dic.Add("SUBJECT_TYPE_ENTERPRISE", "企业");
+            // dic.Add("SUBJECT_TYPE_INSTITUTIONS", "党政、机关及事业单位");
+            // dic.Add("SUBJECT_TYPE_OTHERS", "其他组织");
+            return dic;
+        }
+        public List<SettleData> GetSettles(string Kind)
+        {
+            if (Kind == "SUBJECT_TYPE_INDIVIDUAL")
+            {
+                return GetPersonSettleItems();
+            }
+            return GetBusinessSettleItems();
+        }
+
+        public List<SettleData> GetPersonSettleItems()
+        {
+            List<SettleData> dic = new List<SettleData>();
+            dic.Add(new SettleData() { ptext = "食品生鲜", text = "肉、禽、蛋及水产品等", value = "719", code = "A0002_B0202" });
+            dic.Add(new SettleData() { ptext = "健身运动服务", text = "健身房", value = "719", code = "A0004_B0064" });
+            dic.Add(new SettleData() { ptext = "健身运动服务", text = "体育场馆", value = "719", code = "A0004_B0068" });
+            dic.Add(new SettleData() { ptext = "居民生活服务", text = "公共交通", value = "719", code = "A0006_B0088" });
+            dic.Add(new SettleData() { ptext = "景区/酒店", text = "旅行住宿", value = "719", code = "A0010_B0157" });
+            dic.Add(new SettleData() { ptext = "居民生活服务", text = "生活服务", value = "719", code = "A0003_B0116" });
+            dic.Add(new SettleData() { ptext = "零售", text = "百货商城", value = "719", code = "A0002_B0017" });
+            dic.Add(new SettleData() { ptext = "服饰鞋包", text = "服饰鞋包", value = "719", code = "A0002_B0026" });
+            dic.Add(new SettleData() { ptext = "零售", text = "家居家纺建材", value = "719", code = "A0002_B0216" });
+            dic.Add(new SettleData() { ptext = "零售", text = "母婴玩具", value = "719", code = "A0002_B0032" });
+            dic.Add(new SettleData() { ptext = "零售", text = "数码家电", value = "719", code = "A0003_B0051" });
+            dic.Add(new SettleData() { ptext = "零售", text = "图书音像", value = "719", code = "A0002_B0031" });
+            dic.Add(new SettleData() { ptext = "居民生活服务", text = "文化玩乐宠物", value = "719", code = "A0004_B0070" });
+            dic.Add(new SettleData() { ptext = "咨询/娱乐票务", text = "娱乐票务", value = "719", code = "A0004_B0065" });
+            dic.Add(new SettleData() { ptext = "零售", text = "办公用品", value = "719", code = "A0002_B0203" });
+            dic.Add(new SettleData() { ptext = "零售", text = "工业产品", value = "719", code = "A0002_B0042" });
+            dic.Add(new SettleData() { ptext = "咨询/娱乐票务", text = "专业咨询", value = "719", code = "A0008_B0139" });
+            dic.Add(new SettleData() { ptext = "其他", text = "其他类别", value = "716", code = "A0002_B0043" });
+
+
+            // dic.Add(new SettleData() { ptext = "餐饮", text = "餐饮", code = "C_C05_5814", value = "719", special = 0});
+            // dic.Add(new SettleData() { ptext = "食品生鲜", text = "酒类", code = "C_C05_5921", value = "719", special = 1});
+            // dic.Add(new SettleData() { ptext = "食品生鲜", text = "肉、禽、蛋及水产品等", code = "C_C05_5422", value = "719", special = 0});
+            // dic.Add(new SettleData() { ptext = "私立/民营医院/诊所", text = "医疗服务", code = "P_P01_8011", value = "719", special = 1});
+            // dic.Add(new SettleData() { ptext = "保健器械/医疗器械/非处方药品", text = "药品、药品经营者(批发商)", code = "B_B04_5122", value = "719", special = 1});
+            // dic.Add(new SettleData() { ptext = "保健器械/医疗器械/非处方药品", text = "医疗器械", code = "B_B04_5047", value = "719", special = 1});
+            // dic.Add(new SettleData() { ptext = "游艺厅/KTV/网吧", text = "游艺厅/KTV", code = "D_D01_7999", value = "719", special = 1});
+            // dic.Add(new SettleData() { ptext = "游艺厅/KTV/网吧", text = "网吧", code = "D_D01_7999", value = "719", special = 1});
+            // dic.Add(new SettleData() { ptext = "宠物医院", text = "宠物及宠物用品", code = "C_C10_5995", value = "719", special = 1});
+            // dic.Add(new SettleData() { ptext = "零售批发/生活娱乐/其他", text = "公共交通", code = "A_A01_4121", value = "719", special = 0});
+            // dic.Add(new SettleData() { ptext = "零售批发/生活娱乐/其他", text = "旅行住宿", code = "A_A04_7011", value = "719", special = 0});
+            // dic.Add(new SettleData() { ptext = "零售批发/生活娱乐/其他", text = "公共仓储、集装整理", code = "A_A02_4225", value = "719", special = 0});
+            // dic.Add(new SettleData() { ptext = "零售批发/生活娱乐/其他", text = "商业服务", code = "S_S05_7338", value = "719", special = 0});
+            // dic.Add(new SettleData() { ptext = "零售批发/生活娱乐/其他", text = "汽车租赁和服务", code = "S_S10_7512", value = "719", special = 0});
+            // dic.Add(new SettleData() { ptext = "零售批发/生活娱乐/其他", text = "生活服务", code = "S_S08_7295", value = "719", special = 0});
+            // dic.Add(new SettleData() { ptext = "零售批发/生活娱乐/其他", text = "百货商城", code = "C_C04_5411", value = "719", special = 0});
+            // dic.Add(new SettleData() { ptext = "零售批发/生活娱乐/其他", text = "服饰鞋包", code = "C_C06_5699", value = "719", special = 0});
+            // dic.Add(new SettleData() { ptext = "零售批发/生活娱乐/其他", text = "家居家纺建材", code = "C_C03_5211", value = "719", special = 0});
+            // dic.Add(new SettleData() { ptext = "零售批发/生活娱乐/其他", text = "母婴玩具", code = "C_C02_5641", value = "719", special = 0});
+            // dic.Add(new SettleData() { ptext = "零售批发/生活娱乐/其他", text = "数码家电", code = "C_C07_5732", value = "719", special = 0});
+            // dic.Add(new SettleData() { ptext = "零售批发/生活娱乐/其他", text = "图书音像", code = "C_C09_5942", value = "719", special = 0});
+            // dic.Add(new SettleData() { ptext = "零售批发/生活娱乐/其他", text = "文化玩乐宠物", code = "C_C10_5995", value = "719", special = 0});
+            // dic.Add(new SettleData() { ptext = "零售批发/生活娱乐/其他", text = "彩票", code = "D_D03_7995", value = "719", special = 0});
+            // dic.Add(new SettleData() { ptext = "零售批发/生活娱乐/其他", text = "娱乐票务", code = "D_D01_7999", value = "719", special = 0});
+            // dic.Add(new SettleData() { ptext = "零售批发/生活娱乐/其他", text = "法律咨询和律师事务所", code = "P_P04_8111", value = "719", special = 1});
+            // dic.Add(new SettleData() { ptext = "零售批发/生活娱乐/其他", text = "办公用品", code = "B_B01_5943", value = "719", special = 0});
+            // dic.Add(new SettleData() { ptext = "零售批发/生活娱乐/其他", text = "工业产品", code = "B_B02_5065", value = "719", special = 0});
+            // dic.Add(new SettleData() { ptext = "零售批发/生活娱乐/其他", text = "汽车和运输工具", code = "B_B03_5599", value = "719", special = 0});
+            // dic.Add(new SettleData() { ptext = "零售批发/生活娱乐/其他", text = "专业咨询", code = "P_P04_8999", value = "719", special = 0});
+            // dic.Add(new SettleData() { ptext = "话费通讯", text = "话费充值与缴费", code = "D_D04_4815", value = "720", special = 1});
+            // dic.Add(new SettleData() { ptext = "加油", text = "加油站、服务站", code = "B_B03_5541", value = "721", special = 1});
+            return dic;
+        }
+        public List<Dictionary<string, object>> GetPersonSettles()
+        {
+            List<SettleData> dic = GetPersonSettleItems();
+
+            int i = 0;
+            List<Dictionary<string, object>> list = new List<Dictionary<string, object>>();
+            foreach (string sub in dic.Select(m => m.ptext).Distinct().ToList())
+            {
+                i += 1;
+                Dictionary<string, object> bigDic = new Dictionary<string, object>();
+                bigDic.Add("value", i.ToString());
+                bigDic.Add("text", sub);
+                List<Dictionary<string, object>> children = new List<Dictionary<string, object>>();
+                foreach (SettleData ssub in dic.Where(m => m.ptext == sub).ToList())
+                {
+                    Dictionary<string, object> smallDic = new Dictionary<string, object>();
+                    smallDic.Add("value", ssub.value + "_" + ssub.code);
+                    smallDic.Add("text", ssub.text);
+                    smallDic.Add("special", ssub.special);
+                    children.Add(smallDic);
+                }
+                bigDic.Add("children", children);
+                list.Add(bigDic);
+            }
+
+            return list;
+        }
+        public List<SettleData> GetBusinessSettleItems()
+        {
+            List<SettleData> dic = new List<SettleData>();
+            dic.Add(new SettleData() { ptext = "餐饮", text = "餐饮", value = "716", code = "A0001_B0001" });
+            dic.Add(new SettleData() { ptext = "食品生鲜", text = "肉、禽、蛋及水产品等", value = "716", code = "A0002_B0202" });
+            dic.Add(new SettleData() { ptext = "健身运动服务", text = "健身房", value = "716", code = "A0004_B0064" });
+            dic.Add(new SettleData() { ptext = "健身运动服务", text = "体育场馆", value = "716", code = "A0004_B0068" });
+            dic.Add(new SettleData() { ptext = "城市公共交通", text = "公共交通", value = "716", code = "A0006_B0088" });
+            dic.Add(new SettleData() { ptext = "景区/酒店", text = "旅行住宿", value = "716", code = "A0010_B0157" });
+            dic.Add(new SettleData() { ptext = "居民生活服务", text = "生活服务", value = "716", code = "A0003_B0116" });
+            dic.Add(new SettleData() { ptext = "零售", text = "百货商城", value = "716", code = "A0002_B0017" });
+            dic.Add(new SettleData() { ptext = "服饰鞋包", text = "服饰鞋包", value = "716", code = "A0002_B0026" });
+            dic.Add(new SettleData() { ptext = "零售", text = "家居家纺建材", value = "716", code = "A0002_B0216" });
+            dic.Add(new SettleData() { ptext = "零售", text = "母婴玩具", value = "716", code = "A0002_B0032" });
+            dic.Add(new SettleData() { ptext = "零售", text = "数码家电", value = "716", code = "A0003_B0051" });
+            dic.Add(new SettleData() { ptext = "零售", text = "图书音像", value = "716", code = "A0002_B0031" });
+            dic.Add(new SettleData() { ptext = "居民生活服务", text = "文化玩乐宠物", value = "716", code = "A0004_B0070" });
+            dic.Add(new SettleData() { ptext = "咨询/娱乐票务", text = "娱乐票务", value = "716", code = "A0004_B0065" });
+            dic.Add(new SettleData() { ptext = "零售", text = "办公用品", value = "716", code = "A0002_B0203" });
+            dic.Add(new SettleData() { ptext = "零售", text = "工业产品", value = "716", code = "A0002_B0042" });
+            dic.Add(new SettleData() { ptext = "婚介平台/就业信息平台/其他信息服务平台", text = "婚介服务", value = "720", code = "A0003_B0053" });
+            dic.Add(new SettleData() { ptext = "零售", text = "其它类别", value = "716", code = "A0002_B0043" });
+
+
+            // dic.Add(new SettleData() { ptext = "餐饮", text = "餐饮", code = "C_C05_5814", value = "716", special = 0});
+            // dic.Add(new SettleData() { ptext = "电商平台", text = "电商平台", code = "C_C05_5814", value = "716", special = 0});
+            // dic.Add(new SettleData() { ptext = "食品生鲜", text = "酒类", code = "C_C05_5921", value = "716", special = 1});
+            // dic.Add(new SettleData() { ptext = "食品生鲜", text = "肉、禽、蛋及水产品等", code = "C_C05_5422", value = "716", special = 0});
+            // dic.Add(new SettleData() { ptext = "电信运营商/宽带收费", text = "电信通讯", code = "D_D04_4814", value = "716", special = 1});
+            // dic.Add(new SettleData() { ptext = "私立/民营医院/诊所", text = "医疗服务", code = "P_P01_8011", value = "716", special = 1});
+            // dic.Add(new SettleData() { ptext = "保健器械/医疗器械/非处方药品", text = "医疗器械", code = "B_B04_5047", value = "716", special = 1});
+            // dic.Add(new SettleData() { ptext = "保健器械/医疗器械/非处方药品", text = "药品、药品经营者(批发商)", code = "B_B04_5122", value = "716", special = 1});
+            // dic.Add(new SettleData() { ptext = "游艺厅/KTV/网吧", text = "游艺厅/KTV", code = "D_D01_7999", value = "716", special = 1});
+            // dic.Add(new SettleData() { ptext = "游艺厅/KTV/网吧", text = "网吧", code = "D_D01_7999", value = "716", special = 1});
+            // dic.Add(new SettleData() { ptext = "宠物医院", text = "宠物及宠物用品", code = "C_C10_5995", value = "716", special = 1});
+            // dic.Add(new SettleData() { ptext = "旅行社", text = "旅行社和旅游服务", code = "A_A04_4722", value = "716", special = 1});
+            // dic.Add(new SettleData() { ptext = "宗教组织", text = "宗教物品", code = "C_C10_5973", value = "716", special = 0});
+            // dic.Add(new SettleData() { ptext = "宗教组织", text = "其他宗教服务", code = "P_P04_8999", value = "716", special = 1});
+            // dic.Add(new SettleData() { ptext = "文物经营/文物复制品销售", text = "文物经营/文物复制品销售", code = "C_C10_5971", value = "716", special = 1});
+            // dic.Add(new SettleData() { ptext = "拍卖典当", text = "典当行", code = "S_S04_5933", value = "716", special = 1});
+            // dic.Add(new SettleData() { ptext = "零售批发/生活娱乐/网上商城/其他", text = "公共交通", code = "A_A01_4121", value = "716", special = 0});
+            // dic.Add(new SettleData() { ptext = "零售批发/生活娱乐/网上商城/其他", text = "旅行住宿", code = "A_A04_7011", value = "716", special = 0});
+            // dic.Add(new SettleData() { ptext = "零售批发/生活娱乐/网上商城/其他", text = "公共仓储、集装整理", code = "A_A02_4225", value = "716", special = 0});
+            // dic.Add(new SettleData() { ptext = "零售批发/生活娱乐/网上商城/其他", text = "商业服务", code = "S_S05_7338", value = "716", special = 0});
+            // dic.Add(new SettleData() { ptext = "零售批发/生活娱乐/网上商城/其他", text = "汽车租赁和服务", code = "S_S10_7512", value = "716", special = 0});
+            // dic.Add(new SettleData() { ptext = "零售批发/生活娱乐/网上商城/其他", text = "生活服务", code = "S_S08_7295", value = "716", special = 0});
+            // dic.Add(new SettleData() { ptext = "零售批发/生活娱乐/网上商城/其他", text = "百货商城", code = "C_C04_5411", value = "716", special = 0});
+            // dic.Add(new SettleData() { ptext = "零售批发/生活娱乐/网上商城/其他", text = "服饰鞋包", code = "C_C06_5699", value = "716", special = 0});
+            // dic.Add(new SettleData() { ptext = "零售批发/生活娱乐/网上商城/其他", text = "家居家纺建材", code = "C_C03_5211", value = "716", special = 0});
+            // dic.Add(new SettleData() { ptext = "零售批发/生活娱乐/网上商城/其他", text = "母婴玩具", code = "C_C02_5641", value = "716", special = 0});
+            // dic.Add(new SettleData() { ptext = "零售批发/生活娱乐/网上商城/其他", text = "数码家电", code = "C_C07_5732", value = "716", special = 0});
+            // dic.Add(new SettleData() { ptext = "零售批发/生活娱乐/网上商城/其他", text = "图书音像", code = "C_C09_5942", value = "716", special = 0});
+            // dic.Add(new SettleData() { ptext = "零售批发/生活娱乐/网上商城/其他", text = "文化玩乐宠物", code = "C_C10_5995", value = "716", special = 0});
+            // dic.Add(new SettleData() { ptext = "零售批发/生活娱乐/网上商城/其他", text = "彩票", code = "D_D03_7995", value = "716", special = 0});
+            // dic.Add(new SettleData() { ptext = "零售批发/生活娱乐/网上商城/其他", text = "娱乐票务", code = "D_D01_7999", value = "716", special = 0});
+            // dic.Add(new SettleData() { ptext = "零售批发/生活娱乐/网上商城/其他", text = "法律咨询和律师事务所", code = "P_P04_8111", value = "716", special = 1});
+            // dic.Add(new SettleData() { ptext = "零售批发/生活娱乐/网上商城/其他", text = "办公用品", code = "B_B01_5943", value = "716", special = 0});
+            // dic.Add(new SettleData() { ptext = "零售批发/生活娱乐/网上商城/其他", text = "工业产品", code = "B_B02_5065", value = "716", special = 0});
+            // dic.Add(new SettleData() { ptext = "零售批发/生活娱乐/网上商城/其他", text = "汽车和运输工具", code = "B_B03_5599", value = "716", special = 0});
+            // dic.Add(new SettleData() { ptext = "零售批发/生活娱乐/网上商城/其他", text = "专业咨询", code = "P_P04_8999", value = "716", special = 0});
+            // dic.Add(new SettleData() { ptext = "话费通讯", text = "话费充值与缴费", code = "D_D04_4815", value = "728", special = 1});
+            // dic.Add(new SettleData() { ptext = "婚介平台/就业信息平台/其他", text = "婚介服务", code = "S_S08_7273", value = "728", special = 0});
+            // dic.Add(new SettleData() { ptext = "门户论坛/网络广告及推广/软件开发/其他互联网服务", text = "计算机服务/其他", code = "D_D05_7372", value = "711", special = 0});
+            // dic.Add(new SettleData() { ptext = "快递", text = "快递服务", code = "A_A02_4215", value = "717", special = 1});
+            // dic.Add(new SettleData() { ptext = "加油", text = "加油站、服务站", code = "B_B03_5541", value = "717", special = 1});
+            // dic.Add(new SettleData() { ptext = "公共事业(水电煤气)", text = "公共事业(电、气、水)", code = "S_S06_4900", value = "730", special = 1});
+            // dic.Add(new SettleData() { ptext = "公共事业(水电煤气)", text = "公共事业-电力缴费", code = "S_S06_4901", value = "730", special = 1});
+            // dic.Add(new SettleData() { ptext = "公共事业(水电煤气)", text = "公共事业-煤气缴费", code = "S_S06_4902", value = "730", special = 1});
+            // dic.Add(new SettleData() { ptext = "公共事业(水电煤气)", text = "公共事业-自来水缴费", code = "S_S06_4903", value = "730", special = 1});
+            return dic;
+        }
+        public List<Dictionary<string, object>> GetBusinessSettles()
+        {
+            List<SettleData> dic = GetBusinessSettleItems();
+
+            int i = 0;
+            List<Dictionary<string, object>> list = new List<Dictionary<string, object>>();
+            foreach (string sub in dic.Select(m => m.ptext).Distinct().ToList())
+            {
+                i += 1;
+                Dictionary<string, object> bigDic = new Dictionary<string, object>();
+                bigDic.Add("value", i.ToString());
+                bigDic.Add("text", sub);
+                List<Dictionary<string, object>> children = new List<Dictionary<string, object>>();
+                foreach (SettleData ssub in dic.Where(m => m.ptext == sub).ToList())
+                {
+                    Dictionary<string, object> smallDic = new Dictionary<string, object>();
+                    smallDic.Add("value", ssub.value + "_" + ssub.code);
+                    smallDic.Add("text", ssub.text);
+                    smallDic.Add("special", ssub.special);
+                    children.Add(smallDic);
+                }
+                bigDic.Add("children", children);
+                list.Add(bigDic);
+            }
+
+            return list;
+        }
+        public Dictionary<string, string> GetAccountTypes()
+        {
+            Dictionary<string, string> dic = new Dictionary<string, string>();
+            dic.Add("BANK_ACCOUNT_TYPE_CORPORATE", "对公银行账户");
+            dic.Add("BANK_ACCOUNT_TYPE_PERSONAL", "经营者个人银行卡");
+            return dic;
+        }
+        public Dictionary<string, string> GetBanks()
+        {
+            Dictionary<string, string> dic = new Dictionary<string, string>();
+            dic.Add("工商银行", "工商银行");
+            dic.Add("农业银行", "农业银行");
+            dic.Add("邮储银行", "邮储银行");
+            dic.Add("建设银行", "建设银行");
+            dic.Add("招商银行", "招商银行");
+            dic.Add("中国银行", "中国银行");
+            dic.Add("交通银行", "交通银行");
+            dic.Add("浦发银行", "浦发银行");
+            dic.Add("广发银行", "广发银行");
+            dic.Add("民生银行", "民生银行");
+            dic.Add("平安银行", "平安银行");
+            dic.Add("光大银行", "光大银行");
+            dic.Add("兴业银行", "兴业银行");
+            dic.Add("中信银行", "中信银行");
+            dic.Add("上海银行", "上海银行");
+            dic.Add("其他银行", "其他银行");
+            return dic;
+        }
+        #endregion
+
+
+
+
+
+
+
+        #region 检查签名是否合法,合法返回1,不合法返回提示信息
+
+        /// <summary>
+        /// 检查签名是否合法,合法返回1,不合法返回提示信息
+        /// </summary>
+        /// <param name="value">请求的参数(json字符串)</param>
+        /// <param name="signField">要签名的字段</param>
+        /// <returns></returns>
+        private string CheckSign(string value, string[] signField)
+        {
+            JsonData json = JsonMapper.ToObject(value);
+            Dictionary<string, string> dic = new Dictionary<string, string>();
+            for (int i = 0; i < signField.Length; i++)
+            {
+                dic.Add(signField[i], json[signField[i]].ToString());
+            }
+            string sign = json["sign"].ToString(); //客户端签名字符串
+            return new Sign().sign(dic, sign);
+        }
+
+        #endregion
+
+    }
+}

BIN
DLL/MySystemLib.dll


+ 49 - 0
Models/Main/ActiveReward.cs

@@ -0,0 +1,49 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.Models.Main
+{
+    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
Models/Main/ActivityEnrolRecord.cs

@@ -0,0 +1,26 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.Models.Main
+{
+    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
Models/Main/ActivityInfo.cs

@@ -0,0 +1,37 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.Models.Main
+{
+    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
Models/Main/ActivityPrizeDetail.cs

@@ -0,0 +1,32 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.Models.Main
+{
+    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; }
+    }
+}

+ 24 - 0
Models/Main/ActivityRedPackageJoins.cs

@@ -0,0 +1,24 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.Models.Main
+{
+    public partial class ActivityRedPackageJoins
+    {
+        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 PrizeAmt { get; set; }
+        public string ActivityDate { get; set; }
+        public int UserId { get; set; }
+    }
+}

+ 24 - 0
Models/Main/ActivityRedPackageStock.cs

@@ -0,0 +1,24 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.Models.Main
+{
+    public partial class ActivityRedPackageStock
+    {
+        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 ActivityDate { get; set; }
+        public decimal PrizeAmt { get; set; }
+        public int UserId { get; set; }
+    }
+}

+ 25 - 0
Models/Main/ActivityRedPackageTop10.cs

@@ -0,0 +1,25 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.Models.Main
+{
+    public partial class ActivityRedPackageTop10
+    {
+        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 Kind { get; set; }
+        public int TimeNum { get; set; }
+        public decimal PrizeAmt { get; set; }
+        public int UserId { get; set; }
+    }
+}

+ 26 - 0
Models/Main/Advertisment.cs

@@ -0,0 +1,26 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.Models.Main
+{
+    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
Models/Main/AgentLevelSet.cs

@@ -0,0 +1,25 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.Models.Main
+{
+    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; }
+    }
+}

+ 32 - 0
Models/Main/AppBottomNavs.cs

@@ -0,0 +1,32 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.Models.Main
+{
+    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; }
+        public string PagPath { get; set; }
+        public string ScrollerAnimationImages { get; set; }
+        public string Style { get; set; }
+    }
+}

+ 28 - 0
Models/Main/AppVersion.cs

@@ -0,0 +1,28 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.Models.Main
+{
+    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
Models/Main/AppVideo.cs

@@ -0,0 +1,24 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.Models.Main
+{
+    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
Models/Main/AppVideoList.cs

@@ -0,0 +1,26 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.Models.Main
+{
+    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; }
+    }
+}

+ 28 - 0
Models/Main/BackEndOpRecord.cs

@@ -0,0 +1,28 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.Models.Main
+{
+    public partial class BackEndOpRecord
+    {
+        public int Id { get; set; }
+        public int Sort { get; set; }
+        public int QueryCount { get; set; }
+        public int Status { get; set; }
+        public DateTime? CreateDate { get; set; }
+        public DateTime? UpdateDate { get; set; }
+        public string SeoTitle { get; set; }
+        public string SeoKeyword { get; set; }
+        public string SeoDescription { get; set; }
+        public string Remark { get; set; }
+        public string AfterData { get; set; }
+        public string BeforeData { get; set; }
+        public string TableEnName { get; set; }
+        public string TableChName { get; set; }
+        public string SysRealName { get; set; }
+        public string SysUserName { get; set; }
+        public string CreateMan { get; set; }
+        public string UpdateMan { get; set; }
+        public int Version { get; set; }
+    }
+}

+ 26 - 0
Models/Main/BankInfo.cs

@@ -0,0 +1,26 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.Models.Main
+{
+    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; }
+    }
+}

+ 47 - 0
Models/Main/BrokenMachineChange.cs

@@ -0,0 +1,47 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.Models.Main
+{
+    public partial class BrokenMachineChange
+    {
+        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
Models/Main/BrokenMachineChangeDetail.cs

@@ -0,0 +1,34 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.Models.Main
+{
+    public partial class BrokenMachineChangeDetail
+    {
+        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; }
+    }
+}

+ 28 - 0
Models/Main/BusinessActSummary.cs

@@ -0,0 +1,28 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.Models.Main
+{
+    public partial class BusinessActSummary
+    {
+        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 UserId { get; set; }
+        public string TradeDate { get; set; }
+        public string Remark { get; set; }
+        public int ActCount { get; set; }
+        public int BrandId { get; set; }
+        public string TradeMonth { get; set; }
+        public int PartnerId { get; set; }
+    }
+}

+ 26 - 0
Models/Main/BusinessPartner.cs

@@ -0,0 +1,26 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.Models.Main
+{
+    public partial class BusinessPartner
+    {
+        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 UserId { get; set; }
+        public decimal ThisMonthTrade { get; set; }
+        public string LoginPassword { get; set; }
+        public string Name { get; set; }
+        public string Mobile { get; set; }
+    }
+}

+ 25 - 0
Models/Main/BusinessPartnerMerchant.cs

@@ -0,0 +1,25 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.Models.Main
+{
+    public partial class BusinessPartnerMerchant
+    {
+        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 MerNo { get; set; }
+        public int MerchantId { get; set; }
+        public int PartnerId { get; set; }
+        public int UserId { get; set; }
+    }
+}

+ 25 - 0
Models/Main/BusinessPartnerPos.cs

@@ -0,0 +1,25 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.Models.Main
+{
+    public partial class BusinessPartnerPos
+    {
+        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 PosSn { get; set; }
+        public int PosId { get; set; }
+        public int PartnerId { get; set; }
+        public int UserId { get; set; }
+    }
+}

+ 67 - 0
Models/Main/BusinessTradeSummary.cs

@@ -0,0 +1,67 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.Models.Main
+{
+    public partial class BusinessTradeSummary
+    {
+        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 UserId { get; set; }
+        public int PayType { get; set; }
+        public int VipFlag { get; set; }
+        public int TopUserId { get; set; }
+        public decimal HelpNonDirectNonQrDebitTradeAmt { get; set; }
+        public decimal HelpDirectNonQrDebitTradeAmt { get; set; }
+        public decimal HelpNonDirectQrDebitTradeAmt { get; set; }
+        public decimal HelpDirectQrDebitTradeAmt { get; set; }
+        public decimal HelpNonDirectDebitCapNum { get; set; }
+        public decimal HelpNonDirectDebitCapTradeAmt { get; set; }
+        public decimal HelpNonDirectDebitTradeAmt { get; set; }
+        public decimal HelpDirectDebitCapNum { get; set; }
+        public decimal HelpDirectDebitCapTradeAmt { get; set; }
+        public decimal HelpDirectDebitTradeAmt { get; set; }
+        public decimal HelpNonDirectNonQrCreditTradeAmt { get; set; }
+        public decimal HelpDirectNonQrCreditTradeAmt { get; set; }
+        public decimal HelpNonDirectQrCreditTradeAmt { get; set; }
+        public decimal HelpDirectQrCreditTradeAmt { get; set; }
+        public decimal HelpNonDirectCreditTradeAmt { get; set; }
+        public decimal HelpDirectCreditTradeAmt { get; set; }
+        public decimal HelpNonDirectTradeAmt { get; set; }
+        public decimal HelpDirectTradeAmt { get; set; }
+        public decimal NotHelpNonDirectNonQrDebitTradeAmt { get; set; }
+        public decimal NotHelpDirectNonQrDebitTradeAmt { get; set; }
+        public decimal NotHelpNonDirectQrDebitTradeAmt { get; set; }
+        public decimal NotHelpDirectQrDebitTradeAmt { get; set; }
+        public int NotHelpNonDirectDebitCapNum { get; set; }
+        public decimal NotHelpNonDirectDebitCapTradeAmt { get; set; }
+        public decimal NotHelpNonDirectDebitTradeAmt { get; set; }
+        public int NotHelpDirectDebitCapNum { get; set; }
+        public decimal NotHelpDirectDebitCapTradeAmt { get; set; }
+        public decimal NotHelpDirectDebitTradeAmt { get; set; }
+        public decimal NotHelpNonDirectNonQrCreditTradeAmt { get; set; }
+        public decimal NotHelpDirectNonQrCreditTradeAmt { get; set; }
+        public decimal NotHelpNonDirectQrCreditTradeAmt { get; set; }
+        public decimal NotHelpDirectQrCreditTradeAmt { get; set; }
+        public decimal NotHelpNonDirectCreditTradeAmt { get; set; }
+        public decimal NotHelpDirectCreditTradeAmt { get; set; }
+        public decimal NotHelpNonDirectTradeAmt { get; set; }
+        public decimal NotHelpDirectTradeAmt { get; set; }
+        public string MgrName { get; set; }
+        public string MgrNo { get; set; }
+        public int BrandId { get; set; }
+        public string TradeMonth { get; set; }
+        public string TradeDate { get; set; }
+        public int PartnerId { get; set; }
+    }
+}

+ 37 - 0
Models/Main/Col.cs

@@ -0,0 +1,37 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.Models.Main
+{
+    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
Models/Main/ConsumerOpenIds.cs

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

+ 11 - 0
Models/Main/ConsumerOrderForNo.cs

@@ -0,0 +1,11 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.Models.Main
+{
+    public partial class ConsumerOrderForNo
+    {
+        public string OrderNo { get; set; }
+        public int OrderIds { get; set; }
+    }
+}

+ 33 - 0
Models/Main/ConsumerOrders.cs

@@ -0,0 +1,33 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.Models.Main
+{
+    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; }
+        public ulong IsAct { get; set; }
+        public int UserId { get; set; }
+        public decimal MerchantActualAmount { get; set; }
+    }
+}

+ 25 - 0
Models/Main/ConsumerProfit.cs

@@ -0,0 +1,25 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.Models.Main
+{
+    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
Models/Main/Consumers.cs

@@ -0,0 +1,36 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.Models.Main
+{
+    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
Models/Main/CouponAssignRecords.cs

@@ -0,0 +1,33 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.Models.Main
+{
+    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
Models/Main/Coupons.cs

@@ -0,0 +1,48 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.Models.Main
+{
+    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
Models/Main/CouponsForUser.cs

@@ -0,0 +1,26 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.Models.Main
+{
+    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
Models/Main/CustomTagSet.cs

@@ -0,0 +1,24 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.Models.Main
+{
+    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
Models/Main/ErpCompanys.cs

@@ -0,0 +1,24 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.Models.Main
+{
+    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
Models/Main/FileUpdateInfo.cs

@@ -0,0 +1,24 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.Models.Main
+{
+    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
Models/Main/FluxProfitDetail.cs

@@ -0,0 +1,43 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.Models.Main
+{
+    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
Models/Main/FluxProfitSummary.cs

@@ -0,0 +1,30 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.Models.Main
+{
+    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; }
+    }
+}

+ 33 - 0
Models/Main/HelpProfitAccountRecord.cs

@@ -0,0 +1,33 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.Models.Main
+{
+    public partial class HelpProfitAccountRecord
+    {
+        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 TransRecordNo { get; set; }
+        public string Remark { get; set; }
+        public decimal AfterBalanceAmount { get; set; }
+        public decimal BeforeBalanceAmount { get; set; }
+        public decimal AfterFreezeAmount { get; set; }
+        public decimal BeforeFreezeAmount { get; set; }
+        public decimal AfterTotalAmount { get; set; }
+        public decimal BeforeTotalAmount { get; set; }
+        public decimal ChangeAmount { get; set; }
+        public int ProductType { get; set; }
+        public int ChangeType { get; set; }
+        public int UserId { get; set; }
+    }
+}

+ 23 - 0
Models/Main/HelpProfitAmountSummary.cs

@@ -0,0 +1,23 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.Models.Main
+{
+    public partial class HelpProfitAmountSummary
+    {
+        public int Id { get; set; }
+        public int Sort { get; set; }
+        public int QueryCount { get; set; }
+        public int Status { get; set; }
+        public DateTime? CreateDate { get; set; }
+        public DateTime? UpdateDate { get; set; }
+        public string SeoTitle { get; set; }
+        public string SeoKeyword { get; set; }
+        public string SeoDescription { get; set; }
+        public decimal TradeAmount { get; set; }
+        public decimal MaxAmount { get; set; }
+        public int MerCount { get; set; }
+        public string TradeMonth { get; set; }
+        public int UserId { get; set; }
+    }
+}

+ 23 - 0
Models/Main/HelpProfitExchange.cs

@@ -0,0 +1,23 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.Models.Main
+{
+    public partial class HelpProfitExchange
+    {
+        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 ExchangeCount { get; set; }
+        public int UserId { get; set; }
+    }
+}

+ 25 - 0
Models/Main/HelpProfitExchangeDetail.cs

@@ -0,0 +1,25 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.Models.Main
+{
+    public partial class HelpProfitExchangeDetail
+    {
+        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 RecordId { get; set; }
+        public string ExchangeCode { get; set; }
+        public int PosCouponId { get; set; }
+        public int UserId { get; set; }
+    }
+}

+ 11 - 0
Models/Main/HelpProfitMerIds.cs

@@ -0,0 +1,11 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.Models.Main
+{
+    public partial class HelpProfitMerIds
+    {
+        public int MerchantId { get; set; }
+        public int UserId { get; set; }
+    }
+}

+ 22 - 0
Models/Main/HelpProfitMerTradeMonthSummay.cs

@@ -0,0 +1,22 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.Models.Main
+{
+    public partial class HelpProfitMerTradeMonthSummay
+    {
+        public int Id { get; set; }
+        public int Sort { get; set; }
+        public int QueryCount { get; set; }
+        public int Status { get; set; }
+        public DateTime? CreateDate { get; set; }
+        public DateTime? UpdateDate { get; set; }
+        public string SeoTitle { get; set; }
+        public string SeoKeyword { get; set; }
+        public string SeoDescription { get; set; }
+        public int BrandId { get; set; }
+        public decimal TradeAmount { get; set; }
+        public string TradeMonth { get; set; }
+        public int MerchantId { get; set; }
+    }
+}

+ 26 - 0
Models/Main/HelpProfitMerTradeSummay.cs

@@ -0,0 +1,26 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.Models.Main
+{
+    public partial class HelpProfitMerTradeSummay
+    {
+        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 decimal TradeAmount { get; set; }
+        public string TradeDate { get; set; }
+        public string TradeMonth { get; set; }
+        public int MerchantId { get; set; }
+    }
+}

+ 24 - 0
Models/Main/HelpProfitMerchantForUser.cs

@@ -0,0 +1,24 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.Models.Main
+{
+    public partial class HelpProfitMerchantForUser
+    {
+        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 MerNo { get; set; }
+        public int MerchantId { get; set; }
+        public int UserId { get; set; }
+    }
+}

+ 29 - 0
Models/Main/HelpProfitRebateDetail.cs

@@ -0,0 +1,29 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.Models.Main
+{
+    public partial class HelpProfitRebateDetail
+    {
+        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 decimal DebitRewardAmount { get; set; }
+        public decimal CreditRewardAmount { get; set; }
+        public int MerchantId { get; set; }
+        public int ProductType { get; set; }
+        public int UserId { get; set; }
+        public string TradeDate { get; set; }
+        public string TradeMonth { get; set; }
+    }
+}

+ 36 - 0
Models/Main/HelpProfitReward.cs

@@ -0,0 +1,36 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.Models.Main
+{
+    public partial class HelpProfitReward
+    {
+        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
Models/Main/HelpProfitRewardDetail.cs

@@ -0,0 +1,47 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.Models.Main
+{
+    public partial class HelpProfitRewardDetail
+    {
+        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; }
+    }
+}

+ 24 - 0
Models/Main/IndexIconList.cs

@@ -0,0 +1,24 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.Models.Main
+{
+    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
Models/Main/KqProductBrand.cs

@@ -0,0 +1,23 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.Models.Main
+{
+    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
Models/Main/KqProductOrgs.cs

@@ -0,0 +1,23 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.Models.Main
+{
+    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
Models/Main/KqProductRuleSet.cs

@@ -0,0 +1,68 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.Models.Main
+{
+    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
Models/Main/KqProducts.cs

@@ -0,0 +1,22 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.Models.Main
+{
+    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; }
+    }
+}

+ 33 - 0
Models/Main/LeaderAccountRecord.cs

@@ -0,0 +1,33 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.Models.Main
+{
+    public partial class LeaderAccountRecord
+    {
+        public int Id { get; set; }
+        public int Sort { get; set; }
+        public int QueryCount { get; set; }
+        public int Status { get; set; }
+        public DateTime? CreateDate { get; set; }
+        public DateTime? UpdateDate { get; set; }
+        public string SeoTitle { get; set; }
+        public string SeoKeyword { get; set; }
+        public string SeoDescription { get; set; }
+        public string TransRecordNo { get; set; }
+        public string Remark { get; set; }
+        public decimal AfterBalanceAmount { get; set; }
+        public decimal BeforeBalanceAmount { get; set; }
+        public decimal AfterFreezeAmount { get; set; }
+        public decimal BeforeFreezeAmount { get; set; }
+        public decimal AfterTotalAmount { get; set; }
+        public decimal BeforeTotalAmount { get; set; }
+        public decimal ChangeAmount { get; set; }
+        public int ProductType { get; set; }
+        public int ChangeType { get; set; }
+        public int UserId { get; set; }
+        public string CreateMan { get; set; }
+        public string UpdateMan { get; set; }
+        public int Version { get; set; }
+    }
+}

+ 28 - 0
Models/Main/LeaderReserveRecord.cs

@@ -0,0 +1,28 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.Models.Main
+{
+    public partial class LeaderReserveRecord
+    {
+        public int Id { get; set; }
+        public int Sort { get; set; }
+        public int QueryCount { get; set; }
+        public int Status { get; set; }
+        public DateTime? CreateDate { get; set; }
+        public DateTime? UpdateDate { get; set; }
+        public string SeoTitle { get; set; }
+        public string SeoKeyword { get; set; }
+        public string SeoDescription { get; set; }
+        public int ChangeType { get; set; }
+        public int OrderId { get; set; }
+        public int SourceUserId { get; set; }
+        public string Remark { get; set; }
+        public decimal AfterAmt { get; set; }
+        public decimal BeforeAmt { get; set; }
+        public decimal ChangeAmt { get; set; }
+        public string TradeDate { get; set; }
+        public string TradeMonth { get; set; }
+        public int UserId { get; set; }
+    }
+}

+ 20 - 0
Models/Main/Leaders.cs

@@ -0,0 +1,20 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.Models.Main
+{
+    public partial class Leaders
+    {
+        public int Id { get; set; }
+        public int Sort { get; set; }
+        public int QueryCount { get; set; }
+        public int Status { get; set; }
+        public DateTime? CreateDate { get; set; }
+        public DateTime? UpdateDate { get; set; }
+        public string SeoTitle { get; set; }
+        public string SeoKeyword { get; set; }
+        public string SeoDescription { get; set; }
+        public int LeaderLevel { get; set; }
+        public int UserId { get; set; }
+    }
+}

+ 60 - 0
Models/Main/MachineApply.cs

@@ -0,0 +1,60 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.Models.Main
+{
+    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; }
+        public int OperateId { get; set; }
+    }
+}

+ 36 - 0
Models/Main/MachineApplyDetail.cs

@@ -0,0 +1,36 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.Models.Main
+{
+    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
Models/Main/MachineChange.cs

@@ -0,0 +1,47 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.Models.Main
+{
+    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
Models/Main/MachineChangeDetail.cs

@@ -0,0 +1,34 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.Models.Main
+{
+    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; }
+    }
+}

+ 11 - 0
Models/Main/MachineForMerNo.cs

@@ -0,0 +1,11 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.Models.Main
+{
+    public partial class MachineForMerNo
+    {
+        public string MerNo { get; set; }
+        public int SnId { get; set; }
+    }
+}

+ 14 - 0
Models/Main/MachineForQrCode.cs

@@ -0,0 +1,14 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.Models.Main
+{
+    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
Models/Main/MachineForSnNo.cs

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

+ 36 - 0
Models/Main/MachineRenew.cs

@@ -0,0 +1,36 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.Models.Main
+{
+    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
Models/Main/MachineReturn.cs

@@ -0,0 +1,31 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.Models.Main
+{
+    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; }
+    }
+}

+ 26 - 0
Models/Main/MachineUnBind.cs

@@ -0,0 +1,26 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.Models.Main
+{
+    public partial class MachineUnBind
+    {
+        public int Id { get; set; }
+        public int Sort { get; set; }
+        public int QueryCount { get; set; }
+        public int Status { get; set; }
+        public DateTime? CreateDate { get; set; }
+        public DateTime? UpdateDate { get; set; }
+        public string SeoTitle { get; set; }
+        public string SeoKeyword { get; set; }
+        public string SeoDescription { get; set; }
+        public int MerchantId { get; set; }
+        public DateTime? AuditDate { get; set; }
+        public string AuditDesc { get; set; }
+        public int AuditStatus { get; set; }
+        public string SnNo { get; set; }
+        public int BrandId { get; set; }
+        public int UserId { get; set; }
+        public string ApplyNo { get; set; }
+    }
+}

+ 11 - 0
Models/Main/MenuRight.cs

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

+ 126 - 0
Models/Main/MerchantAddInfo.cs

@@ -0,0 +1,126 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.Models.Main
+{
+    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; }
+        public string IdCardAddress { get; set; }
+        public string WeChatRemark { get; set; }
+        public string AlipayRemark { get; set; }
+        public string WeChatSignUrl { get; set; }
+        public string AlipaySignUrl { get; set; }
+        public string AlipayAuthToken { get; set; }
+        public string AlipayPid { get; set; }
+        public string Extra1 { get; set; }
+        public string FaceRecognition { get; set; }
+        public string IndustryLicense1 { get; set; }
+        public string TaxImage { get; set; }
+        public string Agreement { get; set; }
+        public string ProductImg { get; set; }
+        public string CheckstandImg { get; set; }
+        public string ShopFrontImg { get; set; }
+        public string Support { get; set; }
+        public string SignaturePicture { get; set; }
+        public string AgentIdCardBack { get; set; }
+        public string AgentIdCardFront { get; set; }
+        public string AgentCardIdPicture { get; set; }
+        public string HoldAgentProtocol { get; set; }
+        public string AgentProtocol { get; set; }
+        public string OperatorMcht { get; set; }
+        public string RentAgreement { get; set; }
+        public string OpenAccountLicenses { get; set; }
+        public string ChannelKind { get; set; }
+    }
+}

+ 31 - 0
Models/Main/MerchantAdmin.cs

@@ -0,0 +1,31 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.Models.Main
+{
+    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; }
+    }
+}

+ 26 - 0
Models/Main/MerchantAmountSummay.cs

@@ -0,0 +1,26 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.Models.Main
+{
+    public partial class MerchantAmountSummay
+    {
+        public int Id { get; set; }
+        public int Sort { get; set; }
+        public int QueryCount { get; set; }
+        public int Status { get; set; }
+        public DateTime? CreateDate { get; set; }
+        public DateTime? UpdateDate { get; set; }
+        public string SeoTitle { get; set; }
+        public string SeoKeyword { get; set; }
+        public string SeoDescription { get; set; }
+        public int PayMode { get; set; }
+        public decimal TotalActual { get; set; }
+        public decimal TradeAmount { get; set; }
+        public string TradeDate { get; set; }
+        public string TradeMonth { get; set; }
+        public int MerchantId { get; set; }
+        public int TradeCount { get; set; }
+        public int IsAct { get; set; }
+    }
+}

+ 35 - 0
Models/Main/MerchantAuth.cs

@@ -0,0 +1,35 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.Models.Main
+{
+    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
Models/Main/MerchantClass.cs

@@ -0,0 +1,24 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.Models.Main
+{
+    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
Models/Main/MerchantCol.cs

@@ -0,0 +1,29 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.Models.Main
+{
+    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
Models/Main/MerchantComment.cs

@@ -0,0 +1,27 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.Models.Main
+{
+    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; }
+    }
+}

+ 23 - 0
Models/Main/MerchantDepositReturns.cs

@@ -0,0 +1,23 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.Models.Main
+{
+    public partial class MerchantDepositReturns
+    {
+        public int Id { get; set; }
+        public int Sort { get; set; }
+        public int QueryCount { get; set; }
+        public int Status { get; set; }
+        public DateTime? CreateDate { get; set; }
+        public DateTime? UpdateDate { get; set; }
+        public string SeoTitle { get; set; }
+        public string SeoKeyword { get; set; }
+        public string SeoDescription { get; set; }
+        public int UserId { get; set; }
+        public string OperateMan { get; set; }
+        public decimal ReturnAmount { get; set; }
+        public string AlipayAccountNo { get; set; }
+        public int MerchantId { get; set; }
+    }
+}

+ 23 - 0
Models/Main/MerchantDepositSet.cs

@@ -0,0 +1,23 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.Models.Main
+{
+    public partial class MerchantDepositSet
+    {
+        public int Id { get; set; }
+        public int Sort { get; set; }
+        public int QueryCount { get; set; }
+        public int Status { get; set; }
+        public DateTime? CreateDate { get; set; }
+        public DateTime? UpdateDate { get; set; }
+        public string SeoTitle { get; set; }
+        public string SeoKeyword { get; set; }
+        public string SeoDescription { get; set; }
+        public string ReturnNote { get; set; }
+        public decimal DepositAmount { get; set; }
+        public string SnNo { get; set; }
+        public string MerNo { get; set; }
+        public int UserId { get; set; }
+    }
+}

+ 26 - 0
Models/Main/MerchantDiviSummay.cs

@@ -0,0 +1,26 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.Models.Main
+{
+    public partial class MerchantDiviSummay
+    {
+        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 DiviAmount { get; set; }
+        public decimal TotalDiviAmount { get; set; }
+        public int MerchantId { get; set; }
+        public string TradeDate { get; set; }
+        public string TradeMonth { get; set; }
+    }
+}

+ 11 - 0
Models/Main/MerchantForCode.cs

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

+ 11 - 0
Models/Main/MerchantForMobile.cs

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

+ 11 - 0
Models/Main/MerchantForName.cs

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

+ 45 - 0
Models/Main/MerchantInfo.cs

@@ -0,0 +1,45 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.Models.Main
+{
+    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; }
+        public DateTime? BindDate { get; set; }
+        public int BindStatus { get; set; }
+        public DateTime? ActivationDate { get; set; }
+        public int ActivationStatus { get; set; }
+        public decimal TotalActActual { get; set; }
+        public decimal TotalActAmount { get; set; }
+        public int ActStat { get; set; }
+    }
+}

+ 27 - 0
Models/Main/MerchantParamSet.cs

@@ -0,0 +1,27 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.Models.Main
+{
+    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
Models/Main/MerchantQrCode.cs

@@ -0,0 +1,25 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.Models.Main
+{
+    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
Models/Main/MerchantRebateDetail.cs

@@ -0,0 +1,39 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.Models.Main
+{
+    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
Models/Main/Merchants.cs

@@ -0,0 +1,41 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.Models.Main
+{
+    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
Models/Main/MobileCodeCheck.cs

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

+ 40 - 0
Models/Main/MsgAlert.cs

@@ -0,0 +1,40 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.Models.Main
+{
+    public partial class MsgAlert
+    {
+        public int Id { get; set; }
+        public int Sort { get; set; }
+        public int QueryCount { get; set; }
+        public int Status { get; set; }
+        public DateTime? CreateDate { get; set; }
+        public DateTime? UpdateDate { get; set; }
+        public string SeoTitle { get; set; }
+        public string SeoKeyword { get; set; }
+        public string SeoDescription { get; set; }
+        public ulong IsWeekend { get; set; }
+        public ulong AlertFlag { get; set; }
+        public int TimeByDay { get; set; }
+        public string BtnText { get; set; }
+        public string Url { get; set; }
+        public string UrlParam { 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 ulong IsTop { get; set; }
+        public string Content { get; set; }
+        public string Summary { get; set; }
+        public string Title { get; set; }
+        public int MsgType { get; set; }
+        public string CreateMan { get; set; }
+        public string UpdateMan { get; set; }
+        public int Version { get; set; }
+    }
+}

+ 28 - 0
Models/Main/MsgBlackList.cs

@@ -0,0 +1,28 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.Models.Main
+{
+    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
Models/Main/MsgPersonal.cs

@@ -0,0 +1,34 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.Models.Main
+{
+    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
Models/Main/MsgPlacard.cs

@@ -0,0 +1,37 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.Models.Main
+{
+    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
Models/Main/MsgPlacardRead.cs

@@ -0,0 +1,25 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.Models.Main
+{
+    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
Models/Main/MsgPush.cs

@@ -0,0 +1,31 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.Models.Main
+{
+    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
Models/Main/MsgSms.cs

@@ -0,0 +1,38 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.Models.Main
+{
+    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
Models/Main/MsgSmsSet.cs

@@ -0,0 +1,27 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.Models.Main
+{
+    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
Models/Main/MsgTemplate.cs

@@ -0,0 +1,29 @@
+using System;
+using System.Collections.Generic;
+
+namespace MySystem.Models.Main
+{
+    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
Models/Main/OpenBankCityTable.cs

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

+ 11 - 0
Models/Main/OpenBankTable.cs

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

Some files were not shown because too many files changed in this diff