diff --git a/SlnMesnac.Config/SqlConfig.cs b/SlnMesnac.Config/SqlConfig.cs
index cc3de31..b1207d2 100644
--- a/SlnMesnac.Config/SqlConfig.cs
+++ b/SlnMesnac.Config/SqlConfig.cs
@@ -34,7 +34,7 @@ namespace SlnMesnac.Config
public string configId { get; set; }
///
- /// 数据库类型,MySql-0;SqlServer-1;Sqlite-2;Oracle-3
+ /// 数据库类型,MySql-0;SqlServer-1;Sqlite-2;Oracle-3,4
///
public int dbType { get; set; }
diff --git a/SlnMesnac.Model/domain/BaseCode.cs b/SlnMesnac.Model/domain/BaseCode.cs
index ffe886a..f7b6c64 100644
--- a/SlnMesnac.Model/domain/BaseCode.cs
+++ b/SlnMesnac.Model/domain/BaseCode.cs
@@ -1,7 +1,37 @@
-namespace SlnMesnac.Model.domain
+using System.Runtime.Serialization;
+using SqlSugar;
+
+namespace SlnMesnac.Model.domain
{
+ ///
+ /// 异常监控编码对应表
+ ///
+ [SugarTable("BaseCode"), TenantAttribute("mes")]
+ [DataContract(Name = "BaseCode 基础表")]
public class BaseCode
{
+ ///
+ ///
+ ///
+ [SugarColumn(ColumnName = "id", IsPrimaryKey = true, IsIdentity = true)]
+ public int Id { get; set; }
+ ///
+ ///
+ ///
+ [SugarColumn(ColumnName = "code")]
+ public string Code { get; set; }
+ ///
+ ///
+ ///
+ [SugarColumn(ColumnName = "state")]
+ public string State { get; set; }
+
+
+ ///
+ /// 1 RFid 2 视觉
+ ///
+ [SugarColumn(ColumnName = "category")]
+ public int Category { get; set; }
}
}
\ No newline at end of file
diff --git a/SlnMesnac.Model/domain/Page.cs b/SlnMesnac.Model/domain/Page.cs
index cdbf8ee..deab148 100644
--- a/SlnMesnac.Model/domain/Page.cs
+++ b/SlnMesnac.Model/domain/Page.cs
@@ -1,7 +1,24 @@
-namespace SlnMesnac.Model.domain
+using System.Collections.Generic;
+
+namespace SlnMesnac.Model.domain
{
public class Page
{
+ public int PageIndex { get; set; }
+ public int PageSize { get; set; }
+ public int TotalCount { get; set; }
+ public int TotalPage { get; set; }
+ public List